[pdftex] Collision colorstacks of pdftex-1.40.1 and beamer/pgf?

Heiko Oberdiek oberdiek at uni-freiburg.de
Mon Jan 15 23:16:28 CET 2007


On Mon, Jan 15, 2007 at 10:27:47PM +0200, Victor Ivrii wrote:

> On 1/15/07, Heiko Oberdiek <oberdiek at uni-freiburg.de> wrote:
> 
> >
> > Some obscurity I found in latex/base/beamerbaseboxes.sty:
> >   \newcommand\beamerboxesrounded[2][]{%
> >     ...
> >     \setbox\bmb at colorbox=\hbox{\color{lower.bg}}
> >     ...
> >   }
> >
> > \color issues \aftergroup\reset at color, thus a
> > \reset at color is executed outside the \hbox of the
> > \setbox command. I don't think, this is a good place
> > for \reset at color. However I don't understand the purpose
> > of the code with \bmb at colorbox.
> >
> > Yours sincerely
> >   Heiko <oberdiek at uni-freiburg.de>
> 
> 
> 
> After I posted your response the author answered:
> 
> Hi!
> 
> the obscurity you found in beamerbaseboxes is already fixed in the CVS
> since it causes problems in dvips, also. The new code avoids all the
> reset at color stuff.
> 
> Could you do me a favor and check whether the problem disappears when you
> replace the line as done in the CVS, namely by:
> 
>   \setbox\bmb at colorbox=\hbox{{\pgfpicturetrue\pgfsetcolor{lower.bg}}}%
> 
> If the problem disappears, we got the culprit...

The problem disappears in my short test file and Victor's long
real life example.

> Thanks in advance,

Thanks, too.

Yours sincerely
  Heiko <oberdiek at uni-freiburg.de>
-- 


More information about the pdftex mailing list