2

After Ghostscript updated to 9.50, labels with \rput appear at (0,0) with PSTricks. I'm using Texlive 2019 (with all the latest updates)

\documentclass[a4paper, 12pt]{standalone}
\usepackage{mathspec}
\setmainfont{Calibri}
\setmathfont(Greek,Latin,Digits)[Uppercase=Regular, Lowercase=Regular, Arabic=Regular]{Calibri}
\usepackage{pstricks}
\usepackage{tikz}
%
\begin{document}

    \begin{pspicture}(-.5, -.5)(4.5, 4.5)
        \pspolygon[showpoints=true](0, 0)(4, 0)(2, 4) \rput(0,-.3){$B$} \rput(4, -.3){$Γ$} \rput(2, 4.3){$A$}
        \psdots(2, 0)(.75, 1.5)(3.25, 1.5) \rput(2, -.3){$M$} \put(.5, 1.6){$K$} \rput(3.5, 1.6){$Λ$}
    \end{pspicture}

\end{document}

enter image description here

12
  • Welcome to TeX SX! I have absolutely no problem (nut I'm not sure it uses the system-wide ghostscript or the version from my distribution, which is older). – Bernard Nov 12 '19 at 11:21
  • +1. I have the same problem. – user197952 Nov 12 '19 at 13:37
  • It is a problem with the lates 9.50 version of GhostScript. I have to investigate ... – user187802 Nov 12 '19 at 17:39
  • Akira Kakuto fixed the problem and will upload a modified version of xdvipdfmx – user187802 Nov 13 '19 at 7:10
  • Nice. Waiting for the fix then... – Petros C Nov 13 '19 at 10:30
0

I faced this problem in Ubuntu 20.04 with Ghostscript v9.50. The problem went away by installing gs v9.25 from sources downloaded from this link. There was no problem with installation.

However, I also kept gs v9.50 in /usr/bin/gs as /usr/bin/gs95.

1
  • The link is either broken or not working properly at the time of this comment – Leucippus Mar 19 at 7:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.