[pstricks] Fwd: lualatex/xelatex-pstricks

Antonis Tsolomitis atsol at aegean.gr
Wed Nov 17 07:48:34 CET 2021



Dear Herbert, I copied pasted the code you gave below and saved
pst-geometrictools.tex
in the same folder.

lualatex still produces errors. The first one is

! Undefined control sequence.
<argument> \LaTeX3 error:
                Unknown fp word tx.
l.662  }


I will send you the log file after pressing s+Enter with personal email
(next).

Antonis.



On 11/13/21 9:27 PM, Herbert Voss wrote:
>
>
>
> -------- Weitergeleitete Nachricht --------
> Betreff:     Re: [pstricks] lualatex/xelatex-pstricks
> Datum:     Sat, 13 Nov 2021 19:28:45 +0100
> Von:     Herbert Voss <Herbert.Voss at fu-berlin.de>
> Antwort an:     Graphics with PSTricks <pstricks at tug.org>
> An:     pstricks at tug.org
>
>
>
>
>
> Am 13.11.21 um 13:04 schrieb Antonis Tsolomitis via PSTricks:
>>
>> I try to use lualatex on the attached code in an attempt to avoid
>> xelatex
>> since it requires the NOSAFER option in it's configuration or
>> commandline.
>>
>> But lualatex produces errors. So I would like to ask if I need some
>> package which I do not know of
>> or it is bug somewhere. The attached pdf is from xelatex which
>> compiles the file fine. (I am on texlive2021)
>>
>
> there are some bugs in pst-geometrictools. Use the attached version
> and it
> should work with lualatex. For transparency you need the first two lines
> of the follwing code.
>
> Herbert
>
>
>
> \RequirePackage{pdfmanagement-testphase}
> \DeclareDocumentMetadata{}
> \documentclass[pstricks]{standalone}
> \usepackage[gfsneohellenic]{fontsetup}
> \usepackage{xcolor,color}
> \usepackage{pstricks,pst-geometrictools,pstricks-add,pst-node}
> \definecolor{BrickRed}{rgb}{.702,0.1333,0.1333}
> \definecolor{SeaGreen}{rgb}{.1804,.5451,.34117647}
> \begin{document}
>
> \begin{pspicture}[showgrid](-4.0,-4)(14.7,4.5)
> \psline[linewidth=1pt](-1,0)(5,0)
> \psline[linewidth=0.6pt](4,-.2)(4,.2)\psline[linewidth=0.6pt](0,-.2)(0,.2)
>
> \rput(3.7,.3){$A$}\rput(0.4,.3){$A'$}
> \rput(2.6,-3.4){$M$}\rput(2.6,3.4){$N$}\rput(2.3,.3){$O$}\psdot[dotsize=3pt](2,0)
>
> \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}
>
> \pscircle[linewidth=1pt](2,0){2}
> \psarc[linewidth=1pt,linecolor=BrickRed](4,0){4}{110}{250}
> \psarc[linewidth=1pt,linecolor=blue](0,0){4}{-70}{70}
> \psscalebox{-1 1}{\psCompass[PoCScale=0.8]{2}(A)(N1)}
> \psCompass[PoCScale=0.8,PoCFillCol=blue]{2}(B)(N2)
> %
> \rput[lt](9,0){%
> \psline[linewidth=1pt](-1,0)(5,0)
> \psline[linewidth=0.6pt](4,-.2)(4,.2)\psline[linewidth=0.6pt](0,-.2)(0,.2)
>
> \rput(3.7,.3){$A$}\rput(0.4,.3){$A'$}
> \rput(2.6,-3.4){$M$}\rput(2.6,3.4){$N$}\rput(2.3,.3){$O$}
> \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}
>
> \pscircle[linewidth=1pt](2,0){2}
> \psarc[linewidth=1pt,linecolor=BrickRed](4,0){4}{110}{250}
> \psarc[linewidth=1pt,linecolor=blue](0,0){4}{-70}{70}
> \psPencil[pencilColA=green,PenLength=3]{-120}(2,4)
> \psRuler[opacity=0.15]{0}(1.96,4)(1.96,-3)
> \psline[linewidth=1pt,linecolor=green](2,-4)(2,4)
> }%
> \end{pspicture}
>
> \end{document}
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/pstricks/attachments/20211117/7be80adc/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <https://tug.org/pipermail/pstricks/attachments/20211117/7be80adc/attachment.sig>


More information about the PSTricks mailing list.