Skip to main content
9 votes
Accepted

TeXcolorrgb vs. setrgbcolor

setrgbcolor is the PostScript primitive to set an RGB colour. TeXcolorrgb is the name dvips inserts into the PostScript stream if you use a color \special with model rgb, this indirection allows for ...
David Carlisle's user avatar
7 votes

Are Knuth's fonts searchable in pdf yet?

Type 3 fonts can be given encoding vectors as of the pdftex in the 2018 release, thanks to Pali Rohar.
Karl Berry's user avatar
  • 2,122
7 votes
Accepted

How do I include Postscript graphics in a LaTeX file?

Trying the solution suggested by @user11232, it does work. Since that user is no longer available, and with the desire to respond this unanswered question, it is important to have it solved for future ...
7 votes

Microtype package is not supported dvips output

Automatic font expansion does not work with pdflatex in DVI mode (which is what is implicitly called when you run latex), therefore microtype will switch off font expansion by default. This results in ...
Robert's user avatar
  • 14.2k
7 votes
Accepted

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

As far as I can see (postscript manual page 45 names have to be characters and characters have to be "printable ascii" and there are no ascii characters above 127. As noted in comments elsewhere the ...
David Carlisle's user avatar
6 votes
Accepted

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

You could change the suffix between two graphics, this will force a new conversion: \documentclass[a4paper]{article} \usepackage{graphicx} \begin{document} \epstopdfsetup{suffix=-\SourceExt-converted-...
Ulrike Fischer's user avatar
5 votes
Accepted

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

For psfrag, tex doesn't access the file at all (except optionally looks to find a %%BoundingBox comment. It works by loading a PostScript header that redefines (within the scope of the EPS) the ...
David Carlisle's user avatar
5 votes

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

No, it's not possible. YES, IT IS! (though not from within LaTeX) Akira Kakuto made a change to dvips that adds a -title option to the command line that sets the string after %%Title: if (*...
Phelype Oleinik's user avatar
4 votes

Are Knuth's fonts searchable in pdf yet?

The fix for this would be for Latin Modern to be updated to match the preferred shapes, and to use it in an up-to-date TeX variant such as xe(la)tex or lua(la)tex.
WillAdams's user avatar
  • 7,217
4 votes

tikzpicture won't render 'usable' PS code

This is a bug in PGF. Unfortunately, it has been introduced right before the release of the last stable -- apparently in the middle of our final tests such that it passed unnoticed. Please do not use ...
Christian Feuersänger's user avatar
3 votes

Why Latex compiler seems to be bound to PostScript?

Of the three bullet points only the middle one is correct. Classic TeX produces DVI output. As the name implies, DVI files are device independent and not tied to PostScript. The DVI file just ...
David Carlisle's user avatar
3 votes

Print to EPS file in Windows 10

Late to the party this side but thought I would add in my solution in case anyone still needs it. Ran into the same problem you did on windows 10 as I couldn't work out how to print EPS files. This is ...
KaiuTetsuo's user avatar
3 votes

TeXStudio and GSview problem: file .ps does not exist

This topic is quite old, but I just had the same issue and found a solution. For some reason, an update changed the "Default Viewer" in Options > Configure TeXstudio > Build. I simply copied the line ...
user123350's user avatar
3 votes
Accepted

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

This is basically a bug in the default PGF backend driver for DVI (pgfsys-dvips), and as such, it should be reported using https://sourceforge.net/p/pgf/bugs/.
Paul Gaborit's user avatar
  • 71.3k
3 votes
Accepted

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

Given is the point P0(x0,y0) on the parabola. The slope is given by the derivation. The slope of the line P0-Mcircle is the negative inverse: -1/(2ax0). The origin of the circle is O(x0+Delta,radius)...
user187802's user avatar
  • 17.3k
3 votes

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

Renaming the PostScript file to support.vector.eps and commenting off \usepackage{auto-pst-pdf} seem to fix the problem: \documentclass{article} \usepackage[margin=3cm,a4paper]{geometry} \usepackage{...
citsahcots's user avatar
  • 8,002
3 votes

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

MacOS prints by first converting the print job to a pdf file. Then it looks at the printer. If the user has a postscript printer, macOS converts the pdf file to a postscript file and sends that to the ...
Richard Koch's user avatar
2 votes
Accepted

Using a PS-specific package with XeTeX

This is not perfect, but could at least reduce the work a bit. Create a stand alone document called mayaglyphs.tex, add the glyphs you want to use (at best in the correct size) and give them ...
Ulrike Fischer's user avatar
2 votes

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

as latex/tikz gurus find out your problem is caused by bug, but as workaround until bug will be eliminated you can use my suggestion in the first comment: \documentclass{article} \usepackage{tikz} \...
Zarko's user avatar
  • 300k
2 votes

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

Lorehead is right. You can change lines 297 and 298 of your PostScript file to: /MinionPro-Regular getisofont /ISOLatin1-Helvetica exch definefont pop /MinionPro-Bold getisofont /ISOLatin1-...
David Purton's user avatar
  • 26.4k
2 votes

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

PSTricks needs at least the defined color black, which itself is internally defined as \black which itself expands to 0 setgray. But only if it is defined. However, this works: \input pstricks \input ...
user187802's user avatar
  • 17.3k
2 votes
Accepted

Points of psline are in reverse order in Postscript code

1.) can I rely on this reverse order for future updates or PostScript calculation is always represented in Reverse Polish Notation regardless of the incoming updates. The PostScript code in \psline(...
Display Name's user avatar
  • 47.2k
2 votes
Accepted

Literal postscript color using \special move lines in picture environment

You are missing % from the ends of lines so adding white space and displacing the picture mode constructs. All picture mode commands use \ignorespaces to ignore following white space and \unskip to ...
David Carlisle's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible