[pstricks] R: R: R: PSTricks and lualatex

Giovanni Dore giovanni.dore at unibo.it
Tue Sep 28 00:01:59 CEST 2021


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--
Operand stack:
   --dict:13/22(ro)(L)--   --nostringval--   --nostringval--   --nostringval--   --nostringval--   1499.0   1779.0   142.264   -142.264   142.264   142.264   -142.264   142.264   142.264
Execution stack:
   %interp_exit   .runexec2   --nostringval--   restore   --nostringval--   2   %stopped_push   --nostringval--   restore   restore   false   1   %stopped_push   1974   1   3   %oparray_pop   1973   1   3   %oparray_pop   1961   1   3   %oparray_pop   1817   1   3   %oparray_pop   --nostringval--   %errorexec_pop   .runexec2   --nostringval--   restore   --nostringval--   2   %stopped_push   --nostringval--   1878   13   5   %oparray_pop   restore   1859   13   5   %oparray_pop   restore
Dictionary stack:
   --dict:746/1123(ro)(G)--   --dict:1/20(G)--   --dict:155/200(L)--   --dict:182/300(L)--   --dict:84/200(L)--
Current allocation mode is local
Current file position is 146458
GPL Ghostscript 9.53.3: Unrecoverable error, exit code 1

In the pdf file the world "Test" is missing.

Without the environment tcolorbox or without psclip there is no error.

I have to add that after the last pstricks update also xelatex does not typeset this file, but maybe I have to change the command in the preferences of my editor.

Giovanni

________________________________________
Da: PSTricks <pstricks-bounces+giovanni.dore=unibo.it at tug.org> per conto di Herbert Voss <Herbert.Voss at fu-berlin.de>
Inviato: domenica 26 settembre 2021 06:50
A: pstricks at tug.org
Oggetto: Re: [pstricks] R: R: PSTricks and lualatex



Am 25.09.21 um 23:41 schrieb Giovanni Dore:
> With latex->dvips->ps2pdf I have coexistence problems between pstricks and tcolorbox.

show examples ...

Herbert#
--
list: https://lists.tug.org/pstricks
archive: https://tug.org/pipermail/pstricks/



More information about the PSTricks mailing list.