Hello all, I've noticed some strange behaviour with Tikz/PGF in floats. The following example should demonstrate it: \usemodule[tikz] \definefloat[newfloat][newfloats] \setupfloat[newfloat][ rightmargindistance=1cm, maxwidth=0.5cm, ] \startbuffer[myfloat] \placenewfloat[right, none, fit]{}{ \starttikzpicture \node[text width=2cm] {% \color[black]{\tfx\bf I'm the Doctor. Well, they call me the Doctor. I don't know why. I call me the Doctor. I don't know why. } }; \stoptikzpicture } \stopbuffer \starttext \getbuffer[myfloat] Saving the world with meals on wheels. No, I'll fix it. I'm good at fixing rot. Call me the Rotmeister. No, I'm the Doctor. Don't call me the Rotmeister. No… It's a thing; it's like a plan, but with more greatness. I'm the Doctor, I'm worse than everyone's aunt. *catches himself* And that is not how I'm introducing myself. Heh-haa! No, I'll fix it. I'm good at fixing rot. Call me the Rotmeister. No, I'm the Doctor. Don't call me the Rotmeister. \page \getbuffer[myfloat] Saving the world with meals on wheels. No, I'll fix it. I'm good at fixing rot. Call me the Rotmeister. No, I'm the Doctor. Don't call me the Rotmeister. No… It's a thing; it's like a plan, but with more greatness. I'm the Doctor, I'm worse than everyone's aunt. *catches himself* And that is not how I'm introducing myself. Heh-haa! No, I'll fix it. I'm good at fixing rot. Call me the Rotmeister. No, I'm the Doctor. Don't call me the Rotmeister. \stoptext The first float will be placed nicely in the right margin up against the text. The second, however, will be shifted into the margin. Can anyone suggest anything? I'm not sure how to go about debugging this. I believe it is another example of the shifting PGF graphics that others (and I) have seen since upgrading to a new beta (I believe this changed sometime since version 2011.11.29). Any help appreciated, Felix
participants (1)
-
Felix Ingram