Ingo Krabbe | 2 Apr 2012 11:20
Picon

Re: tikz breaks topinsert


I don't know if it breaks topinsert, but I think such problems might be solved by restoring shipout, which I
do on every tikz inclusion:

\let\oldShipout\shipout\input tikz\let\shipout\oldShipout

This helped me to use tikz in quite customized environments without any negative effects in tikz itself, as
far as I tried/used it.

On Thu, Mar 22, 2012 at 05:19:55PM +0000, Philip TAYLOR wrote:
> 
> 
> David Guichard wrote:
> 
>  > On a new ubuntu install (11.10) with pgf 2.10-1, whenever I load tikz
>  > topinserts disappear--they just never show up in the output. This
>  > happens even if I don't use tikz. I reverted to 2.00 and things are
>  > fine. This is a terrible bug! I spent days before I tracked it to
>  > tikz.
> 
> I seem to recall that TikZ/PGF steals \end, and causes
> it to do very nasty and unexpected things if one is
> unlucky.  I also recall it took me a very long
> time to track this down [1]. [2].
> 
> Philip Taylor
> --------
> [1]
> 
> I regret I don't know which version of TikZ I was using until today,
> but having been advised that certain functionality w.r.t. TeXshop
> could be achieved only by updating to a more recent version,
> I performed a "TLMGR update all" on my TL 2010 installation.
> The behaviour of TikZ has now changed dramatically and disastrously.
> 
> Whereas before today the following would centre "Hallo" vertically
> on the page :
> 
>      \hrule width 0 pt depth 0 pt height 0 pt
>      \input TikZ
>      \vfill
>      Hallo
>      \end
> 
> it now places "Hallo" right at the top.  Commenting out "\input TikZ"
> restores the status ante bellum.  What has changed, please, and how
> can I prevent TikZ from having this disastrous effect ?
> 
> Philip Taylor
> --------
> [2]
> 
> Christophe Jorssen wrote:
> 
>  > Hello
>  >
>  > Did you update with tlcontrib ?
>  >
>  > Best regards.
> 
> No, Christophe, from "the default network repository" (mirror.ctan.org).
> 
> I have tracked the problem down to TikZ meddling with the definition
> of \end (groan), but whether it also did this prior to my update I have
> no idea.  The new, TikZ-set, definition of \end is :
> 
>      macro:->\the \pgfutil <at> everybye \pgfutil <at> origend
> 
> which is rather naughty of TikZ, IMHO, especially when it messes
> with \end's expected action.
> 
> ** Phil.
> 
> ------------------------------------------------------------------------------
> This SF email is sponsosred by:
> Try Windows Azure free for 90 days Click Here 
> http://p.sf.net/sfu/sfd2d-msazure
> _______________________________________________
> pgf-users mailing list
> pgf-users <at> lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pgf-users

--

-- 
i don't do signatures

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure

Gmane