[pstricks] PSTricks and lualatex
Giovanni Dore
giovanni.dore at unibo.it
Wed Sep 29 09:44:48 CEST 2021
It works, may thanks!
Giovanni
> Il giorno 28 set 2021, alle ore 06:47, Herbert Voss <Herbert.Voss at FU-Berlin.DE> ha scritto:
>
>
>
> Am 28.09.21 um 00:01 schrieb Giovanni Dore:
>> A minimal example is:
>>
>> ---------------Test.tex----------------
>>
>> \documentclass{book}
>> \usepackage{tcolorbox}
>> \usepackage{pstricks}
>>
>> \begin{document}
>> \begin{tcolorbox}
>> \begin{pspicture}(-5,-5)(5,5)
>> \begin{psclip}{\pspolygon[linestyle=none](-5,-5)(-5,5)(5,5)(5,-5)}%
>> \psline(-2,-7)(2,7)
>> \end{psclip}%
>> \end{pspicture}
>> \end{tcolorbox}
>>
>> Test
>> \end{document}
>> -------------------------------------
>>
>> With latex->dvips->ps2pdf I get
>>
>> GPL Ghostscript 9.53.3 (2020-10-01)
>> Copyright (C) 2020 Artifex Software, Inc. All rights reserved.
>> This software is supplied under the GNU AGPLv3 and comes with NO WARRANTY:
>> see the file COPYING for details.
>> Error: /typecheck in --restore--
>
> The dvips driver of pgf is buggy. Use your example this way:
>
> \documentclass{book}
> \usepackage{tcolorbox}
> \usepackage{pstricks}
>
> \begin{document}
> \begin{tcolorbox}
> \begin{pspicture*}(-5,-5)(5,5)
> \psline(-2,-7)(2,7)
> \end{pspicture*}
> \end{tcolorbox}
>
> Test
> \end{document}
>
> Herbert
> --
> list: https://lists.tug.org/pstricks
> archive: https://tug.org/pipermail/pstricks/
More information about the PSTricks
mailing list.