[pstricks] pstricks on mactex2021 (with xelatex)

Thierry WYBRECHT th-1.wybrecht at orange.fr
Tue Aug 31 17:40:54 CEST 2021


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}  

log:
Running `LaTeX' on `test-pstricks' with ``xelatex  -file-line-error   --synctex=1 -interaction=nonstopmode test-pstricks.tex''
This is XeTeX, Version 3.141592653-2.6-0.999993 (TeX Live 2021) (preloaded format=xelatex)
 restricted \write18 enabled.
entering extended mode
(./test-pstricks.tex
LaTeX2e <2021-06-01> patch level 1
L3 programming layer <2021-08-27>
(/usr/local/texlive/2021/texmf-dist/tex/latex/base/article.cls
Document Class: article 2021/02/12 v1.4n Standard LaTeX document class
(/usr/local/texlive/2021/texmf-dist/tex/latex/base/size10.clo))
(/usr/local/texlive/2021/texmf-dist/tex/latex/pstricks-add/pstricks-add.sty
(/usr/local/texlive/2021/texmf-dist/tex/latex/pstricks/pstricks.sty
(/usr/local/texlive/2021/texmf-dist/tex/generic/iftex/iftex.sty)
(/usr/local/texlive/2021/texmf-dist/tex/latex/xcolor/xcolor.sty
(/usr/local/texlive/2021/texmf-dist/tex/latex/graphics-cfg/color.cfg)
(/usr/local/texlive/2021/texmf-dist/tex/latex/graphics-def/xetex.def))
(/usr/local/texlive/2021/texmf-dist/tex/generic/xkeyval/pst-xkey.tex
(/usr/local/texlive/2021/texmf-dist/tex/latex/xkeyval/xkeyval.sty
(/usr/local/texlive/2021/texmf-dist/tex/generic/xkeyval/xkeyval.tex
(/usr/local/texlive/2021/texmf-dist/tex/generic/xkeyval/xkvutils.tex
(/usr/local/texlive/2021/texmf-dist/tex/generic/xkeyval/keyval.tex)))))
(/usr/local/texlive/2021/texmf-dist/tex/generic/pstricks/pstricks.tex
(/usr/local/texlive/2021/texmf-dist/tex/generic/pstricks/pst-fp.tex
`pst-fp' v0.06, 2020/11/20 (hv))
(/usr/local/texlive/2021/texmf-dist/tex/generic/pgf/utilities/pgfutil-common.tex
(/usr/local/texlive/2021/texmf-dist/tex/generic/pgf/utilities/pgfutil-common-lists.tex))
(/usr/local/texlive/2021/texmf-dist/tex/generic/pgf/utilities/pgfkeys.code.tex
(/usr/local/texlive/2021/texmf-dist/tex/generic/pgf/utilities/pgfkeysfiltered.code.tex))
(/usr/local/texlive/2021/texmf-dist/tex/generic/pgf/utilities/pgffor.code.tex
Loading pgffor.code.tex
(/usr/local/texlive/2021/texmf-dist/tex/generic/pgf/math/pgfmath.code.tex
(/usr/local/texlive/2021/texmf-dist/tex/generic/pgf/math/pgfmathcalc.code.tex
(/usr/local/texlive/2021/texmf-dist/tex/generic/pgf/math/pgfmathutil.code.tex)
(/usr/local/texlive/2021/texmf-dist/tex/generic/pgf/math/pgfmathparser.code.tex)
(/usr/local/texlive/2021/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.code.tex
(/usr/local/texlive/2021/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.basic.code.tex)
(/usr/local/texlive/2021/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.trigonometric.code.tex)
(/usr/local/texlive/2021/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.random.code.tex)
(/usr/local/texlive/2021/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.comparison.code.tex)
(/usr/local/texlive/2021/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.base.code.tex)
(/usr/local/texlive/2021/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.round.code.tex)
(/usr/local/texlive/2021/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.misc.code.tex)
(/usr/local/texlive/2021/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.integerarithmetics.code.tex)))
(/usr/local/texlive/2021/texmf-dist/tex/generic/pgf/math/pgfmathfloat.code.tex)))
`PSTricks' v3.06  <2021/08/27> (tvz,hv)
--- We are running latex or xelatex ---
(/usr/local/texlive/2021/texmf-dist/tex/xelatex/xetex-pstricks/pstricks.con
(/usr/local/texlive/2021/texmf-dist/tex/generic/pstricks/config/xdvipdfmx.cfg))
(/usr/local/texlive/2021/texmf-dist/tex/generic/pstricks/pstricks-arrows.tex)
Test lualatex
Test false
(/usr/local/texlive/2021/texmf-dist/tex/xelatex/xetex-pstricks/pstricks.con
(/usr/local/texlive/2021/texmf-dist/tex/generic/pstricks/config/xdvipdfmx.cfg
Using PSTricks configuration for LaTeX+dvipdfmx
))) (/usr/local/texlive/2021/texmf-dist/tex/generic/pstricks/pst-fp.tex
`pst-fp' v0.06, 2020/11/20 (hv))
>>> Loading XeTeX special macros
(/usr/local/texlive/2021/texmf-dist/tex/generic/pstricks/pstricks-xetex.def))
(/usr/local/texlive/2021/texmf-dist/tex/latex/pst-plot/pst-plot.sty
(/usr/local/texlive/2021/texmf-dist/tex/latex/xkeyval/pst-xkey.sty)
(/usr/local/texlive/2021/texmf-dist/tex/latex/multido/multido.sty
(/usr/local/texlive/2021/texmf-dist/tex/generic/multido/multido.tex
 v1.42, 2010/05/14 <tvz>))
(/usr/local/texlive/2021/texmf-dist/tex/generic/pst-plot/pst-plot.tex
(/usr/local/texlive/2021/texmf-dist/tex/generic/pst-tools/pst-tools.tex
`PST-tools' v0.10, 2020/03/24 (hv))
(/usr/local/texlive/2021/texmf-dist/tex/generic/pstricks-add/pstricks-add.tex
(/usr/local/texlive/2021/texmf-dist/tex/generic/pst-node/pst-node.tex
 v1.42a, 2020/04/01)
(/usr/local/texlive/2021/texmf-dist/tex/generic/pst-arrow/pst-arrow.tex
`pst-arrow' v0.04, 2021/08/25 (dr,hv))
(/usr/local/texlive/2021/texmf-dist/tex/generic/pst-3d/pst-3d.tex
`PST-3d' v1.11, 2010/02/14 (tvz))
(/usr/local/texlive/2021/texmf-dist/tex/generic/pst-math/pst-math.tex
`pst-math' v0.64 , (CJ,hv)) `pstricks-add' v3.89a, 2020/02/12 (dr,hv))
 v1.92, 2019/05/16 (tvz,hv)))
(/usr/local/texlive/2021/texmf-dist/tex/latex/pst-node/pst-node.sty
(/usr/local/texlive/2021/texmf-dist/tex/generic/pst-node/pst-node.tex))
(/usr/local/texlive/2021/texmf-dist/tex/latex/pst-3d/pst-3d.sty
(/usr/local/texlive/2021/texmf-dist/tex/generic/pst-3d/pst-3d.tex))
(/usr/local/texlive/2021/texmf-dist/tex/latex/pst-math/pst-math.sty
(/usr/local/texlive/2021/texmf-dist/tex/latex/pst-calculate/pst-calculate.sty
(/usr/local/texlive/2021/texmf-dist/tex/latex/l3packages/xparse/xparse.sty
(/usr/local/texlive/2021/texmf-dist/tex/latex/l3kernel/expl3.sty
(/usr/local/texlive/2021/texmf-dist/tex/latex/l3backend/l3backend-xetex.def
(|extractbb --version))))
(/usr/local/texlive/2021/texmf-dist/tex/latex/siunitx/siunitx.sty
(/usr/local/texlive/2021/texmf-dist/tex/latex/translations/translations.sty
(/usr/local/texlive/2021/texmf-dist/tex/latex/etoolbox/etoolbox.sty)
(/usr/local/texlive/2021/texmf-dist/tex/generic/pdftexcmds/pdftexcmds.sty
(/usr/local/texlive/2021/texmf-dist/tex/generic/infwarerr/infwarerr.sty)
(/usr/local/texlive/2021/texmf-dist/tex/generic/ltxcmds/ltxcmds.sty)))
(/usr/local/texlive/2021/texmf-dist/tex/latex/amsmath/amstext.sty
(/usr/local/texlive/2021/texmf-dist/tex/latex/amsmath/amsgen.sty))
(/usr/local/texlive/2021/texmf-dist/tex/latex/l3packages/l3keys2e/l3keys2e.sty) (/usr/local/texlive/2021/texmf-dist/tex/latex/tools/array.sty)))
(/usr/local/texlive/2021/texmf-dist/tex/generic/iftex/ifluatex.sty)
(/usr/local/texlive/2021/texmf-dist/tex/generic/xstring/xstring.sty
(/usr/local/texlive/2021/texmf-dist/tex/generic/xstring/xstring.tex))
(/usr/local/texlive/2021/texmf-dist/tex/generic/pst-math/pst-math.tex))
(/usr/local/texlive/2021/texmf-dist/tex/generic/pstricks-add/pstricks-add.tex))
(./test-pstricks.aux)
(/usr/local/texlive/2021/texmf-dist/tex/latex/base/ts1cmr.fd)
(/usr/local/texlive/2021/texmf-dist/tex/latex/translations/translations-basic-dictionary-english.trsl) [1] (./test-pstricks.aux) )
Output written on test-pstricks.pdf (1 page).
SyncTeX written on test-pstricks.synctex.gz.
Transcript written on test-pstricks.log.

TeX Output finished at Tue Aug 31 17:38:33

Using emacs with auctex (but do'nt think it’s so important).
Thank your for your help.
Thierry Wybrecht


More information about the PSTricks mailing list.