[pstricks] pstricks on mactex2021 (with xelatex)

Herbert Voss Herbert.Voss at fu-berlin.de
Tue Aug 31 17:58:20 CEST 2021



Am 31.08.21 um 17:40 schrieb Thierry WYBRECHT:
> Hallo all,
>
> after upgrading to mactex2021, pstricks code doesn’t work anymore with xelatex.
>
> First, after upgrading, it was Ghostscript : unable to write on the disk I think.
>
> Second, after updating MacTex2021 (today for example), no more error message for ghostscript in the log, but no graphics drawn, no labels at the right place !
>
> What should I do to have pstricks working again with xelatex ??
>
> source example:
> \documentclass{article}
>
> \usepackage{pstricks-add}
>
> \begin{document}
> \begin{pspicture}(-2,-2)(2,2)
>    \psline(-1.5,-1.5)(1.5,1.5)
>    \rput(-1.5,-1.5){$(-1.5;-1.5)$}
>    \rput(1.5,1.5){$(1.5;1.5)$}
> \end{pspicture}
>
> \end{document}

run it with

xelatex -output-driver="xdvipdfmx -i dvipdfmx-unsafe.cfg -q -E" <file>

or add the argument -dALLOWPSTRANSPARENCY into the GhostScript call
of /texmf-dist/dvipdfmx/dvipdfmx.cfg


Herbert



More information about the PSTricks mailing list.