From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/71122 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: Latest betas break tikz matrix Date: Sun, 11 Sep 2011 22:58:10 -0400 (EDT) Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="8323328-1338526520-1315796292=:6981" X-Trace: dough.gmane.org 1315796259 19611 80.91.229.12 (12 Sep 2011 02:57:39 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 12 Sep 2011 02:57:39 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Sep 12 04:57:35 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1R2wiF-00005X-3n for gctc-ntg-context-518@m.gmane.org; Mon, 12 Sep 2011 04:57:35 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 01B08CAF85; Mon, 12 Sep 2011 04:57:34 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id VScKrZ-1j+Xi; Mon, 12 Sep 2011 04:57:31 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 33BDACAF7E; Mon, 12 Sep 2011 04:57:31 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id EEC8ECAF7E for ; Mon, 12 Sep 2011 04:57:28 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id BCvaZwTb8UxQ for ; Mon, 12 Sep 2011 04:57:16 +0200 (CEST) Original-Received: from filter1-ams.mf.surf.net (filter1-ams.mf.surf.net [192.87.102.69]) by balder.ntg.nl (Postfix) with ESMTP id 95FC8CAF7A for ; Mon, 12 Sep 2011 04:57:16 +0200 (CEST) Original-Received: from hackers.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.14.81]) by filter1-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p8C2vEY0025344 for ; Mon, 12 Sep 2011 04:57:15 +0200 Original-Received: FROM adi-netbook (bas3-montreal02-1096682717.dsl.bell.ca [65.94.12.221]) By hackers.mr.itd.umich.edu ID 4E6D7508.DC9E1.19507 ; Authuser adityam; 11 Sep 2011 22:57:12 EDT In-Reply-To: User-Agent: Alpine 2.02 (LNX 1266 2009-07-14) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=141.211.14.81; country=US; region=MI; city=Ann Arbor; postalcode=48109; latitude=42.2923; longitude=-83.7145; metrocode=505; areacode=734; http://maps.google.com/maps?q=42.2923,-83.7145&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 06FvCVedK - 16ec2c2d5034 - 20110912 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.69 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:71122 Archived-At: This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323328-1338526520-1315796292=:6981 Content-Type: TEXT/PLAIN; charset=UTF-8; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE On Sun, 11 Sep 2011, Philipp A. wrote: > 2011/2/23 Mathieu Boespflug <0xbadcode@gmail.com> > >> Hi all, >> >> just as a followup and for the mailing list archives, the solution is >> to use both Aditya's suggestion to turn on \donknuthmode, as well >> replacing the & signs with their interpretations, namely >> \pgfmatrixnextcell. Thank you Aditya for the suggestion. >> >> Regards, >> >> Mathieu > > > umm, i can=E2=80=99t seem to get it to work. i use the mkiv minimals=E2= =80=A6 > > no combination of \donknuthmode, \nonknuthmode, \pgfmatrixnextcell and > =E2=80=9Creplace ampersand=3Dfoo=E2=80=9D, that i tried, seems to work. > > can anyone give me a minimal example of a working tikz matrix in a contex= t > document? (preferrably something that prevents me from littering everythi= ng > with =E2=80=9C\pgfmatrixnextcell=E2=80=9D) One way around this is to re-read part of tikz module code under the right= =20 catcode regime (ideally this should be done by t-tikz). I still cannot get= =20 & to work, but using \& is a reasonable shortcut. Here is a working example: \usemodule[t-tikz] \usetikzlibrary{matrix} \unprotect \ReadFile{pgfmodulematrix.code.tex} \protect \starttext \tikzstyle{description}=3D[fill=3Dwhite,inner sep=3D2pt] \starttikzpicture \matrix(m)[matrix of math nodes, row sep=3D3em, column sep=3D3em, ampersand replacement=3D\&,%% AM: Added this. text height=3D1.5ex, text depth=3D0.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 Aditya --8323328-1338526520-1315796292=:6981 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --8323328-1338526520-1315796292=:6981--