[pstricks] pstricks issue
Eloranta Kari
kari.eloranta at gradia.fi
Mon Oct 11 07:19:16 CEST 2021
Hello,
After recently updating to MacTeX 2021 I’ve run into issues with my old files that used to compile perfectly. As a MWE, here’s a code from https://tex.stackexchange.com/questions/270351/a-ruler-symbol-in-latex:
\documentclass[pstricks,margin=1mm]{standalone}
\begin{document}
\begin{pspicture}(-.2,1.5)(10.2,3)
\psframe[linecolor=lightgray](-.2,1.5)(10.2,3)
\multips(0,3)(0.1,0){101}{\psline(0,-.1)}
\multips(0,3)(0.5,0){21}{\psline(0,-.2)}
\foreach \x in {0,...,10}{\rput(\x,3){\psline(0,-.3)}\uput{4mm}[-90](\x,3){\scriptsize$\x$}}
\rput[r](10,1.8){\scriptsize Made in Japan}
\end{pspicture}
\end{document}
Compiling with XeLaTex gives the error below. Would somebody please give me suggestions of how to solve the problem.
Dictionary stack:
--dict:756/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
Error: /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:756/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
Error: /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:756/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
Error: /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:756/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
)
Output written on testint2021.pdf (1 page).
SyncTeX written on testint2021.synctex.gz.
Transcript written on testint2021.log.
Best regards,
Kari Eloranta, Finland
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/pstricks/attachments/20211011/a7e6181e/attachment-0001.html>
More information about the PSTricks
mailing list.