From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/77713 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: Struggling with ConTeXt Date: Thu, 2 Aug 2012 11:47:50 -0400 (EDT) Message-ID: References: <501A9CCB.1010400@wanadoo.fr> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1343922486 25655 80.91.229.3 (2 Aug 2012 15:48:06 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 2 Aug 2012 15:48:06 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Aug 02 17:48:05 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Swxd6-0007BQ-L1 for gctc-ntg-context-518@m.gmane.org; Thu, 02 Aug 2012 17:48:04 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9A2F5102A7; Thu, 2 Aug 2012 17:48:03 +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 rf7j-uUIRI7M; Thu, 2 Aug 2012 17:48:00 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 946F2101FC; Thu, 2 Aug 2012 17:48:00 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D777B101FC for ; Thu, 2 Aug 2012 17:47:59 +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 FMPumjth7Smu for ; Thu, 2 Aug 2012 17:47:53 +0200 (CEST) Original-Received: from filter3-utr.mf.surf.net (filter3-utr.mf.surf.net [195.169.124.154]) by balder.ntg.nl (Postfix) with ESMTP id CD210101F2 for ; Thu, 2 Aug 2012 17:47:53 +0200 (CEST) Original-Received: from tombraider.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.12.86]) by filter3-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q72Flpat003448 for ; Thu, 2 Aug 2012 17:47:52 +0200 Original-Received: FROM adi-netbook (bas3-montreal02-1096682554.dsl.bell.ca [65.94.12.58]) By tombraider.mr.itd.umich.edu ID 501AA126.23453.31702 ; Authuser adityam; 2 Aug 2012 11:47:50 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.12.86; 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: 08HFPLPRO - 908fb60b9ca4 - 20120802 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.154 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:77713 Archived-At: On Thu, 2 Aug 2012, Aditya Mahajan wrote: >> 4) I'm trying to port the following TeX code to ConTeXt >> >> $$\eqalign{x&=1\cr y&=2\cr}\qquad \hbox{haha}$$ >> >> it looks like \startformula\startalign.. doesn't allow me to do that >> I somehow managed to have it by typing >> >> \startformula >> \vcenter{\starttabular[|rM|lM|] >> \NC x \NC =1\NC\NR >> \NC y \NC =2\NC\NR >> \stoptabular}\qquad\text{haha} >> \stopformula >> >> the pdf export is fine, but the xml export is awfull (because of \vcenter I >> guess) >> >> a) Is there a way to use tables inside math mode alongside other stuff >> (would be handy) ? >> b) what is the correct way to type the previous text, so the pdf and xml >> are fine in Context ? > > Why not use \startmathalign etc. See: > > http://dl.contextgarden.net/myway/mathalign.pdf Sorry, I meant, \startmathmatrix (or \startmatrix) etc. 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________