[tex-live] Bug in dvips 5.996 concerning special em:graph ?

Akira Kakuto kakuto at fuk.kindai.ac.jp
Tue Dec 13 03:33:37 CET 2016

> Here is the LaTeX-Source mwe.ltx of a minimal example:
> \documentclass{article}
> \usepackage{geometry}
> \geometry{a4paper,margin=0pt,noheadfoot}
> \begin{document}
> \special{em:graph image.pcx}%
> \vspace*{3cm}\hspace*{2cm}
> \Huge Text ins Formular gedruckt.
> \end{document}

I have tested with gmarbles.pcx at
on Windows 7 for dvips.exe in TeX Live 2016.

% t.tex
\special{em:graph gmarbles.pcx}%
\Huge Text ins Formular gedruckt.

dvips -d1 t.dvi

This is dvips(k) 5.996 Copyright 2016 Radical Eye Software (www.radicaleye.com)
' TeX output 2016.12.13:1054' -> t.ps
Preprocessing special: papersize=597.50787pt,845.04684pt
Preprocessing special: em:graph gmarbles.pcx
<c:/usr/local/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmr17.pfb>[1Processing special: papersize=597.50787pt,845.04684pt
Processing special: em:graph gmarbles.pcx

em:graph: gmarbles.pcx width  1419 pixels scaled to 1419.0 pixels
em:graph: gmarbles.pcx height 1001 pixels scaled to 1001.0 pixels

I could not reproduce error messages such as
em:graph: special too long, truncating
em:graph: no file given

However, the result image in t.ps is not an expected one.
I recommend to change the format by, for example,
magick image.pcx image.eps


More information about the tex-live mailing list