[XeTeX] xetex, pstricks, dvipdfmx-unsafe.cfg
Bruno Voisin
bvoisin at icloud.com
Fri Mar 19 08:58:45 CET 2021
> On 19 Mar 2021, at 08:39, Bruno Voisin <bvoisin at icloud.com> wrote:
>
> - To be sure, I added -dSAFER to dvipdfmx.cfg. That doesn't change a thing,
Please ignore what I wrote. I had created a modified dvipdfmx.cfg in texmf-local/dvipdfmx, but forgot to run mktexlsr afterwards, so it wasn't used. Silly me!
Anyway, in between I applied this morning's run of tlmgr updates, which include your updated dvipdfmx.cfg. By the way, you didn't change the version number at the top,
%% $Id: dvipdfmx.cfg 38778 2015-11-05 00:08:29Z karl $
I don't know whether that's on purpose.
Now I get the same as you:
% xdvipdfmx TransparencyTest.xdv
TransparencyTest.xdv -> TransparencyTest.pdf
[1Error: /invalidfileaccess in --run--
Operand stack:
(/usr/local/texlive/2021/texmf-dist/dvips/pstricks/pstricks.pro) (r)
Execution stack:
%interp_exit .runexec2 --nostringval-- run --nostringval-- 2 %stopped_push --nostringval-- run run false 1 %stopped_push 1974 1 3 %oparray_pop 1973 1 3 %oparray_pop 1961 1 3 %oparray_pop 1817 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- run --nostringval-- 2 %stopped_push --nostringval-- 1974 1 3 %oparray_pop run
Dictionary stack:
--dict:755/1123(ro)(G)-- --dict:0/20(G)-- --dict:75/200(L)--
Current allocation mode is local
Last OS error: Permission denied
Current file position is 69
GPL Ghostscript 9.53.3: Unrecoverable error, exit code 1
xdvipdfmx:warning: Filtering file via command -->rungs -q -dALLOWPSTRANSPARENCY -dSAFER -dNOPAUSE -dBATCH -dEPSCrop -sPAPERSIZE=a0 -sDEVICE=pdfwrite -dCompatibilityLevel=1.5 -dAutoFilterGrayImages=false -dGrayImageFilter=/FlateEncode -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dAutoRotatePages=/None -sOutputFile='/var/folders/1r/dhdtft1s4qgfjwbcpkfhqf5c0000gn/T/dvipdfmx.bo4MzD' '/var/folders/1r/dhdtft1s4qgfjwbcpkfhqf5c0000gn/T/dvipdfmx.FXyduh' -c quit<-- failed.
xdvipdfmx:warning: Image format conversion for PSTricks failed.
xdvipdfmx:warning: Interpreting special command pst: (ps:) failed.
xdvipdfmx:warning: >> at page="1" position="(233.752, 569.147)" (in PDF)
xdvipdfmx:warning: >> xxx "pst: tx at Dict begin STP newpath 0.8 SLW 1 0 0 setrgbcolor 28"
]
6500 bytes written
Something seems broken on the gs end, since they really say SAFER is set by default, for example at
https://ghostscript.com/doc/9.53.3/Use.htm
This default seems to date back to
http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=79a06b45e784e6839b2b2129cd2620ea606254e1
Bruno
More information about the XeTeX
mailing list.