ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Mohamed Bana <mbana.lists@googlemail.com>
To: ntg-context@ntg.nl
Subject: luatex tikz problem
Date: Sat, 21 Feb 2009 17:41:52 +0000	[thread overview]
Message-ID: <gnpecv$qmm$1@ger.gmane.org> (raw)

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
___________________________________________________________________________________


             reply	other threads:[~2009-02-21 17:41 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-21 17:41 Mohamed Bana [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='gnpecv$qmm$1@ger.gmane.org' \
    --to=mbana.lists@googlemail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).