[Tex/LaTex] Why do people still use Postscript

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 LaTeX commands, which I always compiled with pdflatex, wouldn't compile with latex (in particular including graphics).

I ended up converting the PDF into a PS file, but obtained a file 4 times the size (approx 20 MB instead of 5 MB).

It also seems that opening a Postscript file with any modern reader takes longer, as it has to 'convert' (compile maybe? or interpret?) the file.

I was wondering — what's the use of Postscript today? Are there advantages over the more modern and widely used PDF?

Best Answer

Postscript is still used as an intermediate document format, since it is a fully fledged programming language allowing you to compute graphics, which PDF doesn't. PDF shows just the result (after some conversions, sometimes called "Distillation") of the computation Postscript is able to do.

The Postscript based PSTricks package is an example that heavily makes use of graphical computation. It can even solve differential equations. And if you have a Postscript printer, it can do these computations for you.

EDIT, to answer Daniels comment:

One feature that makes Postscript the preferred format, in particular for a publisher, is its editability. If, for instance, line art in a document is too faint, the publisher may want to enhance it a bit globally before giving the document to press. This very issue was raised, e. g., in this question.

With Postscript, doubling the line width in the whole document is easily accomplished by putting

userdict /setlinewidth {2 mul systemdict /setlinewidth get exec} put

into the document header.

With PDF such a tweak is much more complicated.

Related Question