ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Tikz updated in minimals but file does not compile
@ 2009-03-17 17:41 Want to Learn
  2009-03-18  7:24 ` Mojca Miklavec
  2009-03-21 10:48 ` Mojca Miklavec
  0 siblings, 2 replies; 9+ messages in thread
From: Want to Learn @ 2009-03-17 17:41 UTC (permalink / raw)
  To: ntg-context


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

Thanks Wolfgang. I suppose you mean that I need the beta version and not the
stable version. Anyhow, I downloaded the beta version and tried to install
tikz
with the command Mojca mentioned in his post. Everything seemed to go on
fine.
But when I tried to compile the following simple file I get an error. The
following is the information from the terminal window. It says something
like
 ! Undefined control sequence
And on help, it says that "The control sequence at the end of the top line
of your error message was never \def'ed." As you can see below, it loaded
the
tikz module. I wonder what the problem is.

******************************************************

MtxRun | loading configuration for
/Applications/ConTeXtMinimals/tex/texmf-local/web2c from
/Applications/ConTeXtMinimals/tex/texmf-cache/luatex-cache/context/3fc847143b06f084e10e73c8fbdf4ae2/trees/3beab8509a03fa29e95f93134a943a7f
MtxRun | loading configuration for /Applications/ConTeXtMinimals/tex/texmf
/web2c
from
/Applications/ConTeXtMinimals/tex/texmf-cache/luatex-cache/context/3fc847143b06f084e10e73c8fbdf4ae2/trees/d9ef00871d7b11751a275cffd8a85753
MtxRun | run 1: luatex
--fmt="/Applications/ConTeXtMinimals/tex/texmf-cache/luatex-cache/context/3fc847143b06f084e10e73c8fbdf4ae2/formats/cont-en"
--lua="/Applications/ConTeXtMinimals/tex/texmf-cache/luatex-cache/context/3fc847143b06f084e10e73c8fbdf4ae2/formats/cont-en.lua"
"./trylua.tex"
This is LuaTeX, Version snapshot-0.35.0
(trylua.tex

ConTeXt  ver: 2009.03.17 11:26 MKIV  fmt: 2009.3.17  int: english/english

system         : cont-new loaded
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/cont-new.tex
systems         : beware: some patches loaded from cont-new.tex
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/cont-new.mkiv)
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/cont-mtx.tex))
system         : cont-fil loaded
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/cont-fil.tex
loading        : Context File Synonyms
)
system         : cont-sys.rme loaded
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/user/cont-sys.rme
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/type-tmf.tex)
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/type-siz.tex)
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/type-otf.tex))
system         : trylua.top loaded
(trylua.top)
fonts          : preloading latin modern fonts
bodyfont       : 12pt rm is loaded
specials       : pdftex loaded
language       : language en is active
system         : module tikz loaded
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/pgf/frontendlayer/t-tikz.tex
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/pgf/basiclayer/t-pgf.tex
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/pgf/basiclayer/t-pgfcor.tex
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/pgf/systemlayer/t-pgfsys.tex
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/pgf/utilities/t-pgfrcs.tex
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/pgf/utilities/t-pgfmod.tex)
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/utilities/pgfutil-common.tex)
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/utilities/pgfutil-context.def)
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/utilities/pgfrcs.code.tex))
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/systemlayer/pgfsys.code.tex
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/utilities/pgfkeys.code.tex
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/utilities/pgfkeysfiltered.code.tex))
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/systemlayer/pgf.cfg)
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/systemlayer/pgfsys-pdftex.def
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/systemlayer/pgfsys-common-pdf.def)))
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/systemlayer/pgfsyssoftpath.code.tex)
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/systemlayer/pgfsysprotocol.code.tex))
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/basiclayer/pgfcore.code.tex
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/math/pgfmath.code.tex
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/math/pgfmathcalc.code.tex
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/math/pgfmathutil.code.tex)
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/math/pgfmathparser.code.tex)
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/math/pgfmathfunctions.code.tex
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/math/pgfmathfunctions.basic.code.tex)
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/math/pgfmathfunctions.trigonometric.code.tex)
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/math/pgfmathfunctions.random.code.tex)
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/math/pgfmathfunctions.comparison.code.tex)
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/math/pgfmathfunctions.base.code.tex)
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/math/pgfmathfunctions.round.code.tex)
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/math/pgfmathfunctions.misc.code.tex)))
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/math/pgfmathfloat.code.tex))
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/basiclayer/pgfcorepoints.code.tex)
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/basiclayer/pgfcorepathconstruct.code.tex)
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/basiclayer/pgfcorepathusage.code.tex)
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/basiclayer/pgfcorescopes.code.tex)
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/basiclayer/pgfcoregraphicstate.code.tex)
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/basiclayer/pgfcoretransformations.code.tex)
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/basiclayer/pgfcorequick.code.tex)
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/basiclayer/pgfcoreobjects.code.tex)
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/basiclayer/pgfcorepathprocessing.code.tex)
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/basiclayer/pgfcorearrows.code.tex)
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/basiclayer/pgfcoreshade.code.tex)
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/basiclayer/pgfcoreimage.code.tex)
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/basiclayer/pgfcorelayers.code.tex)
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/basiclayer/pgfcoretransparency.code.tex)
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/basiclayer/pgfcorepatterns.code.tex)))
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/modules/pgfmoduleshapes.code.tex
! Undefined control sequence.
\pgfutil@g@addto@macro #1#2->\begingroup \toks@
                                                \expandafter {#1#2}\xdef
#1{...
<argument> ...gf@y by -.5\dp \pgfnodeparttextbox }
                                                   \par \anchor
{center}{\ce...
\pgfdeclareshape ... \endcsname =\pgfutil@empty #2
                                                   }
