pstricks & xelatex

Bruno Voisin bvoisin at icloud.com
Fri Oct 1 01:07:19 CEST 2021


> Just updated macTeX and
> 
> xelatex --shell-escape --synctex=1 -file-line-error 
> -output-driver="xdvipdfmx -i dvipdfmx-unsafe.cfg -q -E" test01.tex
> 
> runs without any problem in a terminal.


This is just to confirm the original report made by Herb Schulz.

With a MacTeX 2021 setup last updated on September 24, and Ghostscript 9.55.0, I could typeset Herb's TransparencyTest.tex just fine, namely


\documentclass{article}
\usepackage{pstricks}
\usepackage{url}

\begin{document}
The \textsf{latexTRmk} and \textsf{latexTR} engines are for gs 9.53 and using transparency.

\begin{pspicture}(-3,-3)(3,3)
\pscircle*[linecolor=blue,opacity=0.2](-1,0){3}
\pscircle*[linecolor=red,opacity=0.2]( 1,0){3}
\end{pspicture}

Place the files in the noted folders in \path{~/Library/TeXShop} and restart TeXShop.

\end{document}


Next I opened TeX Live Utility and applied all the available updates, among which


pst-3dplot
pst-plot
pst-tools
pstricks
pstricks-add


and now I'm getting in the Console, with exactly the same file,


(/usr/local/texlive/2021/texmf-dist/tex/latex/l3backend/l3backend-xetex.def
(|extractbb --version)) (./TransparencyTest.aux)
(/usr/local/texlive/2021/texmf-dist/tex/latex/base/ts1cmr.fd)
Overfull \hbox (9.38pt too wide) in paragraph at lines 14--15
[]\TU/lmr/m/n/10 Place the files in the noted folders in $[] [] [][][][][][][] 
[] [][][][][][][]$ and restart TeXShop. 
[1] (./TransparencyTest.aux)Error: /typecheck in --restore--
Operand stack:
   --dict:13/22(ro)(L)--   --dict:13/22(ro)(L)--
Execution stack:
   %interp_exit   .runexec2   --nostringval--   restore   --nostringval--   2   %stopped_push   --nostringval--   restore   restore   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--   restore   --nostringval--   2   %stopped_push   --nostringval--   1878   1   3   %oparray_pop   restore   1859   1   3   %oparray_pop   restore
Dictionary stack:
   --dict:795/1123(ro)(G)--   --dict:0/20(G)--   --dict:121/200(L)--
Current allocation mode is local
Current file position is 685
GPL Ghostscript 9.55.0: Unrecoverable error, exit code 1
 )


As for the test file by Herbert Voss from


https://tug.org/pipermail/tex-live/2021-September/047424.html


I'm getting the output shown below.

Bruno Voisin


% xelatex --shell-escape --synctex=1 -file-line-error -output-driver="xdvipdfmx -i dvipdfmx-unsafe.cfg -q -E" VossTest.tex
This is XeTeX, Version 3.141592653-2.6-0.999993 (TeX Live 2021) (preloaded format=xelatex)
 \write18 enabled.
entering extended mode
(./VossTest.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/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.te
x
(/usr/local/texlive/2021/texmf-dist/tex/generic/pgf/utilities/pgfutil-common-li
sts.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.c
ode.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.trigo
nometric.code.tex)
(/usr/local/texlive/2021/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.rando
m.code.tex)
(/usr/local/texlive/2021/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.compa
rison.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.integ
erarithmetics.code.tex)))
(/usr/local/texlive/2021/texmf-dist/tex/generic/pgf/math/pgfmathfloat.code.tex)
))
`PSTricks' v3.10a  <2021/09/25> (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-color.tex)
(/usr/local/texlive/2021/texmf-dist/tex/generic/pstricks/pstricks-arrows.tex)
(/usr/local/texlive/2021/texmf-dist/tex/generic/pstricks/pstricks-dots.tex)
(/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-jtree/pst-jtree.sty
(/usr/local/texlive/2021/texmf-dist/tex/generic/pst-jtree/pst-jtree.tex
`PST-jTree' v2.6  <2011/01/04> (jf)
(/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/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/l3backend/l3backend-xetex.def
(|extractbb --version)) (./VossTest.aux)
(/usr/local/texlive/2021/texmf-dist/tex/latex/base/ts1cmr.fd) [1]
(./VossTest.aux)

 *File List*
 article.cls    2021/02/12 v1.4n Standard LaTeX document class
  size10.clo    2021/02/12 v1.4n Standard LaTeX file (size option)
