Questions tagged [postscript]

{postscript} concerns the PostScript page description language that forms the base for PS, EPS and PDF formats common to (La)TeX

Filter by
Sorted by
Tagged with
3
votes
0answers
52 views

ghostscript gives undefined in --execute— when using color.tex with pstricks on plain tex

Assume the following plain TeX file: \input pstricks \input color \pscircle{1.5} \bye Compiling using eTeX works fine, dvips too. However the resulting PS file can't be processed using gs, I'll post ...
0
votes
1answer
71 views

Getting started drawing basic 3D objects with TikZ [closed]

Is it possible to draw this with TikZ (or perhaps a similar package related to postscript, metapost, SVG, etc.)? Sorry, I don't have much to offer this time. I usually like to provide a bunch of code ...
6
votes
2answers
201 views

Are Knuth's fonts searchable in pdf yet?

Donald Knuth at the Desktop Publishing Pioneers meeting laments that converting to pdf using his fonts yields pdf files without searchable text. Is this fixed yet? https://youtu.be/WVRMPihnZZM?t=4363
1
vote
0answers
64 views

Is there a Windows 64-bit alternative to Wolfgang Schulter's WMF2EPS utility? [closed]

For many years I used Wolfgang Schulter's WMF2EPS Postscript driver to programmatically convert WMF/EMF (Windows/Enhanced Metafiles) to EPS (Encapsulated Postscript). My suite of programs and scripts ...
1
vote
0answers
41 views

How to set the title of the generated Postscript® file from within the source LaTeX file?

