On 8 February 2012 10:24, Hans Hagen <[email protected]> wrote:
> On 8-2-2012 10:51, Felix Ingram wrote:
>>
>> On 7 February 2012 13:06, Philipp A.<[email protected]> wrote:
>>
>>> with some recent beta (sorry for vagueness), tikz stopped working after
>>> titles. (i use first-setup.sh to install: these are the betas, not
>>> something different, right?)
>
>
> what does 'stop working' mean? some message?
"Stop Working" means "no longer get positioned where they should be
but still get drawn".
In my case all graphics are shifted to the right by
Some-Unknown-Distance. In Philipp's case the various graphics parts
jump about. (I've seen something similar when drawing multiple nodes).
I've included my minimal example below again. I wouldn't say that
titles are causing the issue, it just seems to be that the first
picture will render okay and then all others from then on will be
misplaced. In the example that Philipp gave removing the \section line
will still demonstrate the issue.
Please let me know if there's any more information that I can provide.
Felix
\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]
The float to the right will be flush with the text
\getbuffer[myfloat]
The float will now have shifted to the right.
\stoptext
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________