[tex-live] [pretest] xetex cannot handle pstricks
Vladimir Lomov
lomov.vl at gmail.com
Fri Jun 3 04:50:33 CEST 2011
** 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.
---
WBR, Vladimir Lomov
--
Debian is like Suse with yast turned off, just better. :)
-- Goswin Brederlow
More information about the tex-live
mailing list