Tikz updated in minimals but file does not compile
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. ? **********************************************************
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.
? **********************************************************
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
Thanks Wolfgang. I suppose you mean that I need the beta version and not
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
2009/3/17 Want to Learn wrote: the 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
___________________________________________________________________________________
Lutz Haseloff
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.
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
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 -----------------------------------------------------------------
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
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
participants (6)
-
Aditya Mahajan
-
Curious Learn
-
Hans Hagen
-
Lutz Haseloff
-
Mojca Miklavec
-
Want to Learn