<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix"><br>
<br>
Dear Herbert, I copied pasted the code you gave below and saved <br>
pst-geometrictools.tex<br>
in the same folder.<br>
<br>
lualatex still produces errors. The first one is<br>
<br>
! Undefined control sequence.<br>
<argument> \LaTeX3 error: <br>
Unknown fp word tx.<br>
l.662 }<br>
<br>
<br>
I will send you the log file after pressing s+Enter with personal
email (next).<br>
<br>
Antonis.<br>
<br>
<br>
<br>
On 11/13/21 9:27 PM, Herbert Voss wrote:<br>
</div>
<blockquote type="cite"
cite="mid:f2cc4f39-a935-9af7-94d1-72d9a6e5129c@fu-berlin.de">
<br>
<br>
<br>
-------- Weitergeleitete Nachricht --------
<br>
Betreff: Re: [pstricks] lualatex/xelatex-pstricks
<br>
Datum: Sat, 13 Nov 2021 19:28:45 +0100
<br>
Von: Herbert Voss <a class="moz-txt-link-rfc2396E" href="mailto:Herbert.Voss@fu-berlin.de"><Herbert.Voss@fu-berlin.de></a>
<br>
Antwort an: Graphics with PSTricks <a class="moz-txt-link-rfc2396E" href="mailto:pstricks@tug.org"><pstricks@tug.org></a>
<br>
An: <a class="moz-txt-link-abbreviated" href="mailto:pstricks@tug.org">pstricks@tug.org</a>
<br>
<br>
<br>
<br>
<br>
<br>
Am 13.11.21 um 13:04 schrieb Antonis Tsolomitis via PSTricks:
<br>
<blockquote type="cite">
<br>
I try to use lualatex on the attached code in an attempt to
avoid xelatex
<br>
since it requires the NOSAFER option in it's configuration or
commandline.
<br>
<br>
But lualatex produces errors. So I would like to ask if I need
some package which I do not know of
<br>
or it is bug somewhere. The attached pdf is from xelatex which
compiles the file fine. (I am on texlive2021)
<br>
<br>
</blockquote>
<br>
there are some bugs in pst-geometrictools. Use the attached
version and it
<br>
should work with lualatex. For transparency you need the first two
lines
<br>
of the follwing code.
<br>
<br>
Herbert
<br>
<br>
<br>
<br>
\RequirePackage{pdfmanagement-testphase}
<br>
\DeclareDocumentMetadata{}
<br>
\documentclass[pstricks]{standalone}
<br>
\usepackage[gfsneohellenic]{fontsetup}
<br>
\usepackage{xcolor,color}
<br>
\usepackage{pstricks,pst-geometrictools,pstricks-add,pst-node}
<br>
\definecolor{BrickRed}{rgb}{.702,0.1333,0.1333}
<br>
\definecolor{SeaGreen}{rgb}{.1804,.5451,.34117647}
<br>
\begin{document}
<br>
<br>
\begin{pspicture}[showgrid](-4.0,-4)(14.7,4.5)
<br>
\psline[linewidth=1pt](-1,0)(5,0)
<br>
\psline[linewidth=0.6pt](4,-.2)(4,.2)\psline[linewidth=0.6pt](0,-.2)(0,.2)
<br>
\rput(3.7,.3){$A$}\rput(0.4,.3){$A'$}
<br>
\rput(2.6,-3.4){$M$}\rput(2.6,3.4){$N$}\rput(2.3,.3){$O$}\psdot[dotsize=3pt](2,0)
<br>
\pnode(4,0){A}\pnode(0,0){B}\pnode(2,-1.5){M}\pnode(2.61,3.76){N1}\pnode(1.41,3.76){N2}
<br>
\pscircle[linewidth=1pt](2,0){2}
<br>
\psarc[linewidth=1pt,linecolor=BrickRed](4,0){4}{110}{250}
<br>
\psarc[linewidth=1pt,linecolor=blue](0,0){4}{-70}{70}
<br>
\psscalebox{-1 1}{\psCompass[PoCScale=0.8]{2}(A)(N1)}
<br>
\psCompass[PoCScale=0.8,PoCFillCol=blue]{2}(B)(N2)
<br>
%
<br>
\rput[lt](9,0){%
<br>
\psline[linewidth=1pt](-1,0)(5,0)
<br>
\psline[linewidth=0.6pt](4,-.2)(4,.2)\psline[linewidth=0.6pt](0,-.2)(0,.2)
<br>
\rput(3.7,.3){$A$}\rput(0.4,.3){$A'$}
<br>
\rput(2.6,-3.4){$M$}\rput(2.6,3.4){$N$}\rput(2.3,.3){$O$}
<br>
\pnode(4,0){A}\pnode(0,0){B}\pnode(2,-1.5){M}\pnode(2.61,3.76){N1}\pnode(1.41,3.76){N2}
<br>
\pscircle[linewidth=1pt](2,0){2}
<br>
\psarc[linewidth=1pt,linecolor=BrickRed](4,0){4}{110}{250}
<br>
\psarc[linewidth=1pt,linecolor=blue](0,0){4}{-70}{70}
<br>
\psPencil[pencilColA=green,PenLength=3]{-120}(2,4)
<br>
\psRuler[opacity=0.15]{0}(1.96,4)(1.96,-3)
<br>
\psline[linewidth=1pt,linecolor=green](2,-4)(2,4)
<br>
}%
<br>
\end{pspicture}
<br>
<br>
\end{document}
<br>
<br>
<br>
</blockquote>
<br>
</body>
</html>