[pstricks] Bug in pstricks with \psframebox* ?

Herbert Voss Herbert.Voss at fu-berlin.de
Sun Mar 3 11:54:31 CET 2019


m 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}
> 
> 
> A white frame is drawn under the "text 2" and it should not.
> 

the problem is the line

\if at star\pst at starbox\fi

in the definition of _\rnode_. I cannot remember when and why it was
introduced, because it is missing in the first pst-node.tex
from last century. I have to investigate.


> 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.

yes, that is for some hiostorical reason. It doesn't hurt.

Herbert


More information about the PSTricks mailing list