Let's say our system-wide default paper size is A4, and we have an old 15-pages-long document (prepared using llncs class) which we don't completely understand at this moment (neither content-wise nor LaTeX-wise). In the preamble we see \usepackage{pst-node}
. With or without this line the document runs smoothly through latex
; the log shows no errors, warnings or reports about undefined or missing stuff. Still, comparing the PDF files from the two runs (with/without pstricks) by diffpdf
results in visual differences everywhere and word differences as well as character differences nowhere.
As a minimal example, let's run
\documentclass[letterpaper]{llncs}
\pagestyle{empty}
\usepackage{pstricks}
\begin{document}
test
\end{document}
through latex
followed by dvipdf -dALLOWPSTRANSPARENCY
. The visual comparison of the results when pstricks
is vs. is not used by diffpdf
results in this:
The two red bars on the left mark the changes. As these red bars are everywhere, this leaves us with no information whatsoever concerning whether pstricks is actually needed by the document.
Why does simply including a drawing package but not actually drawing anything incur such global changes? Who is the culprit?
How to check whether pstricks is needed or used (and if so, where or how) without manually inspecting 15 pages and trying to understand commands and contents we have little idea of? (This could be an endeavor of several hours till a week: the paper is a typical computer-science paper.)
pstricks
, compile the document, and get no "Undefined control sequence" errors, then it's highly unlikely that you were actually usingpstricks
.latex
anddvipdf
simply runlualatex
, then there should be no differencelualatex mwe.tex
, and thenpdfinfo mwe.pdf
, we getPage size: 595.276 x 841.89 pts (A4)
. The class option[letterpaper]
has seemingly no effect!!!