[pstricks] R: PSTricks and lualatex

Herbert Voss Herbert.Voss at fu-berlin.de
Sat Sep 25 16:25:05 CEST 2021



Am 25.09.21 um 15:00 schrieb Giovanni Dore:
> Wonderful, many thanks!
> For me it is a big improvement, since LuaLaTeX typeset my 200 pages notes in 40 seconds while XeLaTeX requires 250 seconds.

For big data sets or functions with heavy calculations the 
latex->dvips->ps2pdf
is still much more faster! Maybe that this will chanhe in the future ...

Herbert




> Giovanni
>
> ________________________________________
> Da: PSTricks <pstricks-bounces+giovanni.dore=unibo.it at tug.org> per conto di Herbert Voss <Herbert.Voss at fu-berlin.de>
> Inviato: sabato 25 settembre 2021 11:15
> A: Graphics with PSTricks
> Oggetto: [pstricks] PSTricks and lualatex
>
> Hello all,
>
> with up-to-date TeXLive or MiKTeX you can run your
> PSTricks code with lualatex without using Ghostscript.
> It will directly create a pdf. Only the \pscharpath from
> pst-text is at this time not possible.
>
>
> An example:
>
> \RequirePackage{pdfmanagement-testphase}
> \DeclareDocumentMetadata{}
> \documentclass{article}
> \usepackage{pstricks}
> \usepackage{fontspec}
> \setmainfont{Lobster Two}% an opentype font
> \begin{document}
>
> AN example with an OpenType font:
>
> \vspace{1cm}
> \begin{pspicture}(5,5)
> \psgrid[subgridcolor=black!20,subgriddiv=10,gridlabels=12pt]
> % gridfont is helvetica (default)
> \end{pspicture}
> \qquad
> \begin{pspicture}(5,5)
> \psgrid[subgridcolor=black!20,subgriddiv=10,gridlabels=12pt,gridfont={}]
> % gridfont is now current font (LobsterTwo)
> \end{pspicture}
>
> \vspace{1cm}
> \begin{pspicture}(5,5)
> \psgrid[subgridcolor=black!20,subgriddiv=10,gridlabels=12pt,gridfont={LibertinusSerif-Regular}]
> % gridfont is now current Libertinus Serif
> \end{pspicture}
>
> \end{document}
>
>
> Herbert
>
> --
> list: https://lists.tug.org/pstricks
> archive: https://tug.org/pipermail/pstricks/



More information about the PSTricks mailing list.