From: Mathieu Boespflug <0xbadcode@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Latest betas break tikz matrix
Date: Tue, 22 Feb 2011 20:39:45 -0500 [thread overview]
Message-ID: <AANLkTinth5Q__gXB5BzUMMOn=P=BgYN0e2us_GWEjn=q@mail.gmail.com> (raw)
Hi all,
This code used to compile in versions of context prior to January,
though I can't quite pin down the versions.
\usemodule[t-tikz]
\usetikzlibrary{matrix}
\starttext
\tikzstyle{description}=[fill=white,inner sep=2pt]
\starttikzpicture
\matrix(m)[matrix of math nodes,
row sep=3em, column sep=3em,
text height=1.5ex, text depth=0.25ex]
{x&y\\
z&u\\};
\path[->]
(m-1-1) edge node[description] {$*$} (m-1-2)
edge node[description] {$*$} (m-2-1)
(m-1-2) edge[dashed] node[description] {$*$} (m-2-2)
(m-2-1) edge[dashed] node[description] {$*$} (m-2-2);
\stoptikzpicture
\stoptext
(compilation error at the bottom of this email)
I thought at first that this was a luatex problem, but I've ruled that
out with the following plain tex file, which compiles just fine in
plain luatex and in plain pdftex:
\input tikz.tex
\usetikzlibrary{matrix}
\tikzstyle{description}=[fill=white,inner sep=2pt]
\tikzpicture
\matrix(m)[matrix of math nodes,
row sep=3em, column sep=3em,
text height=1.5ex, text depth=0.25ex]
{x&y\\
z&u\\};
\path[->]
(m-1-1) edge node[description] {$*$} (m-1-2)
edge node[description] {$*$} (m-2-1)
(m-1-2) edge[dashed] node[description] {$*$} (m-2-2)
(m-2-1) edge[dashed] node[description] {$*$} (m-2-2);
\endtikzpicture
\end
I have no idea what the error is telling me and what could be causing
it. Any ideas?
Many thanks,
Mathieu
Compile log:
! Only one # is allowed per tab.
system > tex > error on line 10 in file testcontext.tex: Only one # is
allowed per tab ...
1 \usemodule[t-tikz]
2 \usetikzlibrary{matrix}
3
4 \starttext
5 \tikzstyle{description}=[fill=white,inner sep=2pt]
6 \starttikzpicture
7 \matrix(m)[matrix of math nodes,
8 row sep=3em, column sep=3em,
9 text height=1.5ex, text depth=0.25ex]
10 >> {x&y\\
11 z&u\\};
12 \path[->]
13 (m-1-1) edge node[description] {$*$} (m-1-2)
14 edge node[description] {$*$} (m-2-1)
15 (m-1-2) edge[dashed] node[description] {$*$} (m-2-2)
16 (m-2-1) edge[dashed] node[description] {$*$} (m-2-2);
17 \stoptikzpicture
18 \stoptext
19
\pgf@matrix@cont ...ell ##\pgf@matrix@endcell }&##
\pgf@matrix@padding &&\pgf...
l.10 {
x&y\\
?
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next reply other threads:[~2011-02-23 1:39 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-23 1:39 Mathieu Boespflug [this message]
2011-02-23 2:10 ` Aditya Mahajan
[not found] ` <AANLkTim5kURLU-pKFBtzGsnP9C0bJy4W9T50JZTKrXL0@mail.gmail.com>
2011-02-23 16:38 ` Mathieu Boespflug
2011-02-23 22:39 ` Mathieu Boespflug
2011-09-11 14:38 ` Philipp A.
2011-09-12 2:58 ` Aditya Mahajan
2011-09-12 3:39 ` Aditya Mahajan
2011-09-12 9:16 ` Philipp A.
2011-02-25 21:05 ` Hans Hagen
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='AANLkTinth5Q__gXB5BzUMMOn=P=BgYN0e2us_GWEjn=q@mail.gmail.com' \
--to=0xbadcode@gmail.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).