Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

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
1 vote
0 answers
36 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 ...
user avatar
0 votes
0 answers
52 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 ...
user avatar
  • 1
1 vote
0 answers
44 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 ...
user avatar
  • 11
2 votes
1 answer
606 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 ...
user avatar
  • 131
0 votes
0 answers
42 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}...
user avatar
  • 101
0 votes
1 answer
459 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{...
user avatar
  • 470
0 votes
0 answers
41 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-...
user avatar
1 vote
1 answer
49 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 ...
user avatar
  • 5,663
-1 votes
1 answer
114 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, ...
user avatar
  • 3
1 vote
0 answers
191 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/...
user avatar
  • 11
0 votes
0 answers
254 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: \...
user avatar
  • 11
3 votes
2 answers
103 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 ...
user avatar
  • 247
1 vote
1 answer
201 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
144 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 ...
user avatar
0 votes
0 answers
105 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.) (...
user avatar
  • 1,750
2 votes
1 answer
209 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
72 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). ...
user avatar
4 votes
2 answers
167 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 ...
user avatar
0 votes
1 answer
161 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 ...
user avatar
  • 1,969
6 votes
2 answers
307 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
user avatar
1 vote
0 answers
301 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 ...
user avatar
3 votes
1 answer
366 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
86 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 ...
user avatar
6 votes
2 answers
430 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 ...
user avatar
4 votes
1 answer
99 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 ...
user avatar
  • 40.8k
2 votes
0 answers
882 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}...
user avatar
  • 3,261
6 votes
1 answer
135 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
154 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 ...
user avatar
1 vote
0 answers
156 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 ...
user avatar
3 votes
2 answers
522 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 ...
user avatar
  • 630
4 votes
2 answers
460 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}...
user avatar
  • 2,383
3 votes
0 answers
171 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] \...
user avatar
1 vote
0 answers
70 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?
user avatar
  • 11
1 vote
1 answer
212 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 ...
user avatar
  • 125
3 votes
1 answer
53 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}[...
user avatar
  • 2,383
7 votes
2 answers
271 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. ...
user avatar
  • 8,704
3 votes
2 answers
280 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} ...
user avatar
  • 8,704
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, ...
user avatar
2 votes
1 answer
140 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[...
user avatar
8 votes
1 answer
388 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 ...
user avatar
  • 1,231
3 votes
0 answers
991 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 ...
user avatar
  • 141
1 vote
0 answers
124 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 ...
user avatar
  • 369
1 vote
1 answer
499 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,...
user avatar
  • 351
1 vote
1 answer
202 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 ...
user avatar
  • 253
2 votes
2 answers
353 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 ...
user avatar
3 votes
0 answers
391 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 ...
user avatar
  • 163
1 vote
3 answers
11k 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 ...
user avatar
3 votes
3 answers
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 ...
user avatar
0 votes
0 answers
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 ...
user avatar
1 vote
1 answer
207 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} ...
user avatar