[pstricks] pstricks xelatex and Specialccor

Thierry WYBRECHT th-1.wybrecht at orange.fr
Wed Mar 21 22:37:43 CET 2018


Hello,

this file works fine with latex,dvips ans ps2pdf:

\documentclass[a4paper,12pt]{article}

\usepackage{pst-all}
usepackage{pst-eucl}

\begin{document}
\psset{unit=12cm}
\begin{pspicture}(-.01,-.01)(1.01,1.62)
  \psset{PointName=none,PointSymbol = none}
  \pstGeonode(0,0){A_0}
  \pstGeonode(1,0){B_0}
  \pstGeonode(! 1 5 sqrt 1 add 2 div){C_0}
  \pstGeonode(! 0 5 sqrt 1 add 2 div){D_0}
  \pspolygon(A_0)(B_0)(C_0)(D_0)
  \pstVerb{/coef 5 sqrt 1 sub 2 div def}
  \multido{\iA=0+2,\iB=2+2}{12}{
  \pstHomO[HomCoef = coef,PointSymbol=none]{A_\iA}{A_\iA,B_\iA,C_\iA,D_\iA}[A_1,B_1,C_1,D_1]
  \pstRotation[RotAngle=90]{D_1}{A_1,B_1,C_1,D_1}[A_\iB,B_\iB,C_\iB,D_\iB]
  \pspolygon(A_\iB)(B_\iB)(C_\iB)(D_\iB)
   \pstArcOAB{D_1}{A_\iA}{A_\iB}
  }
\end{pspicture}

\begin{center}
  with LaTeX -> dvips -> ps2pdf: BEAUTIFUL !
\end{center}
\end{document}

but with xelatex, the output looks very bad: the nodes are not
at the correct places.
Is it a problem with xdvipdfmx ?

Thank you for any answer!

Thierry Wybrecht


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/pstricks/attachments/20180321/42a79cc1/attachment.html>


More information about the PSTricks mailing list