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
0
votes
0answers
36 views

Embedding LaTeX expressions into a postscript file

Hi: I'm writing a vector graphics drawing lib that produces PS/EPS outputs. I want allow users can embed LaTeX expressions into the file like asymptote did. I only have a vague understanding of how to ...
0
votes
0answers
29 views

psnup can't open config file paper.cfg

I'm using Cygwin's psnup. Even issuing psnup --help generates the error can't open config file paper.cfg. The only thing I've found online about this is this message: A missing file is texmf-...
1
vote
1answer
35 views

Literal postscript color using \special move lines in picture environment

When colouring lines in a picture environment with a spot colour, the lines moves with respect to the original picture. To change the rgb colours, to cymk black or the desired pantone, I introduce are ...
-1
votes
1answer
81 views

With the texshade package, is it possible to set a specific, non-Postcript font?

I am using Helvetica Neue for the captions of my figures. I would like to keep this font for the sequence names in an alignment created using the texshade package. On page 41 of the texshade manual, ...
1
vote
0answers
143 views

Error when generating latex previews on Windows 10

I recently went back to using preview LaTeX (previously used a while back when it was standalone and not part of AucTeX)...but see the following Postscript error when clicking on stop sign: c\:/Users/...
0
votes
0answers
153 views

MikTeX error “Some Postscript specials could not be rendered” when using package prerex

As part of a larger project I am using package prerex to generate a chapter dependency chart. Within MiKTeX I am running latex --src -specials on what is essentially the following code: \...
3
votes
2answers
81 views

Points of psline are in reverse order in Postscript code

I build an animation (using animateinline of animate-package in a beamer presentation) containing a \psline with 4 points. The points are calculated with "postscript math". I wanted to include the ...
1
vote
1answer
117 views

Unable to view postscript files using psv in TeX Live on Windows

I installed TeX Live 2019 on Windows 10 last year and tried to use the built-in psv to read postscript files. It opened with an error message, which I cannot remember now. This year, I installed TeX ...
0
votes
0answers
65 views

modifying postscript file: shifting content and resizing page or crop content

I have a program that produces postscript file. The file has a text block vertically in the middle of an A4 page. The text block fits A5 size in landscape mode. I would like to convert the ps file ...
0
votes
0answers
63 views

How to skew (slant) a box with the graphics/graphicx package? [duplicate]

In the graphics/graphicx packages there are commands \rotatebox, \resizebox, \scalebox and even \reflectbox. But how can I slant/skew something in the same way? (I'm missing a \skewbox command.) (...
2
votes
1answer
151 views

How to write PostScript commands for “calculation” and “intersection” in the following problem?

This is my code. \documentclass[pstricks]{standalone} \usepackage{pst-intersect} \usepackage{pst-eucl,pstricks-add,pst-calculate} \usepackage{pstricks-add,pst-calculate} \usepackage{auto-pst-pdf} \...
1
vote
3answers
68 views

Show postscript point versus Anglo-Saxon point

I am doing a practical job comparing the postscript point (1/72) with the Anglo-Saxon point (1/72.27). I need help to be able to show the difference in size in a character (it is indistinct of which). ...
4
votes
2answers
139 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
135 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
275 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
229 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 ...
3
votes
1answer
281 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
58 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
377 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
78 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
741 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
129 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 ...
3
votes
0answers
147 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
134 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
502 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
2answers
435 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
154 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
68 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
191 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
49 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}[...
7
votes
2answers
252 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
269 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
4k 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
127 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
346 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
902 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
114 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
424 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
164 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
281 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
358 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
10k 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
3answers
2k 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
1k 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
203 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
257 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
311 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
110 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
212 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: ...