l.549 }

? h
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

?
**********************************************************

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

[-- Attachment #2: Type: text/plain, Size: 487 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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Tikz updated in minimals but file does not compile
  2009-03-17 17:41 Tikz updated in minimals but file does not compile Want to Learn
@ 2009-03-18  7:24 ` Mojca Miklavec
  2009-03-18  8:32   ` Lutz Haseloff
  2009-03-18 14:33   ` Aditya Mahajan
  2009-03-21 10:48 ` Mojca Miklavec
  1 sibling, 2 replies; 9+ messages in thread
From: Mojca Miklavec @ 2009-03-18  7:24 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Till Tantau

2009/3/17 Want to Learn wrote:
> Thanks Wolfgang. I suppose you mean that I need the beta version and not the
> stable version. Anyhow, I downloaded the beta version and tried to install
> tikz
> with the command Mojca mentioned in his post. Everything seemed to go on
> fine.
> But when I tried to compile the following simple file I get an error. The
> following is the information from the terminal window. It says something
> like
>  ! Undefined control sequence
> And on help, it says that "The control sequence at the end of the top line
> of your error message was never \def'ed." As you can see below, it loaded
> the
> tikz module. I wonder what the problem is.

A week or two weeks ago the author of TikZ has fixed a problem related
to luatex/mkiv, but maybe that was not the only problem. TikZ works
(or at least used to work - no time to test at this moment) in
general, but there might be some more advanced graphics that fail do
work due to heavy changes in ConTeXt source.

Please try with some simple graphics first if they work. If they do,
please post a minimal example that fails. In any case I suspect that
the burden of fixing this will fall on TikZ author's shoulders since
hardly any developer on this list knows the TikZ internals.

Mojca

> ******************************************************
>
> MtxRun | loading configuration for
> /Applications/ConTeXtMinimals/tex/texmf-local/web2c from
> /Applications/ConTeXtMinimals/tex/texmf-cache/luatex-cache/context/3fc847143b06f084e10e73c8fbdf4ae2/trees/3beab8509a03fa29e95f93134a943a7f
> MtxRun | loading configuration for /Applications/ConTeXtMinimals/tex/texmf
> /web2c
> from
> /Applications/ConTeXtMinimals/tex/texmf-cache/luatex-cache/context/3fc847143b06f084e10e73c8fbdf4ae2/trees/d9ef00871d7b11751a275cffd8a85753
> MtxRun | run 1: luatex
> --fmt="/Applications/ConTeXtMinimals/tex/texmf-cache/luatex-cache/context/3fc847143b06f084e10e73c8fbdf4ae2/formats/cont-en"
> --lua="/Applications/ConTeXtMinimals/tex/texmf-cache/luatex-cache/context/3fc847143b06f084e10e73c8fbdf4ae2/formats/cont-en.lua"
> "./trylua.tex"
> This is LuaTeX, Version snapshot-0.35.0
> (trylua.tex
>
> ConTeXt  ver: 2009.03.17 11:26 MKIV  fmt: 2009.3.17  int: english/english
>
> system         : cont-new loaded
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/cont-new.tex
> systems         : beware: some patches loaded from cont-new.tex
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/cont-new.mkiv)
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/cont-mtx.tex))
> system         : cont-fil loaded
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/cont-fil.tex
> loading        : Context File Synonyms
> )
> system         : cont-sys.rme loaded
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/user/cont-sys.rme
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/type-tmf.tex)
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/type-siz.tex)
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/type-otf.tex))
> system         : trylua.top loaded
> (trylua.top)
> fonts          : preloading latin modern fonts
> bodyfont       : 12pt rm is loaded
> specials       : pdftex loaded
> language       : language en is active
> system         : module tikz loaded
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/pgf/frontendlayer/t-tikz.tex
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/pgf/basiclayer/t-pgf.tex
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/pgf/basiclayer/t-pgfcor.tex
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/pgf/systemlayer/t-pgfsys.tex
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/pgf/utilities/t-pgfrcs.tex
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/pgf/utilities/t-pgfmod.tex)
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/utilities/pgfutil-common.tex)
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/utilities/pgfutil-context.def)
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/utilities/pgfrcs.code.tex))
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/systemlayer/pgfsys.code.tex
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/utilities/pgfkeys.code.tex
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/utilities/pgfkeysfiltered.code.tex))
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/systemlayer/pgf.cfg)
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/systemlayer/pgfsys-pdftex.def
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/systemlayer/pgfsys-common-pdf.def)))
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/systemlayer/pgfsyssoftpath.code.tex)
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/systemlayer/pgfsysprotocol.code.tex))
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/basiclayer/pgfcore.code.tex
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/math/pgfmath.code.tex
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/math/pgfmathcalc.code.tex
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/math/pgfmathutil.code.tex)
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/math/pgfmathparser.code.tex)
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/math/pgfmathfunctions.code.tex
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/math/pgfmathfunctions.basic.code.tex)
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/math/pgfmathfunctions.trigonometric.code.tex)
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/math/pgfmathfunctions.random.code.tex)
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/math/pgfmathfunctions.comparison.code.tex)
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/math/pgfmathfunctions.base.code.tex)
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/math/pgfmathfunctions.round.code.tex)
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/math/pgfmathfunctions.misc.code.tex)))
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/math/pgfmathfloat.code.tex))
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/basiclayer/pgfcorepoints.code.tex)
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/basiclayer/pgfcorepathconstruct.code.tex)
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/basiclayer/pgfcorepathusage.code.tex)
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/basiclayer/pgfcorescopes.code.tex)
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/basiclayer/pgfcoregraphicstate.code.tex)
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/basiclayer/pgfcoretransformations.code.tex)
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/basiclayer/pgfcorequick.code.tex)
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/basiclayer/pgfcoreobjects.code.tex)
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/basiclayer/pgfcorepathprocessing.code.tex)
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/basiclayer/pgfcorearrows.code.tex)
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/basiclayer/pgfcoreshade.code.tex)
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/basiclayer/pgfcoreimage.code.tex)
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/basiclayer/pgfcorelayers.code.tex)
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/basiclayer/pgfcoretransparency.code.tex)
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/basiclayer/pgfcorepatterns.code.tex)))
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/modules/pgfmoduleshapes.code.tex
> ! Undefined control sequence.
> \pgfutil@g@addto@macro #1#2->\begingroup \toks@
>                                                 \expandafter {#1#2}\xdef
> #1{...
> <argument> ...gf@y by -.5\dp \pgfnodeparttextbox }
>                                                    \par \anchor
> {center}{\ce...
> \pgfdeclareshape ... \endcsname =\pgfutil@empty #2
>                                                    }
> l.549 }
>
> ? h
> The control sequence at the end of the top line
> of your error message was never \def'ed. If you have
> misspelled it (e.g., `\hobx'), type `I' and the correct
> spelling (e.g., `I\hbox'). Otherwise just continue,
> and I'll forget about whatever was undefined.
>
> ?
> **********************************************************
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Tikz updated in minimals but file does not compile
  2009-03-18  7:24 ` Mojca Miklavec
@ 2009-03-18  8:32   ` Lutz Haseloff
       [not found]     ` <6faad9f00903180545v5ec05ef5q40d267f60ceec344@mail.gmail.com>
  2009-03-18 14:06     ` Curious Learn
  2009-03-18 14:33   ` Aditya Mahajan
  1 sibling, 2 replies; 9+ messages in thread
From: Lutz Haseloff @ 2009-03-18  8:32 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

Hello Want, hello Mojca,

i had the same problem some days before. I found this hint by Wolfgang:

add to your file
\unprotect
\newtoks\toks@
\let\z@\zeropoint
\protect

and tikz works like a charm.


can this be added to the module t-tikz.tex?


Greetings

Lutz

2009/3/18 Mojca Miklavec <mojca.miklavec.lists@gmail.com>

> 2009/3/17 Want to Learn wrote:
> > Thanks Wolfgang. I suppose you mean that I need the beta version and not
> the
> > stable version. Anyhow, I downloaded the beta version and tried to
> install
> > tikz
> > with the command Mojca mentioned in his post. Everything seemed to go on
> > fine.
> > But when I tried to compile the following simple file I get an error. The
> > following is the information from the terminal window. It says something
> > like
> >  ! Undefined control sequence
> > And on help, it says that "The control sequence at the end of the top
> line
> > of your error message was never \def'ed." As you can see below, it loaded
> > the
> > tikz module. I wonder what the problem is.
>
> A week or two weeks ago the author of TikZ has fixed a problem related
> to luatex/mkiv, but maybe that was not the only problem. TikZ works
> (or at least used to work - no time to test at this moment) in
> general, but there might be some more advanced graphics that fail do
> work due to heavy changes in ConTeXt source.
>
> Please try with some simple graphics first if they work. If they do,
> please post a minimal example that fails. In any case I suspect that
> the burden of fixing this will fall on TikZ author's shoulders since
> hardly any developer on this list knows the TikZ internals.
>
> Mojca
>
> > ******************************************************
> >
> > MtxRun | loading configuration for
> > /Applications/ConTeXtMinimals/tex/texmf-local/web2c from
> >
> /Applications/ConTeXtMinimals/tex/texmf-cache/luatex-cache/context/3fc847143b06f084e10e73c8fbdf4ae2/trees/3beab8509a03fa29e95f93134a943a7f
> > MtxRun | loading configuration for
> /Applications/ConTeXtMinimals/tex/texmf
> > /web2c
> > from
> >
> /Applications/ConTeXtMinimals/tex/texmf-cache/luatex-cache/context/3fc847143b06f084e10e73c8fbdf4ae2/trees/d9ef00871d7b11751a275cffd8a85753
> > MtxRun | run 1: luatex
> >
> --fmt="/Applications/ConTeXtMinimals/tex/texmf-cache/luatex-cache/context/3fc847143b06f084e10e73c8fbdf4ae2/formats/cont-en"
> >
> --lua="/Applications/ConTeXtMinimals/tex/texmf-cache/luatex-cache/context/3fc847143b06f084e10e73c8fbdf4ae2/formats/cont-en.lua"
> > "./trylua.tex"
> > This is LuaTeX, Version snapshot-0.35.0
> > (trylua.tex
> >
> > ConTeXt  ver: 2009.03.17 11:26 MKIV  fmt: 2009.3.17  int: english/english
> >
> > system         : cont-new loaded
> >
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/cont-new.tex
> > systems         : beware: some patches loaded from cont-new.tex
> >
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/cont-new.mkiv)
> >
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/cont-mtx.tex))
> > system         : cont-fil loaded
> >
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/cont-fil.tex
> > loading        : Context File Synonyms
> > )
> > system         : cont-sys.rme loaded
> >
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/user/cont-sys.rme
> >
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/type-tmf.tex)
> >
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/type-siz.tex)
> >
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/type-otf.tex))
> > system         : trylua.top loaded
> > (trylua.top)
> > fonts          : preloading latin modern fonts
> > bodyfont       : 12pt rm is loaded
> > specials       : pdftex loaded
> > language       : language en is active
> > system         : module tikz loaded
> >
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/pgf/frontendlayer/t-tikz.tex
> >
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/pgf/basiclayer/t-pgf.tex
> >
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/pgf/basiclayer/t-pgfcor.tex
> >
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/pgf/systemlayer/t-pgfsys.tex
> >
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/pgf/utilities/t-pgfrcs.tex
> >
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/pgf/utilities/t-pgfmod.tex)
> >
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/utilities/pgfutil-common.tex)
> >
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/utilities/pgfutil-context.def)
> >
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/utilities/pgfrcs.code.tex))
> >
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/systemlayer/pgfsys.code.tex
> >
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/utilities/pgfkeys.code.tex
> >
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/utilities/pgfkeysfiltered.code.tex))
> >
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/systemlayer/pgf.cfg)
> >
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/systemlayer/pgfsys-pdftex.def
> >
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/systemlayer/pgfsys-common-pdf.def)))
> >
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/systemlayer/pgfsyssoftpath.code.tex)
> >
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/systemlayer/pgfsysprotocol.code.tex))
> >
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/basiclayer/pgfcore.code.tex
> >
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/math/pgfmath.code.tex
> >
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/math/pgfmathcalc.code.tex
> >
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/math/pgfmathutil.code.tex)
> >
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/math/pgfmathparser.code.tex)
> >
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/math/pgfmathfunctions.code.tex
> >
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/math/pgfmathfunctions.basic.code.tex)
> >
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/math/pgfmathfunctions.trigonometric.code.tex)
> >
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/math/pgfmathfunctions.random.code.tex)
> >
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/math/pgfmathfunctions.comparison.code.tex)
> >
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/math/pgfmathfunctions.base.code.tex)
> >
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/math/pgfmathfunctions.round.code.tex)
> >
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/math/pgfmathfunctions.misc.code.tex)))
> >
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/math/pgfmathfloat.code.tex))
> >
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/basiclayer/pgfcorepoints.code.tex)
> >
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/basiclayer/pgfcorepathconstruct.code.tex)
> >
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/basiclayer/pgfcorepathusage.code.tex)
> >
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/basiclayer/pgfcorescopes.code.tex)
> >
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/basiclayer/pgfcoregraphicstate.code.tex)
> >
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/basiclayer/pgfcoretransformations.code.tex)
> >
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/basiclayer/pgfcorequick.code.tex)
> >
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/basiclayer/pgfcoreobjects.code.tex)
> >
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/basiclayer/pgfcorepathprocessing.code.tex)
> >
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/basiclayer/pgfcorearrows.code.tex)
> >
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/basiclayer/pgfcoreshade.code.tex)
> >
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/basiclayer/pgfcoreimage.code.tex)
> >
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/basiclayer/pgfcorelayers.code.tex)
> >
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/basiclayer/pgfcoretransparency.code.tex)
> >
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/basiclayer/pgfcorepatterns.code.tex)))
> >
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/modules/pgfmoduleshapes.code.tex
> > ! Undefined control sequence.
> > \pgfutil@g@addto@macro #1#2->\begingroup \toks@
> >                                                 \expandafter {#1#2}\xdef
> > #1{...
> > <argument> ...gf@y by -.5\dp \pgfnodeparttextbox }
> >                                                    \par \anchor
> > {center}{\ce...
> > \pgfdeclareshape ... \endcsname =\pgfutil@empty #2
> >                                                    }
> > l.549 }
> >
> > ? h
> > The control sequence at the end of the top line
> > of your error message was never \def'ed. If you have
> > misspelled it (e.g., `\hobx'), type `I' and the correct
> > spelling (e.g., `I\hbox'). Otherwise just continue,
> > and I'll forget about whatever was undefined.
> >
> > ?
> > **********************************************************
>
> ___________________________________________________________________________________
> 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  : https://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
>
> ___________________________________________________________________________________
>

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

[-- Attachment #2: Type: text/plain, Size: 487 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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Tikz updated in minimals but file does not compile
       [not found]       ` <49C0EE1C.6000901@wxs.nl>
@ 2009-03-18 13:00         ` Lutz Haseloff
  0 siblings, 0 replies; 9+ messages in thread
From: Lutz Haseloff @ 2009-03-18 13:00 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

Hi all,

shame on me :-(

The tikz problem solution was by:

>From adityam at umich.edu  Sat Mar  7 21:42:27 2009
From: adityam at umich.edu (Aditya Mahajan)
Date: Sat, 7 Mar 2009 15:42:27 -0500 (EST)
Subject: [NTG-context] luatex tikz problem

Wolfgang and Aditya, please excuse my wrong citation.


Lutz

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

[-- Attachment #2: Type: text/plain, Size: 487 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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Tikz updated in minimals but file does not compile
  2009-03-18  8:32   ` Lutz Haseloff
       [not found]     ` <6faad9f00903180545v5ec05ef5q40d267f60ceec344@mail.gmail.com>
@ 2009-03-18 14:06     ` Curious Learn
  2009-03-18 14:40       ` Mojca Miklavec
  1 sibling, 1 reply; 9+ messages in thread
From: Curious Learn @ 2009-03-18 14:06 UTC (permalink / raw)
  To: ntg-context

Lutz Haseloff <lutz.haseloff <at> googlemail.com> writes:

> Hello Want, hello Mojca,i had the same problem some days before. I found this
hint by Wolfgang:add to your file\unprotect\newtoks\toks <at> \let\z <at>
\zeropoint\protectand tikz works like a charm.can this be added to the module
t-tikz.tex?GreetingsLutz

Thanks Lutz (and Aditya) for the solution. I will try it later. After it did not
work yesterday and after seeing Hans Hagen's post about the possible problems
with the newest beta, I deleted the latest beta and installed the stable version
(the one that comes with --context=current option). I suppose I will have to
update it to the latest beta and try Aditya's solution.

Mojca, I was trying out a very simple tikz code to see whether it works. It was,

\usemodule[tikz]

\starttext

\starttikzpicture
  draw (0,0) -- (2,2);
\stoptikzpicture

\stoptext

Thanks to you all again for answering the questions.


___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: Tikz updated in minimals but file does not compile
  2009-03-18  7:24 ` Mojca Miklavec
  2009-03-18  8:32   ` Lutz Haseloff
@ 2009-03-18 14:33   ` Aditya Mahajan
  1 sibling, 0 replies; 9+ messages in thread
From: Aditya Mahajan @ 2009-03-18 14:33 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: TEXT/PLAIN, Size: 1859 bytes --]

On Wed, 18 Mar 2009, Mojca Miklavec wrote:

> 2009/3/17 Want to Learn wrote:
>> Thanks Wolfgang. I suppose you mean that I need the beta version and not the
>> stable version. Anyhow, I downloaded the beta version and tried to install
>> tikz
>> with the command Mojca mentioned in his post. Everything seemed to go on
>> fine.
>> But when I tried to compile the following simple file I get an error. The
>> following is the information from the terminal window. It says something
>> like
>>  ! Undefined control sequence
>> And on help, it says that "The control sequence at the end of the top line
>> of your error message was never \def'ed." As you can see below, it loaded
>> the
>> tikz module. I wonder what the problem is.
>
> A week or two weeks ago the author of TikZ has fixed a problem related
> to luatex/mkiv, but maybe that was not the only problem. TikZ works
> (or at least used to work - no time to test at this moment) in
> general, but there might be some more advanced graphics that fail do
> work due to heavy changes in ConTeXt source.

I have recently used tikz in a project, and it works fine. The only 
trouble with the latest beta is that Hans has removed the funny commands 
with @ in them, which are a legacy of plain TeX, in favour of more legible 
command names. For example, \minusone in place of \m@ne, \zeropoint in 
place of \z@ etc. This makes ConTeXt code more readable, but at the same 
time means that any package which was compatible with plain TeX, 
LaTeX, and ConTeXt, will now fail in ConTeXt.

Fixing this is as simple as adding a few \let old-command = new command 
things in the beginning. The easiest solution is to collect such things in 
a module, and import them before importing tikz or any other module which 
relies on the existance of plain TeX like macros.

Aditya


[-- Attachment #2: Type: text/plain, Size: 487 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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Tikz updated in minimals but file does not compile
  2009-03-18 14:06     ` Curious Learn
@ 2009-03-18 14:40       ` Mojca Miklavec
  2009-03-18 15:48         ` Hans Hagen
  0 siblings, 1 reply; 9+ messages in thread
From: Mojca Miklavec @ 2009-03-18 14:40 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Wed, Mar 18, 2009 at 15:06, Curious Learn wrote:
>
> I will try it later. After it did not
> work yesterday and after seeing Hans Hagen's post about the possible problems
> with the newest beta, I deleted the latest beta and installed the stable version
> (the one that comes with --context=current option).

Just as a note. You don't need to delete anything. Just change beta
into current (or vice versa) in first-setup and you'll get the desired
version after reruning he script.

> I suppose I will have to
> update it to the latest beta and try Aditya's solution.
>
> Mojca, I was trying out a very simple tikz code to see whether it works. It was,

I have later noticed that there are indeed general problems even in
mkii. Either Hans or Till need to fix the code, but I like Aditya's
suggestion.

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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: Tikz updated in minimals but file does not compile
  2009-03-18 14:40       ` Mojca Miklavec
@ 2009-03-18 15:48         ` Hans Hagen
  0 siblings, 0 replies; 9+ messages in thread
From: Hans Hagen @ 2009-03-18 15:48 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Mojca Miklavec wrote:

> I have later noticed that there are indeed general problems even in
> mkii. Either Hans or Till need to fix the code, but I like Aditya's
> suggestion.

i added them now to syst-ini but i don't know if i catched them all

anyhow, for module writers: use the readable ones and not the obscure

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: Tikz updated in minimals but file does not compile
  2009-03-17 17:41 Tikz updated in minimals but file does not compile Want to Learn
  2009-03-18  7:24 ` Mojca Miklavec
@ 2009-03-21 10:48 ` Mojca Miklavec
  1 sibling, 0 replies; 9+ messages in thread
From: Mojca Miklavec @ 2009-03-21 10:48 UTC (permalink / raw)
  To: mailing list for ConTeXt users

2009/3/17 Want to Learn wrote:
> Thanks Wolfgang. I suppose you mean that I need the beta version and not the
> stable version. Anyhow, I downloaded the beta version and tried to install
> tikz
> with the command Mojca mentioned in his post. Everything seemed to go on
> fine.
> But when I tried to compile the following simple file I get an error.

Hello, the "Want to Learn",

Since the main discussion with developers has been moved off-list,
this is just to let you know that there have recently been changes in
both TikZ and ConTeXt core, so at least for me TikZ works now with
simple graphics with ConTeXt beta and latest TikZ (that version is
included in the minimals).

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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

end of thread, other threads:[~2009-03-21 10:48 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-17 17:41 Tikz updated in minimals but file does not compile Want to Learn
2009-03-18  7:24 ` Mojca Miklavec
2009-03-18  8:32   ` Lutz Haseloff
     [not found]     ` <6faad9f00903180545v5ec05ef5q40d267f60ceec344@mail.gmail.com>
     [not found]       ` <49C0EE1C.6000901@wxs.nl>
2009-03-18 13:00         ` Lutz Haseloff
2009-03-18 14:06     ` Curious Learn
2009-03-18 14:40       ` Mojca Miklavec
2009-03-18 15:48         ` Hans Hagen
2009-03-18 14:33   ` Aditya Mahajan
2009-03-21 10:48 ` 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).