ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Mathieu Boespflug <0xbadcode@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Latest betas break tikz matrix
Date: Wed, 23 Feb 2011 11:38:58 -0500	[thread overview]
Message-ID: <AANLkTikRyy10h8ZPTdg_cW_jDCtfr0CTLpbXboqrJK_q@mail.gmail.com> (raw)
In-Reply-To: <AANLkTim5kURLU-pKFBtzGsnP9C0bJy4W9T50JZTKrXL0@mail.gmail.com>

Hi Aditya,

> Could be due to the change in catcode of &. Try adding \donknuthmode.

It doesn't make any difference if I put the \donknuthmode just before
\starttikzpicture. But If I put it before the \usemodule[tikz], then I
get another error:

Package pgfbasematrix: Error! Single ampersand used with wrong catcode.
! Missing number, treated as zero.

system          > tex > error on line 12 in file testcontext.tex:
Missing number, treated as zero ...

 2     \usemodule[tikz]
 3     \usetikzlibrary{matrix}
 4
 5     \starttext
 6     \tikzstyle{description}=[fill=white,inner sep=2pt]
 7     \starttikzpicture
 8         \matrix(m)[matrix of math nodes,
 9           row sep=3em, column sep=3em,
10           text height=1.5ex, text depth=0.25ex]
11                {x&y\\
12 >>               z&u};
13         \path[->]
14           (m-1-1) edge node[description] {$*$} (m-1-2)
15                   edge node[description] {$*$} (m-2-1)
16           (m-1-2) edge[dashed] node[description] {$*$} (m-2-2)
17           (m-2-1) edge[dashed] node[description] {$*$} (m-2-2);
18     \stoptikzpicture
19     \nonknuthmode
20     \stoptext
21

<to be read again>
                  \pgf@matrix@column@sep@2
\pgf@matrix@endcell ...ixcurrentcolumn \endcsname
                                                 \relax \advance \pgf@picmi...
<template> \pgf@matrix@endcell
                              }\endtemplate
\pgf@matrix@no@eom@found ->\cr
                              \noalign {\vskip \pgf@y \ifpgf@matrix@fixed \...
<to be read again>
                  z
l.12              z
                  &u};
___________________________________________________________________________________
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
___________________________________________________________________________________


  parent reply	other threads:[~2011-02-23 16:38 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-23  1:39 Mathieu Boespflug
2011-02-23  2:10 ` Aditya Mahajan
     [not found]   ` <AANLkTim5kURLU-pKFBtzGsnP9C0bJy4W9T50JZTKrXL0@mail.gmail.com>
2011-02-23 16:38     ` Mathieu Boespflug [this message]
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=AANLkTikRyy10h8ZPTdg_cW_jDCtfr0CTLpbXboqrJK_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).