[tex-k] dvips(k) 5.999 creates corrupted ps files with specific options

Arnaud Blouin arnaud.blouin at irisa.fr
Wed Apr 24 13:54:10 CEST 2019


Hi,

When using long paths, the produced ps file is corrupted:

dvips
C:\Users\CHERCH~1\AppData\Local\Temp\latexdraw\latexdrawTmp155609977093670844\latexdrawTmpPic1556099770936.dvi
-o
C:\Users\CHERCH~1\AppData\Local\Temp\latexdraw\latexdrawTmp155609977093670844\latexdrawTmpPic1556099770936.ps

This command produces a ps file in which the following code is corrupted
(the closing parenthesis is missing):

TeXDict begin 6889347 995423 1000 600 600
(C:\Users\CHERCH~1\AppData\Local\Temp\latexdraw\latexdrawTmp155609977093670844\latexdrawTmpPic155609977

Adding the missing parenthesis manually fixes the problem.

When using short paths, it works:

dvips latexdrawTmpPic1556099770936.dvi

I worked with dvips(k) 5.998 (on Linux). The problem appears with
dvips(k) 5.999 (on Windows 10 at least).

The LaTeX document I use (that I compile with latex) is simply:

\documentclass{standalone}

\usepackage[usenames,dvipsnames]{pstricks}

\begin{document}

\psscalebox{3.5277777 3.5277777}{$hello$}

\end{document}

-arno

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/tex-k/attachments/20190424/26fe0359/attachment.html>


More information about the tex-k mailing list