Xelatex + Pstricks : problème avec mise à jour de la TL2019
Bonsoir,
voici le code testé :
\listfiles
\documentclass{article}
\usepackage{pstricks,pstricks-add}
\begin{document}
\begin{pspicture}(-5,-3)(5,6)
\psgrid[gridwidth=0.8pt,gridcolor=gray,subgriddiv=2,gridlabels=0](-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}
\uput[dl](0,0){0}
\psplot[plotstyle=curve]{-5}{5}{0.25 x x mul mul 1 sub}
\end{pspicture}
\end{document}
Avec une TL2019 mise à jour, une suppression de mon texmf personnel (conflit de package), un xdvipdfmx.cfg changé sur les conseils d'Herbet Voss, toujours un résultat incohérent et incompréhensible...
![Résultat][1]
Voici le listfiles :
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
Mais où se situe le bug ?
PS :
- Avec une TL2019 "ancienne" (Sous Linux Mint 19.1), la compilation avec xelatex passe très bien (les axes sont bien gradués)
- Avec une TL2019 d'hier (soit, pour les archives :), du 5 janvier), sur la Debian 10, J'utilise GPL Ghostscript 9.50 (2019-10-15)
- la compilation avec xelatex pose problème : les unités sur les axes sont mal placées (sauf LaTeX+dvips+ps2pdf donne le 0 à l'origine du repère)
Les listfiles indiquent bien des différences :
- TL 2019 "ancienne" :
*File List*
article.cls 2018/09/03 v1.4i Standard LaTeX document class
size10.clo 2018/09/03 v1.4i Standard LaTeX file (size option)
pstricks.sty 2018/12/21 v0.69 LaTeX wrapper for `PSTricks' (RN,HV)
iftex.sty 2013/04/04 v0.2 Provides if(tex) conditional for PDFTeX, XeTeX,
and LuaTeX
shellesc.sty 2016/06/07 v0.02a 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/02/23 v2.96 `PSTricks' (tvz,hv)
pst-fp.tex 2019/02/23 v2.96 `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 2018/08/31 1.91 `pst-plot' (tvz,hv)
pst-node.sty 2010/04/22 package wrapper for pst-node.tex
pst-node.tex 2018/08/31 1.91 `pst-node' (tvz,hv)
pst-3d.sty 2009/07/28 package wrapper for pst-3d.tex (hv)
pst-3d.tex 2018/08/31 v1.91 `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-03-05 L3 Experimental document command parser
expl3.sty 2019-04-06 L3 programming layer (loader)
expl3-code.tex 2019-04-06 L3 programming layer
l3xdvipdfmx.def 2019-04-06 v L3 Experimental driver: xdvipdfmx
siunitx.sty 2018/05/17 v2.7s 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 2018/12/30 v2.4k Tabular extension package (FMi)
l3keys2e.sty 2019-03-05 LaTeX2e option processing using LaTeX3 keys
translator.sty 2018/01/04 v1.12 Easy translation of strings in LaTeX
ifluatex.sty 2016/05/16 v1.4 Provides the ifluatex switch (HO)
xstring.sty 2019/02/06 v1.83 String manipulations (CT)
pstricks-add.tex 2018/08/31 v1.91 `PSTricks-add' (hv)
translator-basic-dictionary-English.dict
siunitx-abbreviations.cfg 2017/11/26 v2.7k siunitx: Abbreviated units
-avec la TL 2019 du 5/01 :
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/02/22 v1.5 PSTricks specialization of xkeyval (HA)
pst-xkey.tex 2005/02/22 v1.5 PSTricks specialization of xkeyval (HA)
xkeyval.sty 2005/08/12 v2.5d package option processing (HA)
xkeyval.tex 2005/08/12 v2.5d 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/02/22 v1.5 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
on voit bien qu'il y a des différences.
Mais où se situe le bug ?
résultat attendu...
[1]: https://texnique.fr/osqa/upfiles/Examplexelatex.png