I just tried to compile the following with XeLaTeX in TeXShop:
% !TEX TS-program = xelatexmk
% mwe.tex
\documentclass{scrartcl}
\usepackage{pstricks,pst-plot}
\begin{document}
%
\psframebox[framesep=0]{
\begin{pspicture}(-1,-0.5)(1.5,1)
\psaxes[labels=none]{->}(0,0)(-1,-0.5)(1.5,1)
\end{pspicture}}
%
\end{document}
but at the end I got the following error message:
..
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
)
and the PDF is empty. The same happens if I am running XeLaTeX
in a terminal. I checked the net and found some hints from 2016 or 2019 but they are all not understandable to me.
If I do: latex mwe -> drips mwe
I get a mwe.ps file. Now if in the finder I open this file, it will be converted into the mwe.pdf file with the expected diagram.
XeLaTeX at the prompt gives:
This is XeTeX, Version 3.141592653-2.6-0.999993 (TeX Live 2021) (preloaded format=xelatex)
OS X: 11.2.3 TeXShop: 4.64
Ulrich
--shell-escape
switch?