最小示例:
\documentclass{dinbrief}
\RequirePackage{auto-pst-pdf,pst-barcode}
\begin{document}
This is a test.
\end{document}
从 texlive 2021 运行 xelatex 结果是
>>> Loading XeTeX special macros
(/usr/local/texlive/2021/texmf-dist/tex/generic/pstricks/pstricks-xetex.def))
(/usr/local/texlive/2021/texmf-dist/tex/generic/pst-barcode/pst-barcode.tex
`PST-barcode' v0.18, 2017/08/22 (tb,hv)
(/usr/local/texlive/2021/texmf-dist/tex/latex/marginnote/marginnote.sty)))
(./input.aux) (/usr/local/texlive/2021/texmf-dist/tex/latex/base/ts1cmr.fd)
! Undefined control sequence.
\set@color ->\special {color push \current@color
}\aftergroup \reset@color
\@outputpage ...t {\vfil \color@hbox \normalcolor
\hb@xt@ \textwidth {\@theh...
\@opcol ...lumn \@outputdblcol \else \@outputpage
\fi \global \@mparbottom \...
<output> ...specialoutput \else \@makecol \@opcol
\@startcolumn \@whilesw \i...
\newpage ...prevdepth \fi \fi \vfil \penalty -\@M
\enddocument ->\@checkend {document} \newpage
\begingroup \if@filesw \ifnum ...
\end ...ook {env/#1/end}}\csname end#1\endcsname
\@checkend {#1}\expandafte...
l.8 \end{document}
相同示例在没有 pst-barcode 或使用 article 而不是 dinbrief 时有效。有什么想法吗?