[tex-live] [pretest] xetex cannot handle pstricks

Dohyun Kim nomosnomos at gmail.com
Fri Jun 3 05:31:08 CEST 2011


2011/6/3 Vladimir Lomov <lomov.vl at gmail.com>:
> ** Dohyun Kim [2011-06-02 15:48:56 +0900]:
>
>> Under TL2011 pretest, xetex (to be precise, xdvipdfmx) fails to handle
>> pstricks code, how simple it may be.  I am using MacOSX Snow Leopard.
>> TL2010 on the same machine has no such problem.  Neither does the
>> dvips->ps2pdf routine of TL2011.
>
>> \documentclass{article}
>> \usepackage{pstricks}
>> \begin{document}
>> \begin{pspicture}(-1,-1)(1,1)
>> \psgrid
>> \end{pspicture}
>> \end{document}
>
>> I want to know anybody can reproduce screen message like the following:
>
>> GPL Ghostscript 9.02: **** Could not open the file
>> '/var/folders/yy/yy1ikAmvHwyDgTq8YbvHJk+++TI/-Tmp//dvipdfmx.P9ozl8fZ'
>> .
>> **** Unable to open the initial device, quitting.
>> sfopen: gs_parse_file_name failed.
>> sfopen: gs_parse_file_name failed.
>>   ./base/gsicc_manage.c:709: gsicc_open_search(): Could not find lab.icc
>> | ./psi/zusparam.c:819: set_lab_icc(): cannot find default lab icc profile
>> ** WARNING ** Filtering file via command -->rungs -q -dNOPAUSE -dBATCH
>> -sPAPERSIZE=a0 -sDEVICE=pdfwrite -dCompatibilityLevel=1.5
>> -dAutoFilterGrayImages=false -dGrayImageFilter=/FlateEncode
>> -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode
>> -sOutputFile='/var/folders/yy/yy1ikAmvHwyDgTq8YbvHJk+++TI/-Tmp-//dvipdfmx.P9ozl8fZ'
>> '/var/folders/yy/yy1ikAmvHwyDgTq8YbvHJk+++TI/-Tmp-//dvipdfmx.68C6z6jO'
>> -c quit<-- failed.
>> ** WARNING ** Image format conversion for PSTricks failed.
>> ** WARNING ** Interpreting special command pst: (ps:) failed.
>> ** WARNING ** >> at page="1" position="(177.059, 688.742)" (in PDF)
>> ** WARNING ** >> xxx "pst:  tx at Dict begin STP newpath 0.8 SLW 0
>> setgray   gsave 0.4 "
>>  )
>
> Some other tests: I have TL10 and TL11 installed in one system, tried
> with ghostscript 9.02, 9.01, 9.00 compiled with '--disable-compile-inits':
> gs ver. |     TL10     |    TL11    |  option
> --------+--------------+------------+---------
>  9.02   |    works     |   failed   | --disable-compile-inits
>  9.01   |    works     |   failed   | --disable-compile-inits
>  9.00   |    works     |   failed   | --disable-compile-inits
>  9.02   |    works     |   failed   | compiled w/o this option
>
> So something was changed either in pstricks or in xdvipdfmx.
>
> I checked two files (xdvipdfmx.cfg and dvipdfmx.cfg) but they are the
> same in both TL10 and TL11.
>
> Last note: on my system when I run xelatex (TL11) on the example
> document I see in terminal file name: /tmp/dvipdfmx.XXeXifPg (random
> string I guess) and there exist that file in /tmp with size 0 while in
> /tmp exists another file dvipdfmx.XXXXXXX (random string) which has
> instruction for gs and again it refers to other two unexisted files.
>

It turns out that including eps files, say \includegraphics{golfer.eps},
fails as well upon using TL11's xelatex.  So this issue seems to be
related to new xdvipdfmx binary, not pstricks.  AFAIK pstricks has not
been changed from that of TL10.


-- 
Dohyun Kim
College of Law, Dongguk University
Seoul, Republic of Korea



More information about the tex-live mailing list