ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* TikZ: \@flushglue undefined
@ 2011-09-04 13:11 Philipp A.
  2011-09-04 13:37 ` Wolfgang Schuster
  0 siblings, 1 reply; 5+ messages in thread
From: Philipp A. @ 2011-09-04 13:11 UTC (permalink / raw)
  To: ConTeXt Mailing List


[-- Attachment #1.1: Type: text/plain, Size: 531 bytes --]

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.

[-- Attachment #1.2: Type: text/html, Size: 609 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: TikZ: \@flushglue undefined
  2011-09-04 13:11 TikZ: \@flushglue undefined Philipp A.
@ 2011-09-04 13:37 ` Wolfgang Schuster
  2011-09-04 14:23   ` Philipp A.
  2011-09-04 14:25   ` Mojca Miklavec
  0 siblings, 2 replies; 5+ messages in thread
From: Wolfgang Schuster @ 2011-09-04 13:37 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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.

Wolfgang


___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: TikZ: \@flushglue undefined
  2011-09-04 13:37 ` Wolfgang Schuster
@ 2011-09-04 14:23   ` Philipp A.
  2011-09-04 14:47     ` Wolfgang Schuster
  2011-09-04 14:25   ` Mojca Miklavec
  1 sibling, 1 reply; 5+ messages in thread
From: Philipp A. @ 2011-09-04 14:23 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 371 bytes --]

2011/9/4 Wolfgang Schuster <schuster.wolfgang@googlemail.com>

> 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.
>
> Wolfgang
>

thanks. do you have got a quick fix?

\unprotect
\def\@flushglue?????
\protect

[-- Attachment #1.2: Type: text/html, Size: 634 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: TikZ: \@flushglue undefined
  2011-09-04 13:37 ` Wolfgang Schuster
  2011-09-04 14:23   ` Philipp A.
@ 2011-09-04 14:25   ` Mojca Miklavec
  1 sibling, 0 replies; 5+ messages in thread
From: Mojca Miklavec @ 2011-09-04 14:25 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: TikZ: \@flushglue undefined
  2011-09-04 14:23   ` Philipp A.
@ 2011-09-04 14:47     ` Wolfgang Schuster
  0 siblings, 0 replies; 5+ messages in thread
From: Wolfgang Schuster @ 2011-09-04 14:47 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 478 bytes --]


Am 04.09.2011 um 16:23 schrieb Philipp A.:

> 2011/9/4 Wolfgang Schuster <schuster.wolfgang@googlemail.com>
> 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.
> 
> Wolfgang
> 
> thanks. do you have got a quick fix?
> 
> \unprotect
> \def\@flushglue?????
> \protect

\letvalue{@flushglue}\parfillskip

Wolfgang


[-- Attachment #1.2: Type: text/html, Size: 1161 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-09-04 14:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-04 13:11 TikZ: \@flushglue undefined Philipp A.
2011-09-04 13:37 ` Wolfgang Schuster
2011-09-04 14:23   ` Philipp A.
2011-09-04 14:47     ` Wolfgang Schuster
2011-09-04 14:25   ` Mojca Miklavec

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).