* luatex tikz problem @ 2009-02-21 17:41 Mohamed Bana 2009-02-26 17:52 ` Mohamed Bana 2009-03-07 20:42 ` Aditya Mahajan 0 siblings, 2 replies; 9+ messages in thread From: Mohamed Bana @ 2009-02-21 17:41 UTC (permalink / raw) To: ntg-context hi, why does this fail with luatex? also, try \enableregime[utf-8] i got another error message when that's enabled. $ luatex --version This is LuaTeX, Version snapshot-0.31.3-2008123108, build unknown $ context --version MtxRun | main context file: /home/mbana/context-minimals/tex/texmf-context/tex/context/base/context.tex MtxRun | current version: 2009.01.18 14:39 texexec --lua test.tex ! Missing \endcsname inserted. <to be read again> \edef \tikz@finish ...\the \pgflinewidth }\fi \fi \edef \tikz@temp {\noexpand \pgf... <argument> ...linewidth {\begingroup \tikz@finish }\global \pgflinewidth =\p... \pgfutil@secondoftwo #1#2->#2 <argument> ...l \pgflinewidth =\pgfutil@tempdima } \pgfutil@ifundefined {pgf@... \pgfutil@secondoftwo #1#2->#2 ... l.52 ...ft:$s_0$] {$p,q$}; ? %\enableregime[utf-8] \usemodule[tikz] \usemodule[pgfplots] %\usetikzlibrary[fit] % ConTEXt \usetikzlibrary[arrows,automata,fit] \starttext \starttikzpicture[->,>=stealth',shorten >=1pt,auto,node distance=4cm, semithick] \tikzstyle{every state}=[fill=grey,draw=none,text=white] \node[state] (s0) [label=left:$s_0$] {$p,q$}; \node[state] (s1) [below right of=s0,label=right:$s_1$] {$q$}; \node[state] (s2) [below of=s0,label=right:$s_2$] {$q$}; \node[state] (s3) [below left of=s0,label=left:$s_3$] {$p$}; \path (s0) edge [loop above] (s0) edge (s1) edge (s3) (s1) edge [bend right] (s3) (s2) edge [loop below] (s2) edge (s0) edge [right] (s1) (s3) edge [right] (s1) edge [right] (s2); \stoptikzpicture \stoptext ___________________________________________________________________________________ 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: luatex tikz problem 2009-02-21 17:41 luatex tikz problem Mohamed Bana @ 2009-02-26 17:52 ` Mohamed Bana 2009-03-07 20:42 ` Aditya Mahajan 1 sibling, 0 replies; 9+ messages in thread From: Mohamed Bana @ 2009-02-26 17:52 UTC (permalink / raw) To: ntg-context anyone? Mohamed Bana wrote: > hi, > > why does this fail with luatex? also, try \enableregime[utf-8] i got > another error message when that's enabled. > > $ luatex --version > This is LuaTeX, Version snapshot-0.31.3-2008123108, build unknown > > $ context --version > MtxRun | main context file: > /home/mbana/context-minimals/tex/texmf-context/tex/context/base/context.tex > MtxRun | current version: 2009.01.18 14:39 > > > > texexec --lua test.tex > > ! Missing \endcsname inserted. > <to be read again> > \edef > \tikz@finish ...\the \pgflinewidth }\fi \fi \edef > \tikz@temp {\noexpand > \pgf... > <argument> ...linewidth {\begingroup \tikz@finish > }\global \pgflinewidth > =\p... > \pgfutil@secondoftwo #1#2->#2 > > <argument> ...l \pgflinewidth =\pgfutil@tempdima } > \pgfutil@ifundefined > {pgf@... > \pgfutil@secondoftwo #1#2->#2 > > .... > l.52 ...ft:$s_0$] {$p,q$}; > > ? > > > %\enableregime[utf-8] > > \usemodule[tikz] > \usemodule[pgfplots] > %\usetikzlibrary[fit] % ConTEXt > \usetikzlibrary[arrows,automata,fit] > > \starttext > > \starttikzpicture[->,>=stealth',shorten >=1pt,auto,node distance=4cm, > semithick] > \tikzstyle{every state}=[fill=grey,draw=none,text=white] > > \node[state] (s0) [label=left:$s_0$] {$p,q$}; > \node[state] (s1) [below right of=s0,label=right:$s_1$] {$q$}; > \node[state] (s2) [below of=s0,label=right:$s_2$] {$q$}; > \node[state] (s3) [below left of=s0,label=left:$s_3$] {$p$}; > > \path (s0) edge [loop above] (s0) > edge (s1) > edge (s3) > (s1) edge [bend right] (s3) > (s2) edge [loop below] (s2) > edge (s0) > edge [right] (s1) > (s3) edge [right] (s1) > edge [right] (s2); > > \stoptikzpicture > > > \stoptext > > ___________________________________________________________________________________ > > 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 > ___________________________________________________________________________________ > > ___________________________________________________________________________________ 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: luatex tikz problem 2009-02-21 17:41 luatex tikz problem Mohamed Bana 2009-02-26 17:52 ` Mohamed Bana @ 2009-03-07 20:42 ` Aditya Mahajan 2009-03-07 23:41 ` Mohamed Bana 1 sibling, 1 reply; 9+ messages in thread From: Aditya Mahajan @ 2009-03-07 20:42 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1: Type: TEXT/PLAIN, Size: 1467 bytes --] On Sat, 21 Feb 2009, Mohamed Bana wrote: > hi, > > why does this fail with luatex? also, try \enableregime[utf-8] i got another > error message when that's enabled. You do not need \enableregime[utf-8] in luatex. Everything is already utf-8. The following works for me (see attached pdf). For some reason, the text in the first node is black. Notice the \tikzstyle line is different from what you had. \unprotect \newtoks\toks@ \let\z@\zeropoint \protect \usemodule[tikz] \starttext \starttikzpicture[->,>=stealth',shorten >=1pt,auto,node distance=4cm, semithick] \tikzstyle{state}=[fill=gray,draw=none,text=white] \node[state] (s0) [label=left:$s_0$] {$p,q$}; \node[state] (s1) [below right of=s0,label=right:$s_1$] {$q$}; \node[state] (s2) [below of=s0,label=right:$s_2$] {$q$}; \node[state] (s3) [below left of=s0,label=left:$s_3$] {$p$}; \path (s0) edge [loop above] (s0) edge (s1) edge (s3) (s1) edge [bend right] (s3) (s2) edge [loop below] (s2) edge (s0) edge [right] (s1) (s3) edge [right] (s1) edge [right] (s2); \stoptikzpicture \stoptext LuaTeX, Version snapshot-0.35.0-2009030712, build 1950 ConTeXt version: 2009.03.07 00:29 CVS version of tikz: date 2009-03-01 from http://www.texample.net/tikz/builds/ Aditya [-- Attachment #2: Type: APPLICATION/pdf, Size: 9462 bytes --] [-- Attachment #3: 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: luatex tikz problem 2009-03-07 20:42 ` Aditya Mahajan @ 2009-03-07 23:41 ` Mohamed Bana 2009-03-08 0:02 ` Aditya Mahajan 0 siblings, 1 reply; 9+ messages in thread From: Mohamed Bana @ 2009-03-07 23:41 UTC (permalink / raw) To: ntg-context [-- Attachment #1: Type: text/plain, Size: 3284 bytes --] Aditya, thanks for looking into it. ConTeXt version: 2009.02.25 14:43 $ luatex --version This is LuaTeX, Version snapshot-0.35.0-2009022421, build unknown untouched version of tikz from minimals Aditya Mahajan wrote: > On Sat, 21 Feb 2009, Mohamed Bana wrote: > >> hi, >> >> why does this fail with luatex? also, try \enableregime[utf-8] i got >> another error message when that's enabled. > > You do not need \enableregime[utf-8] in luatex. Everything is already > utf-8. > > The following works for me (see attached pdf). For some reason, the text > in the first node is black. Notice the \tikzstyle line is different > from what you had. BTW, the fix for the arrows is; \usetikzlibrary[arrows] *I think* the problem was with; \usemodule[pgfplots] if I include it get the following in the resulting PDF; mapped colorrgb0,0,0 ad2.tex is original --- ad.tex 2009-03-07 23:32:53.000000000 +0000 +++ ad2.tex 2009-03-07 23:34:24.000000000 +0000 @@ -3,16 +3,12 @@ \let\z@\zeropoint \protect \usemodule[tikz] -\usetikzlibrary[arrows,automata] - -%\usemodule[pgfplots] -\setupcolors[state=start] \starttext \starttikzpicture[->,>=stealth',shorten >=1pt,auto,node distance=4cm, semithick] - \tikzstyle{every state}=[fill=black,draw=none,text=white] + \tikzstyle{state}=[fill=gray,draw=none,text=white] \node[state] (s0) [label=left:$s_0$] {$p,q$}; \node[state] (s1) [below right of=s0,label=right:$s_1$] {$q$}; @@ -32,5 +28,4 @@ \stoptikzpicture -\stoptext - +\stoptext Mohamed > > \unprotect > \newtoks\toks@ > \let\z@\zeropoint > \protect > \usemodule[tikz] > > \starttext > > \starttikzpicture[->,>=stealth',shorten >=1pt,auto,node distance=4cm, > semithick] > \tikzstyle{state}=[fill=gray,draw=none,text=white] > > \node[state] (s0) [label=left:$s_0$] {$p,q$}; > \node[state] (s1) [below right of=s0,label=right:$s_1$] {$q$}; > \node[state] (s2) [below of=s0,label=right:$s_2$] {$q$}; > \node[state] (s3) [below left of=s0,label=left:$s_3$] {$p$}; > > \path (s0) edge [loop above] (s0) > edge (s1) > edge (s3) > (s1) edge [bend right] (s3) > (s2) edge [loop below] (s2) > edge (s0) > edge [right] (s1) > (s3) edge [right] (s1) > edge [right] (s2); > > \stoptikzpicture > > > \stoptext > > LuaTeX, Version snapshot-0.35.0-2009030712, build 1950 > ConTeXt version: 2009.03.07 00:29 > > CVS version of tikz: date 2009-03-01 from > http://www.texample.net/tikz/builds/ > > Aditya > > > ------------------------------------------------------------------------ > > ___________________________________________________________________________________ > 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 #2: ad.pdf --] [-- Type: application/pdf, Size: 11375 bytes --] [-- Attachment #3: ad2.tex --] [-- Type: text/x-tex, Size: 862 bytes --] \unprotect \newtoks\toks@ \let\z@\zeropoint \protect \usemodule[tikz] \starttext \starttikzpicture[->,>=stealth',shorten >=1pt,auto,node distance=4cm, semithick] \tikzstyle{state}=[fill=gray,draw=none,text=white] \node[state] (s0) [label=left:$s_0$] {$p,q$}; \node[state] (s1) [below right of=s0,label=right:$s_1$] {$q$}; \node[state] (s2) [below of=s0,label=right:$s_2$] {$q$}; \node[state] (s3) [below left of=s0,label=left:$s_3$] {$p$}; \path (s0) edge [loop above] (s0) edge (s1) edge (s3) (s1) edge [bend right] (s3) (s2) edge [loop below] (s2) edge (s0) edge [right] (s1) (s3) edge [right] (s1) edge [right] (s2); \stoptikzpicture \stoptext [-- Attachment #4: ad-pgf.pdf --] [-- Type: application/pdf, Size: 11375 bytes --] [-- Attachment #5: 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: luatex tikz problem 2009-03-07 23:41 ` Mohamed Bana @ 2009-03-08 0:02 ` Aditya Mahajan 2009-03-09 12:20 ` Mojca Miklavec 2009-03-09 14:43 ` Mojca Miklavec 0 siblings, 2 replies; 9+ messages in thread From: Aditya Mahajan @ 2009-03-08 0:02 UTC (permalink / raw) To: mailing list for ConTeXt users On Sat, 7 Mar 2009, Mohamed Bana wrote: > Aditya, thanks for looking into it. > > ConTeXt version: 2009.02.25 14:43 > > $ luatex --version > This is LuaTeX, Version snapshot-0.35.0-2009022421, build unknown > > untouched version of tikz from minimals The minimals version of tikz is old. Try the latest cvs version which is packaged in a TDS compliant manner at http://www.texample.net/tikz/builds/ With this version, your example compiles there without any errors even when I pgfplots. Aditya ___________________________________________________________________________________ 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: luatex tikz problem 2009-03-08 0:02 ` Aditya Mahajan @ 2009-03-09 12:20 ` Mojca Miklavec 2009-03-09 14:43 ` Mojca Miklavec 1 sibling, 0 replies; 9+ messages in thread From: Mojca Miklavec @ 2009-03-09 12:20 UTC (permalink / raw) To: mailing list for ConTeXt users On Sun, Mar 8, 2009 at 01:02, Aditya Mahajan wrote: > > The minimals version of tikz is old. Try the latest cvs version which is > packaged in a TDS compliant manner at http://www.texample.net/tikz/builds/ I'm sorry. I thought it was up to date. I need to take a look again. I have frozen the version at some point since there was some incompatible change causing engine recognition to fail, but I thought I have unfrozen that later; maybe we just forgot to update the cronjob after server change. I'll be back home next Tuesday, but will try to take a look before. 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: luatex tikz problem 2009-03-08 0:02 ` Aditya Mahajan 2009-03-09 12:20 ` Mojca Miklavec @ 2009-03-09 14:43 ` Mojca Miklavec 2009-03-09 16:38 ` Aditya Mahajan 1 sibling, 1 reply; 9+ messages in thread From: Mojca Miklavec @ 2009-03-09 14:43 UTC (permalink / raw) To: mailing list for ConTeXt users On Sun, Mar 8, 2009 at 01:02, Aditya Mahajan wrote: > > The minimals version of tikz is old. Hmmm ... what exactly did I miss? doc/generic/pgf/ChangeLog starts with 2009-02-26 Christian Feuersaenger <ludewich@users.sourceforge.net> (I didn't try to figure out what the latest commit was since I'm not too familiar with CVS.) \x7f 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: luatex tikz problem 2009-03-09 14:43 ` Mojca Miklavec @ 2009-03-09 16:38 ` Aditya Mahajan 2009-03-09 16:47 ` Mojca Miklavec 0 siblings, 1 reply; 9+ messages in thread From: Aditya Mahajan @ 2009-03-09 16:38 UTC (permalink / raw) To: mailing list for ConTeXt users On Mon, 9 Mar 2009, Mojca Miklavec wrote: > On Sun, Mar 8, 2009 at 01:02, Aditya Mahajan wrote: >> >> The minimals version of tikz is old. > > Hmmm ... what exactly did I miss? Updating the description page :) I just looked at the description page which still talks about Current version: 2.00 In sync with CTAN: yes So, if it is in sync with CTAN, it cannot be the CVS version ;) I did not actually test it. Sorry for the noise. Aditya ___________________________________________________________________________________ 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: luatex tikz problem 2009-03-09 16:38 ` Aditya Mahajan @ 2009-03-09 16:47 ` Mojca Miklavec 0 siblings, 0 replies; 9+ messages in thread From: Mojca Miklavec @ 2009-03-09 16:47 UTC (permalink / raw) To: mailing list for ConTeXt users On Mon, Mar 9, 2009 at 17:38, Aditya Mahajan wrote: > On Mon, 9 Mar 2009, Mojca Miklavec wrote: > >> On Sun, Mar 8, 2009 at 01:02, Aditya Mahajan wrote: >>> >>> The minimals version of tikz is old. >> >> Hmmm ... what exactly did I miss? > > Updating the description page :) I just looked at the description page which > still talks about > > Current version: 2.00 > In sync with CTAN: yes Blame Patrick for that :) :) :) He just added some random field to description of modules whose value always says "yes". The module is not synced on CTAN, but it is not updated on modules.contextgarden.net either. I need to delete it (or do something else with it). For tikz I use a special script that updates it from CVS for the minimals; all other modules are synced from modules.contextgarden.net. > So, if it is in sync with CTAN, it cannot be the CVS version ;) I did not > actually test it. Sorry for the noise. But you might have been right about your "your're using too old version" after all :) :) :) On Mon, Mar 9, 2009 at 17:12, Till Tantau wrote: > Hi! > > I have just commited a patch to CVS that should fix the problem. (I could > not try out the minimal example you sketch below because, for some reason, > context in this miniversion fails to load the tikz module. But I hope my > patch will fix this problem in luatex+context). > > Note that the context color support is still far from perfect, but better > than nothing. I hope you will be able to test ... I'm leaving now. 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-09 16:47 UTC | newest] Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2009-02-21 17:41 luatex tikz problem Mohamed Bana 2009-02-26 17:52 ` Mohamed Bana 2009-03-07 20:42 ` Aditya Mahajan 2009-03-07 23:41 ` Mohamed Bana 2009-03-08 0:02 ` Aditya Mahajan 2009-03-09 12:20 ` Mojca Miklavec 2009-03-09 14:43 ` Mojca Miklavec 2009-03-09 16:38 ` Aditya Mahajan 2009-03-09 16:47 ` 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).