[pstricks] Bug in pstricks with \psframebox* ?
Herbert Voss
Herbert.Voss at fu-berlin.de
Sun Mar 3 17:25:07 CET 2019
Am 02.03.19 um 21:26 schrieb François Pantigny:
> I think there is a bug in pstricks.tex (2019-02-23) concerning \psframebox*
> (but also \pscirclebox*, etc.).
>
> Consider the following code:
>
> \documentclass{article}
> \usepackage{pstricks,pst-node}
> \begin{document}
> Some text: \rlap{\color{gray}\vrule height 1cm depth 1cm width 5 cm}
> \psframebox*{text 1}
> \rnode{node}{text 2}
> \end{document}
I uploaded a new version to CTAN which should be
available in the next two days.
Herbert
>
>
> A white frame is drawn under the "text 2" and it should not.
>
> The definition of \psframebox is:
>
> \def\psframebox{\def\pst at par{}\pst at object{psframebox}}
> \def\psframebox at i{\pst at makebox\psframebox at ii}
> \def\psframebox at ii{%
> \begingroup
> \pst at useboxpar
> \pst at dima=\pslinewidth etc.
>
> Maybe the \begingroup of the beginning of \psframebox at ii should be in the
> beginning of \psframebox instead.
>
> Morever, I think that the \def\pst at par{} at the beginning of \psframebox is
> useless since there is the same instruction at the beginning of \pst at object.
>
>
> F. Pantigny
>
>
>
>
>
>
>
> _______________________________________________
> PSTricks mailing list
> PSTricks at tug.org
> https://tug.org/mailman/listinfo/pstricks
> archive: http://www.tug.org/pipermail/pstricks/
>
More information about the PSTricks
mailing list