pstricks.sty    2021/08/23 v0.71 LaTeX wrapper for `PSTricks' (RN,HV)
   iftex.sty    2020/03/06 v1.0d TeX engine tests
  xcolor.sty    2016/05/11 v2.12 LaTeX color extensions (UK)
   color.cfg    2016/01/02 v1.6 sample color configuration
   xetex.def    2021/03/18 v5.0k Graphics/color driver for xetex
pst-xkey.tex    2005/11/25 v1.6 PSTricks specialization of xkeyval (HA)
pst-xkey.tex    2005/11/25 v1.6 PSTricks specialization of xkeyval (HA)
 xkeyval.sty    2020/11/20 v2.8 package option processing (HA)
 xkeyval.tex    2014/12/03 v2.7a key=value parser (HA)
pstricks.tex    2021/09/25 v3.10a `PSTricks' (tvz,hv)
pstricks-dots.tex
  pst-fp.tex    2020/11/20 v0.06 `PST-fp' (hv)
pstricks-xetex.def
pst-jtree.sty    2011/01/04 package wrapper for pst-jtree.tex
pst-node.sty    2010/04/22 package wrapper for pst-node.tex
pst-node.tex    2020/04/01 1.42a `pst-node' (tvz,hv)
l3backend-xetex.def    2021-08-04 L3 backend support: XeTeX
  ts1cmr.fd    2019/12/16 v2.5j Standard LaTeX font definitions
 ***********

Error: /typecheck in --restore--
Operand stack:
   --dict:13/22(ro)(L)--   --dict:13/22(ro)(L)--
Execution stack:
   %interp_exit   .runexec2   --nostringval--   restore   --nostringval--   2   %stopped_push   --nostringval--   restore   restore   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--   restore   --nostringval--   2   %stopped_push   --nostringval--   1878   1   3   %oparray_pop   restore   1859   1   3   %oparray_pop   restore
Dictionary stack:
   --dict:795/1123(ro)(G)--   --dict:0/20(G)--   --dict:122/200(L)--
Current allocation mode is local
Current file position is 1047
GPL Ghostscript 9.55.0: Unrecoverable error, exit code 1
Error: /typecheck in --restore--
Operand stack:
   --dict:13/22(ro)(L)--   --dict:13/22(ro)(L)--
Execution stack:
   %interp_exit   .runexec2   --nostringval--   restore   --nostringval--   2   %stopped_push   --nostringval--   restore   restore   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--   restore   --nostringval--   2   %stopped_push   --nostringval--   1878   1   3   %oparray_pop   restore   1859   1   3   %oparray_pop   restore
Dictionary stack:
   --dict:795/1123(ro)(G)--   --dict:0/20(G)--   --dict:122/200(L)--
Current allocation mode is local
Current file position is 1046
GPL Ghostscript 9.55.0: Unrecoverable error, exit code 1
Error: /typecheck in --restore--
Operand stack:
   --dict:13/22(ro)(L)--   --dict:13/22(ro)(L)--
Execution stack:
   %interp_exit   .runexec2   --nostringval--   restore   --nostringval--   2   %stopped_push   --nostringval--   restore   restore   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--   restore   --nostringval--   2   %stopped_push   --nostringval--   1878   1   3   %oparray_pop   restore   1859   1   3   %oparray_pop   restore
Dictionary stack:
   --dict:795/1123(ro)(G)--   --dict:0/20(G)--   --dict:122/200(L)--
Current allocation mode is local
Current file position is 1059
GPL Ghostscript 9.55.0: Unrecoverable error, exit code 1
Error: /typecheck in --restore--
Operand stack:
   --dict:13/22(ro)(L)--   --dict:13/22(ro)(L)--
Execution stack:
   %interp_exit   .runexec2   --nostringval--   restore   --nostringval--   2   %stopped_push   --nostringval--   restore   restore   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--   restore   --nostringval--   2   %stopped_push   --nostringval--   1878   1   3   %oparray_pop   restore   1859   1   3   %oparray_pop   restore
Dictionary stack:
   --dict:795/1123(ro)(G)--   --dict:0/20(G)--   --dict:122/200(L)--
Current allocation mode is local
Current file position is 1057
GPL Ghostscript 9.55.0: Unrecoverable error, exit code 1
Error: /typecheck in --restore--
Operand stack:
   --dict:13/22(ro)(L)--   --dict:13/22(ro)(L)--
Execution stack:
   %interp_exit   .runexec2   --nostringval--   restore   --nostringval--   2   %stopped_push   --nostringval--   restore   restore   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--   restore   --nostringval--   2   %stopped_push   --nostringval--   1878   1   3   %oparray_pop   restore   1859   1   3   %oparray_pop   restore
Dictionary stack:
   --dict:795/1123(ro)(G)--   --dict:0/20(G)--   --dict:122/200(L)--
Current allocation mode is local
Current file position is 1059
GPL Ghostscript 9.55.0: Unrecoverable error, exit code 1
Error: /typecheck in --restore--
Operand stack:
   --dict:13/22(ro)(L)--   --dict:13/22(ro)(L)--
Execution stack:
   %interp_exit   .runexec2   --nostringval--   restore   --nostringval--   2   %stopped_push   --nostringval--   restore   restore   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--   restore   --nostringval--   2   %stopped_push   --nostringval--   1878   1   3   %oparray_pop   restore   1859   1   3   %oparray_pop   restore
Dictionary stack:
   --dict:795/1123(ro)(G)--   --dict:0/20(G)--   --dict:122/200(L)--
Current allocation mode is local
Current file position is 1059
GPL Ghostscript 9.55.0: Unrecoverable error, exit code 1
 )
Output written on VossTest.pdf (1 page).
SyncTeX written on VossTest.synctex.gz.
Transcript written on VossTest.log.




More information about the tex-live mailing list.