On Sun, Sep 4, 2011 at 15:37, Wolfgang Schuster wrote:
Am 04.09.2011 um 15:11 schrieb Philipp A.:
i don’t know if it’s a TikZ or a ConTeXt bug, but with the newest mkiv beta installed with mtx-update.lua, tikz fails when using the option “text badly centered” in combination with “text width”:
\usemodule[tikz] \starttext \tikz\node[text badly centered, text width=1cm]{fail}; \stoptext
gives:
\tikz@text@action ...p =0pt\rightskip \@flushglue \leftskip \@flushglue \relax ...
as it doesn’t occur with LaTeX, i think it might be a ConteXt bug.
No, it’s a TikZ bug. The macro \@flushglue which is used by TikZ is defined in the LaTeX kernel but not in ConTeXt and as TikZ is format independent it has to ensure that the command exists.
However ... given the current development status of TikZ, there is a considerably higher chance to get it fixed if somebody from ConTeXt community writes a patch (and then somebody else keeps sending reminders to developers, kindly asking them the patch the version in CVS + kindly asking Karl Berry to permit a fix in TeX Live's SVN). So: I can write to developers, but it won't hurt if somebody here finds a fix. (I can fix minimals if needed.) Mojca