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
4 votes
1 answer
95 views

How to include EPS in LuaLaTeX multiple times and have the postscript code run each time?

Ahoj, I have an .eps file that does some random number calculations in order to look different on each execution. Now I want to include it into a LuaLaTeX document several times, and each time it is ...
Golar Ramblar's user avatar
0 votes
0 answers
45 views

gv: the outputs of pdflatex, latex+dvipdf, and latex+ps2pdf are slightly shifted upwards compared to the output of latex+dvips

Let's create mwe.tex containing \documentclass{article} \usepackage[paperwidth=1cm,paperheight=1.25cm,margin=0cm]{geometry} \pagestyle{empty} \usepackage{tikz} \begin{document}\noindent \begin{...
AlMa0's user avatar
  • 439
0 votes
0 answers
50 views

half-opaque colors of TikZ differ in PS and PDF

Consider the file mwe.tex containing \documentclass{article} \usepackage[paperwidth=1cm,paperheight=1.5cm,margin=0cm]{geometry} \pagestyle{empty} \usepackage{tikz} \begin{document} \begin{tikzpicture} ...
AlMa0's user avatar
  • 439
1 vote
1 answer
119 views

postscript hyperlink url auto-open

I'm trying to add a hyperlink to a PDF by modifying the PostScript. Any possible to open this action link automated or opening postscript or pdf. it will be executed the link. [/Rect [ 0 425 295 445 ] ...
alex's user avatar
  • 11
0 votes
1 answer
51 views

(How) Can I make a page which is the only page on a printed sheet?

I want to make a PDF document which have no blank pages when viewed or printed single-sided. But when printed double-sided, the first page (the cover) should be the only page printed at the first ...
abukaj's user avatar
  • 127
0 votes
0 answers
28 views

How to build index of words from PostScript generated by DVIPS?

The background story is, I'm building Common Lisp the Language from its publicly released source, the source is in LaTeX 2.09 and was build by "Textures, an implementation of TeX by Blue Sky ...
LdBeth's user avatar
  • 593
3 votes
1 answer
83 views

Selective Rendering of PDF

I'd like to do something that I think many people would like to do, but the tools don't seem to exist. The short form of my question is whether there is a library (C++ or Java) to parse a PDF produced ...
Randall Fairman's user avatar
0 votes
0 answers
123 views

Postscript File to Place Everything in a Layer

Would like a postscript file that will place original pdf content onto a layer. Everything in the original pdf goes on a layer. Don't know how to place the stream into the ocg... This is the start of ...
KeWe's user avatar
  • 1
1 vote
0 answers
129 views

Understanding the differences between pdf and postscript format and the link between this format and LateX/TeX [closed]

I am trying to understand how pdf and ps format works. At first I used to think that ps was a format used by printer which contains detailed printing instructions. That was the reason why this ps ...
V_0rigi's user avatar
  • 11
3 votes
1 answer
766 views

trying to diagnose postscript printing problem on lyx/mactex on macOS Monterey

I've been using lyx for many years, mostly on Linux, and on MacOS for a a few years. On upgrading macOS Big Sur to macOS Monterey 12.0.1 suddenly printing stopped working. Setup I'm using the latest ...
Penelope's user avatar
  • 165
0 votes
0 answers
97 views

Some Postscript Specials could not be rendered - why?

The following code throws an error: \begin{document} \newtheorem{definition}{Definition}[chapter] \newtheorem{example}{Example}[chapter] \newtheorem{theorem}{Theorem}[chapter] \setcounter{chapter}...
KenM's user avatar
  • 101
0 votes
1 answer
2k views

How do I fix Package pdftex.def Error with overleaf?

I'm trying to include a ps file with this code adapted from another tex.stackexchange post \documentclass{article} \usepackage[margin=3cm,a4paper]{geometry} \usepackage{amsmath,amsthm} \usepackage{...
JJJohn's user avatar
  • 556
0 votes
0 answers
81 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-...
user2153235's user avatar
1 vote
1 answer
82 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 ...
TeXtnik's user avatar
  • 5,783
-1 votes
1 answer
165 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, ...
Cabin's user avatar
  • 3
1 vote
0 answers
248 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/...
ash's user avatar
  • 11
0 votes
0 answers
393 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: \...
Ralph's user avatar
  • 11
3 votes
2 answers
134 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 ...
Fritz's user avatar
  • 307
1 vote
1 answer
300 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 ...
user avatar
0 votes
0 answers
261 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 ...
suseuser04's user avatar
0 votes
0 answers
111 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.) (...
yannis's user avatar
  • 1,952
2 votes
1 answer
266 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} \...
user avatar
1 vote
3 answers
99 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). ...
Alberto Moyano's user avatar
4 votes
2 answers
192 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 ...
Hilmar Preuße's user avatar
0 votes
1 answer
179 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 ...
voices's user avatar
  • 2,009
7 votes
2 answers
341 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
luser droog's user avatar
1 vote
0 answers
367 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 ...
Moshe Rubin's user avatar
3 votes
1 answer
455 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 ...
user avatar
1 vote
0 answers
127 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 ...
user181766's user avatar
6 votes
2 answers
472 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 ...
Johnny Canuck's user avatar
4 votes
1 answer
117 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 ...
Ian Thompson's user avatar
2 votes
0 answers
1k 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}...
gigabytes's user avatar
  • 3,595
6 votes
1 answer
167 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 ...
user avatar
3 votes
0 answers
168 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 ...
Montgomery's user avatar
1 vote
0 answers
189 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 ...
PetaspeedBeaver's user avatar
3 votes
2 answers
542 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 ...
Niklas's user avatar
  • 660
4 votes
2 answers
487 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}...
Second Person Shooter's user avatar
4 votes
0 answers
201 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] \...
Przemysław Scherwentke's user avatar
1 vote
0 answers
74 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?
Martin's user avatar
  • 11
1 vote
1 answer
239 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 ...
Darkgamma's user avatar
  • 125
3 votes
1 answer
61 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}[...
Second Person Shooter's user avatar
7 votes
2 answers
297 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. ...
Evan Aad's user avatar
  • 10.8k
3 votes
2 answers
284 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} ...
Evan Aad's user avatar
  • 10.8k
1 vote
2 answers
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, ...
manugutito's user avatar
2 votes
1 answer
155 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[...
Morten Engelsmann's user avatar
8 votes
1 answer
426 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 ...
CS Kumar's user avatar
  • 1,253
3 votes
0 answers
1k 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 ...
Wein Eld's user avatar
  • 141
1 vote
0 answers
147 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 ...
posfan12's user avatar
  • 379
1 vote
1 answer
566 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,...
black's user avatar
  • 372
1 vote
1 answer
229 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 ...
Neraste's user avatar
  • 313