On 18-11-2010 12:00, Mojca Miklavec wrote:
Dear Hans,

The following example worked perfectly fine with the version of
ConTeXt MKIV I was using one hour ago (no idea which version, but
something less than two weeks old). It still works OK with MKII and it
works much worse in the real document that I'm using.

In my document both images are completely screwed up. Here it's only
the second one and if I comment out the first one, the second figure
comes out fine, so I'm a bit clueless about what magic is going on
inbetween.

Nothing in TikZ has changed (I'm still using the "frozen" version from
November 2009 from minimals), so it must have something to do with
ConTeXt MKIV. It just messes up with some boxes on the page in some
unpredictable way.

I have no clue ... maybe some magic tikz variable (or shared register) that does not get reset?

\usemodule[tikz]

\starttext

\startbuffer[1]
    \starttikzpicture
        \draw[->] (0,0)--(1cm,1cm);
    \stoptikzpicture
\stopbuffer

% \ruledhbox{\getbuffer[1]}

\ruledhbox
  {\ruledhbox{\getbuffer[1]}
   \ruledhbox{\getbuffer[1]}}

\ruledhbox
  {\ruledhbox{\getbuffer[1]}%
   \ruledhbox{\getbuffer[1]}}

\ruledhbox{\getbuffer[1]}

\stoptext

Hans

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
    tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 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
___________________________________________________________________________________

Reply via email to