Debian 10 测试、TL2019、xelatex 和 pstricks

Debian 10 测试、TL2019、xelatex 和 pstricks

使用此代码

\listfiles
\documentclass{article}
\usepackage{pstricks,pstricks-add}
\begin{document}
\begin{pspicture}(-5,-3)(5,6)
  \psaxes[linewidth=1.2pt,labels=none]{->}(0,0)(-5,-3)(5,6)
  \uput[90](1,0){1}
  \uput[l](0,1){1}
\end{pspicture}
\end{document}

不正确:(Debian 10 / xelatex / TL2019 - 1 月 6 日)

标签不正确

正确:(Debian 10 / latex+dvips+ps2pdf / TL2019 - 1 月 6 日)

标签正确

日志文件:

答案1

从源代码编译 TL,并用“新” xdvipdfmx 替换“旧” xdvipdfmx。感谢 Herbert Voss 和 nmarkeytexnique.fr

答案2

太大了,无法发表评论,但这是我使用 xelatex 和完全最新的上游 TeXLive 2019 获得的结果,看起来与您的两张图片都不一样。

在此处输入图片描述

MWE 编辑为不显示网格:

在此处输入图片描述

对应文件列表:

*File List*
 article.cls    2019/10/25 v1.4k Standard LaTeX document class
  size10.clo    2019/10/25 v1.4k Standard LaTeX file (size option)
pstricks.sty    2018/12/21 v0.69 LaTeX wrapper for `PSTricks' (RN,HV)
   iftex.sty    2019/11/07 v1.0c TeX engine tests
shellesc.sty    2019/11/08 v1.0c unified shell escape interface for LaTeX
  xcolor.sty    2016/05/11 v2.12 LaTeX color extensions (UK)
   color.cfg    2016/01/02 v1.6 sample color configuration
   xetex.def    2017/06/24 v5.0h 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    2014/12/03 v2.7a package option processing (HA)
 xkeyval.tex    2014/12/03 v2.7a key=value parser (HA)
pstricks.tex    2019/05/11 v2.97 `PSTricks' (tvz,hv)
  pst-fp.tex    2019/05/11 v2.97 `PST-fp' (hv)
pstricks-xetex.def
pstricks-add.sty    2018/02/04 v. 0.16 package wrapper for pstricks-add.tex (hv
)
pst-plot.sty    2011/04/13 package wrapper for pst-plot.tex (hv)
pst-xkey.sty    2005/11/25 v1.6 package wrapper for pst-xkey.tex (HA)
 multido.sty    2004/05/17 package wrapper for PSTricks `multido.tex', (HV/RN)
 multido.tex    2010/05/14 v1.42 `multido' (tvz,hv)
pst-plot.tex    2019/05/16 1.92 `pst-plot' (tvz,hv)
pst-node.sty    2010/04/22 package wrapper for pst-node.tex
pst-node.tex    2019/05/16 1.92 `pst-node' (tvz,hv)
  pst-3d.sty    2009/07/28 package wrapper for pst-3d.tex (hv)
  pst-3d.tex    2019/05/16 v1.92 `PST-3d' (hv)
pst-math.sty    2018/12/16 v 0.65 package wrapper for PSTricks pst-math.tex
pst-calculate.sty    2019/01/24 v. 0.02(Herbert Voss) Support for caculations w
ith floating point numbers.
  xparse.sty    2019-10-11 L3 Experimental document command parser
   expl3.sty    2019-11-07 L3 programming layer (loader) 
expl3-code.tex    2019-11-07 L3 programming layer 
l3deprecation.def    2019-04-06 v L3 Deprecated functions
l3backend-xdvipdfmx.def    2019-04-06 L3 backend support: xdvipdfmx
 siunitx.sty    2019/10/10 v2.7t A comprehensive (SI) units package
 amstext.sty    2000/06/29 v2.01 AMS text
  amsgen.sty    1999/11/30 v2.0 generic functions
   array.sty    2019/08/31 v2.4l Tabular extension package (FMi)
l3keys2e.sty    2019-10-11 LaTeX2e option processing using LaTeX3 keys
translator.sty    2019-05-31 v1.12a Easy translation of strings in LaTeX
ifluatex.sty    2019/10/25 v1.5 ifluatex legacy package. Use iftex instead.
 xstring.sty    2019/02/06 v1.83 String manipulations (CT)
pstricks-add.tex    2019/05/16 v1.92 `PSTricks-add' (hv)
translator-basic-dictionary-English.dict    
siunitx-abbreviations.cfg    2017/11/26 v2.7k siunitx: Abbreviated units
 ***********

相关内容