Every once in a while I have to compile source .tex files into .ps files. (The reasons may differ: e.g., due to certain amount of pstricks-heavy legacy code, or issues of some old-printer–CUPS-filters ...
1
vote
0answers
32 views

how to convert metafont created fonts to PS 1 fonts

I have a font (for the script of my language) which was created using metafont. But as is the usual problem with 8-bit fonts it does not scale well. So I have had to create multiple tfm files for ...
6
votes
2answers
203 views

tikzpicture won't render 'usable' PS code

I use tikz (and tikzpicture) a fair bit, but files that used to compile fine before the latest slew of updates to pgf, and pstricks, no longer seem to do so (at least, on my MikTeX installation). The ...
4
votes
1answer
43 views

How can I intercept postscript instructions in a file loaded with includegraphics?

The psfrag package has the capability to intercept certain instructions in eps files, and replace them with new instructions. In this way, it is possible to replace fonts in an image with the fonts ...
2
votes
0answers
353 views

Montserrat font/package, “invalidfont” error when printing

I'm using the montserrat package to use the Montserrat font and I'm having troubles printing the resulting PDF. This is a trivial minimal example: \documentclass{article} \usepackage[utf8]{inputenc}...
6
votes
1answer
111 views

TeXcolorrgb vs. setrgbcolor

I wonder if there is a tiny difference of the produced color within the resulting pdf. Within this given example - two colored lines differently setup. One line is setup with LaTeX, the other line ...
1
vote
0answers
118 views

Notes between two columns with multicol

I have been working to get notes (possibly margin notes, but doesn't have to be) in between two columns of text. This question has proved useful, however it works with the twocolumn option for the ...
1
vote
0answers
102 views

Is converting a PDF file to Post Script a lossless operation? [closed]

I will use pstops to do some rearranging of a PDF-file, but first I need to convert it to Post Script. Is that a lossless operation? That is, are the curves in a Post Script file described using the ...
3
votes
2answers
454 views

Calculating data inside pst-plot/postscript and conditionally coloring the plot

I am getting lots of simulated data in tables with 13 columns, from where I want to plot the following: The x axis should be column number 12 (E), which is fine with plotNoX=12. The y axis should be ...
4
votes
1answer
354 views

Is it possible to use ALT 227 (π) as a PostScript constant?

Is it possible to use π as a PS constant in my attempt below? \documentclass[pstricks]{standalone} \usepackage{pst-plot} \begin{document} \pspicture(\psPiTwo,4) \pstVerb{/2π {2 Pi mul} def} \psplot{0}...
3
votes
0answers
106 views

Boundary of a path as a new path?

Is it possible to use the boundary of a shape defined as some path as a new path? In the following example \documentclass{article} \usepackage{tikz} \begin{document} \begin{tikzpicture}[scale=3] \...
1
vote
0answers
62 views

PostScript Driver for DVI Files has stopped working

How do i enable the PostScript Driver for DVI Files to work properly.I am not able to insert pictures in my latex document in PCTEX. How can i fix this problem?
1
vote
1answer
130 views

Using a PS-specific package with XeTeX

I've a package I'd much like to use, MayaPS (for typesetting Mayan glyphs, with many features that make glyph composition easy), but the package comes only as a PostScript thing, and the authors have ...
3
votes
1answer
40 views

How does PSTricks determine the final path direction of composite objects made by \reversepath?

Let me divide the discussion into 2 cases: Using \CW \documentclass[border=12pt]{standalone} \usepackage{pstricks} \def\CW{\psline(2,2)(3,4)(4,1)(4,-3)} \begin{document} \begin{pspicture}[...
6
votes
2answers
201 views

How do PostScript interpreters know the meanings of PGF-specific operators, such as 'pgfe' and 'pgfstr'?

A TikZ node "lives" in a TeX box. With latex as the TeX engine these boxes are converted to PostScript directives. Use \showbox to see how a box like this is implemented by following these steps. ...
3
votes
2answers
229 views

`latex` and `pdflatex` produce different colors given the same TikZ picture

Consider the following LaTeX manuscript featuring a TikZ picture* containing an empty, red-bordered node placed at the picture's origin. \documentclass{article} \usepackage{tikz} \begin{document} ...
1
vote
2answers
2k views

pdflatex and gnuplot's epslatex

I'm having some trouble trying to use gnuplot's epslatex terminal in a tex document to be compiled with pdflatex. The figure appears too big in the final pdf, and the axis' tics are not in math mode, ...
2
votes
1answer
105 views

Calculated label rotation in postscript

Elaborating on a solution obtained from the accepted answer of my earlier question, I would like to rotate upside-down labels on the righthand side of the rosetta using modulus. \documentclass[...
8
votes
1answer
242 views

Microtype package is not supported dvips output

I am using microtype package for good kerning text output. I am using below mentioned settings in my tex file. \usepackage{microtype} \DisableLigatures[f]{size=normalsize-}%disable Ligatures I ...
3
votes
0answers
699 views

How to convert a dvi file to an encapsulated postscript file?

I heard that we can use dvips –E to convert dvi to encapsulated postscript. But I do not know what is dvips -E. I can not find a command like "dvips -E" in my Texmaker. Clearly, I am a rookie. Can ...
1
vote
0answers
97 views

Default font used by PSTricks?

I am trying to recreate this drawing: https://commons.wikimedia.org/wiki/File:Cartesian_coordinates_2D.svg There are instructions at the end, but I want to skip some steps. Namely, I want to import ...
1
vote
1answer
259 views

pstricks: Color area under graph: what is dup?

For coloring an area under a graph, there exist multiple approaches with pstricks. I found a solution that was never mentioned on stack-exchange, but seems to be really simple: \psplot[linewidth=1pt,...
1
vote
1answer
99 views

Why Latex compiler seems to be bound to PostScript?

I am considering the following facts about the latex compiler: It only takes PostScript (PS) or Encapsulated PostScript (EPS) files as image input; It produces only DVI files as output, which can be ...
1
vote
2answers
187 views

Font with PSTricks and Beamer

I am creating standard beamer presentations. Moreover I use PSTricks to produce my pictures in a separate file. Afterwards I include the pdf with the pictures into the presentation. Unfortunatelly ...
3
votes
0answers
286 views

Problem with Greek letters in mathptmx [closed]

I'm new to Latex and I'm supposed to write a journal paper using the template provided by the journal itself. The guides in the template suggest using PostScript fonts by the package "mathptmx". I ...
1
vote
3answers
8k views

Print to EPS file in Windows 10

In Windows 7 and older versions I did this to generate EPS: I installed a driver for a postcript printer (from HP for example). Set "file" as printer port, so that output was directed to a file ...
2
votes
2answers
1k views

TeXStudio and GSview problem: file .ps does not exist

I have updated TeXStudio and now, when I compile, all work without errors. But If I "compile and view" or simple "view" The answer is: File 'path\paper.ps' does not exist from GSview. Till ...
0
votes
0answers
647 views

Dvi-ps-pdf Unrecoverable error, exit code 1 (/stackunderflow in --begin--)

I'm trying to compile a tex file via tex-dvi-ps-pdf, in a MacOS X. I've seen: Ghostscript 8.57: Unrecoverable error, exit code 1 auto-pst-pdf throws 'MiKTeX GPL Ghostscript 9.05: Unrecoverable ...
1
vote
1answer
181 views

Is it possible to build a table with strings of dingbats instead of horizontal rules?

I know you can make or create an table with tabbing or tabular. But is it possible to build a table with dingbats instead of \hlines? My code so far you could make the top line with \dingline{190} ...
2
votes
2answers
194 views

Running PSTricks image on TeXShop

I am trying to compile the following pstricks image which I asked in another post: \mathversion{sans}\setlength\fboxsep{0pt} \begin{postscript} $\begin{pmatrix} 0 & 0 & 0 & 0 ...
2
votes
2answers
2k views

How to modify postscript file to use the same font as the main document

I have to include a Postscript picture in a latex document. The ps file is generated by another program. I would like to modify the font within the ps so that it correspond to the same main font of ...
1
vote
0answers
262 views

Lyx does not export postscript file! [closed]

I try to export a lyx file to .ps format. But while I hit the save button I got the following error: "No information to export the format Postscript" Any help will be appreciated. Thanks,
0
votes
0answers
96 views

eps2pgf error: /undefined in currentlinecap

I'm encountering a problem when converting .eps to .pgf with eps2pgf. I'm running OSX Yosemite with Java version 1.8.0_31. This is what I input in Terminal: java -jar eps2pgf.jar figure1.eps -o ...
4
votes
1answer
183 views

Why is my \special{ps: …} not getting the dimensions correct?

Trying things out without relying on pstricks to see if I can write my own postscript code embedded within a LaTeX document. \documentclass{article} \begin{document} Hello world! \special{ps: ...
4
votes
3answers
565 views

Drawing an oval around Text using postscript in latex and also create a macro for the same without tikz package

The solution is simple when I use packages like tikz. But I am not supposed to use packages. I need to use post script in latex. I am trying to draw this oval using two lines and two curves in a macro ...
0
votes
0answers
29 views

Pixelated image in postscript format! [duplicate]

I have a big problem with the figures in my paper. I need to submit a postscript file to a journal. Figures are in a good shape while I directly convert the file to pdf. But while I save the file in ...
1
vote
1answer
229 views

Pixelated image in ps format!

I have a big problem with the figures in my paper. I need to submit a postscript file to a journal. Figures are in a good shape while I directly convert the file to pdf. But while I save the file in ...
3
votes
0answers
3k views

dvi to eps conversion

It's possible to convert dvi to eps format each page like http://www.tug.org/texinfohtml/dvipng.html. I want each page equation convert to eps format.
1
vote
1answer
274 views

Generate new or change a line color with Postscript notation

I'd like to use \psset{linecolor = blue!\mapDFVtoColor} whereas \mapDFVtoColor is defined as something like \def\mapDFVtoColor{20 40 add 3.5 div} Here's a bit longer but condensed example \...
84
votes
11answers
20k views

Why do people still use Postscript?

I submitted a journal paper this morning, and they asked me to include a PDF file, which I expected, and a Postscript (PS) file. Generating the PS file proved more difficult, because some of my ...
3
votes
1answer
225 views

Is there a function for rad2deg and deg2rad for use in pst-solides3d?

Basically I'm using pst-solides3d to produce 3d-perspective figures. When writing the 3d transform parameters for rotateOpoint3d, it is required to have a unit of degree. But when writing an argument ...
0
votes
0answers
54 views

How come the texnansi-encoding didn't work for the Symbol-font?

I've been installing PostScript Type 1 fonts in TeXLive, where I've used the texnansi encoding. Everything worked very well with every PS Type 1 font I tried, except when I came to the Symbol font, ...
4
votes
1answer
298 views

Are .vf-files really needed in LaTeX in order to use PostScript Type 1 fonts?

I have adapted several PS Type 1 fonts for use with TeXLive. What I found out, is that only three types of font-files are needed, which are a .map-file, .tfm-files and .pfb-files. However, at http://...
3
votes
1answer
1k views

Enter \n newline character in embedded postscript via pstricks

I want to be able to print neat debugging messages through pstricks/postscript. In the code below, how do I make the gs interpreter display a new line? \documentclass{article} \usepackage{pstricks} ...
1
vote
0answers
310 views

Are there some tools to automate the final submission to IEEE?

I got a mail from the editor of the IEEE TEC journal where he explains the procedures which are needed to finalize the submission to the journal: The IEEE requires that you submit the following ...
1
vote
1answer
318 views

How to use Lilypond's font in a LaTeX or PostScript file?

How can I use Lilypond's font in a LaTeX or PostScript file? I want to write chors using it, and I can't find the way on how to configure it. Obs.: in a PostScript file, in mean as PostScript ...