TeX - LaTeX Asked by eudoxos on December 7, 2020
This is a MWE using rput
in full-page picture to put text to the middle of the page:
documentclass{article}
usepackage[paperheight=100mm,paperwidth=100mm,margin=0mm,noheadfoot]{geometry}
usepackage{pstricks}
begin{document}
psset{unit=1mm}
begin{pspicture}(0,0)(paperwidth,paperheight)
rput[bl](50mm,50mm){abc}
end{pspicture}
end{document}
and this is the result:
This was compiled with xelatex on TeXlive 2019.202000218 (as packaged in Ubuntu 20.04). I am quite sure rput
used to work correctly as a more complex document, where this was used, is now broken and used to work (= abc
was placed correctly) before the upgrade from Ubuntu 18.04 and related TEXlive packages.
Is there a problem on my side? Is there some fix for this?
Thanks!
PS: compiling via latex
→ dvips
places the text correctly.
The same issue is described in TeXLive 2019 Debian: Pst-plots wrong axes label positioning (and explained in the comment linked) and comes from version mismatch between ghostscript and dvipdfmx.
It was solved by overwriting ubuntu-packaged /usr/bin/xdvipdfmx
binary and its config /usr/share/texlive/texmf-dist/dvipdfmx/dvipdfmx.cfg
with corresponding files from TeXLive 2020.
Correct answer by eudoxos on December 7, 2020
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP