3

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, 2019 at 11:21
  • +1. I have the same problem.
    – user197952
    Nov 12, 2019 at 13:37
  • It is a problem with the lates 9.50 version of GhostScript. I have to investigate ...
    – user187802
    Nov 12, 2019 at 17:39
  • Akira Kakuto fixed the problem and will upload a modified version of xdvipdfmx
    – user187802
    Nov 13, 2019 at 7:10
  • Nice. Waiting for the fix then...
    – Petros C
    Nov 13, 2019 at 10:30

2 Answers 2

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, 2021 at 7:10
0

I had the same problem with Texlive 2020.

The good link is : https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/tag/gs925.

Problem was solved by downloading and extracting ghostscript-9.25-linux-x86_64.tgz hen

sudo mv /usr/bin/gs /usr/bin/gs954

sudo mv gs-925-linux-x86_64 /usr/bin/gs

Thanks to Chak !

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .