« Return to Thread: tikz breaks topinsert

Re: tikz breaks topinsert

by Philip Taylor (Webmaster, Ret'd) :: Rate this Message:

| View in Thread



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@everybye \pgfutil@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@...
https://lists.sourceforge.net/lists/listinfo/pgf-users

 « Return to Thread: tikz breaks topinsert