<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Ok. Thank you very much, Herbert. In command line I would just type xelatex -output-driver="xdvipdfmx -i dvipdfmx-unsafe.cfg -q -E” file.tex and compile the file. I’m, however, writing a book with dozens of pstricks images. Could somebody please advice how to do that in TexShop. Adding <span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);" class="">-output-driver="xdvipdfmx -i dvipdfmx-unsafe.cfg -q -E” to the engine preferences in TeXShop seems to have zero effect on anything. I must be doing </span><font color="#000000" class="">something wrong but I’m unable to find instructions of how to do it.</font><div class=""><br class=""></div><div class="">Best regards,</div><div class="">  Kari  <blockquote type="cite" class=""><br class=""></blockquote><div><br class=""><blockquote type="cite" class=""><div class="">Herbert Voss <<a href="mailto:Herbert.Voss@fu-berlin.de" class="">Herbert.Voss@fu-berlin.de</a>> kirjoitti 11.10.2021 kello 17.49:</div><br class="Apple-interchange-newline"><div class=""><div class=""><br class=""><br class="">Am 11.10.21 um 07:19 schrieb Eloranta Kari:<br class=""><blockquote type="cite" class="">Hello,<br class=""><br class="">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 <a href="https://tex.stackexchange.com/questions/270351/a-ruler-symbol-in-latex:" class="">https://tex.stackexchange.com/questions/270351/a-ruler-symbol-in-latex:</a> <<a href="https://tex.stackexchange.com/questions/270351/a-ruler-symbol-in-latex:" class="">https://tex.stackexchange.com/questions/270351/a-ruler-symbol-in-latex:</a>><br class=""></blockquote><br class="">GhostScript chnaged its behaviour. Use<br class=""><br class="">xelatex -output-driver="xdvipdfmx -i dvipdfmx-unsafe.cfg -q -E" file.tex<br class=""><br class=""><br class="">Herbert<br class=""><br class=""><br class=""><br class=""><blockquote type="cite" class="">|\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}|<br class="">Compiling with XeLaTex gives the error below. Would somebody please give me suggestions of how to solve the problem.<br class="">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.<br class="">Best regards,<br class="">Kari Eloranta, Finland<br class=""><br class=""><br class="">--<br class="">list: <a href="https://lists.tug.org/pstricks" class="">https://lists.tug.org/pstricks</a><br class="">archive: <a href="https://tug.org/pipermail/pstricks/" class="">https://tug.org/pipermail/pstricks/</a><br class=""></blockquote><br class="">--<br class="">list: <a href="https://lists.tug.org/pstricks" class="">https://lists.tug.org/pstricks</a><br class="">archive: <a href="https://tug.org/pipermail/pstricks/" class="">https://tug.org/pipermail/pstricks/</a></div></div></blockquote></div><br class=""></div></body></html>