Par exemple, le code suivant est directement compilé sans aucun problème par lualatex car le paquet intègre un interpréteur Postscript en Lua.2021-11-13: update With up-to-date PSTricks you can run yor PSTricks source with lualatex. The output is a PDF file without using GhostScript. The only macro which does not work is \pscharpath.
Code : Tout sélectionner
\documentclass[pstricks,border=0.2cm]{standalone}
\usepackage{pstricks-add}
\begin{document}
\psset{algebraic,plotpoints=500}
\begin{pspicture}(-8,-3.5)(8,3.5)
\psellipse[fillstyle=solid,fillcolor=yellow,linewidth=6.5pt](0,0)(8,3.5)
\pscustom*{%
\psplot{0}{0.5}{2.25}
\psplot{0.5}{0.75}{3*abs(x)+0.75}
\psplot{0.75}{1}{9-8*abs(x)}
\psplot{1}{3}{1.5-0.5*abs(x)-6*sqrt(10)/14*(sqrt(3-x^2+2*abs(x))-2)}
\psplot{3}{7}{3*sqrt(1-(x^2)/49)}
\psplot{7}{4}{-3*sqrt(1-(x^2)/49)}
\psplot{4}{-4}{(abs(x/2)-(3*sqrt(33)-7)*x^2/112)+sqrt(1-(abs(abs(x)-2)-1)^2)-3}
\psplot{-4}{-7}{-3*sqrt(1-(x^2)/49)}
\psplot{-7}{-3}{3*sqrt(1-(x^2)/49)}
\psplot{-3}{-1}{1.5-0.5*abs(x)-6*sqrt(10)/14*(sqrt(3-x^2+2*abs(x))-2)}
\psplot{-1}{-0.75}{9-8*abs(x)}
\psplot{-0.75}{-0.5}{3*abs(x)+0.75}
\psplot{-0.5}{0}{2.25}
}
\end{pspicture}
\end{document}