From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/40515 Path: news.gmane.org!not-for-mail From: Pau Newsgroups: gmane.comp.tex.context Subject: LaTeX maths with array... Date: Sat, 19 Apr 2008 20:24:08 +0200 Message-ID: <30c383e70804191124l649ab7bex54e496a6f81359a0@mail.gmail.com> Reply-To: vim.unix@gmail.com, mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1208630230 32607 80.91.229.12 (19 Apr 2008 18:37:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 19 Apr 2008 18:37:10 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Sat Apr 19 20:37:41 2008 connect(): Connection refused Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1JnHlK-0001Bq-2R for gctc-ntg-context-518@m.gmane.org; Sat, 19 Apr 2008 20:26:10 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5400B1FBEB; Sat, 19 Apr 2008 20:25:25 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 20902-03-7; Sat, 19 Apr 2008 20:24:43 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B049D1FB7E; Sat, 19 Apr 2008 20:24:42 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A815C1FA2B for ; Sat, 19 Apr 2008 20:24:41 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 22734-01-5 for ; Sat, 19 Apr 2008 20:24:09 +0200 (CEST) Original-Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.153]) by ronja.ntg.nl (Postfix) with ESMTP id 4BD3B1FB7E for ; Sat, 19 Apr 2008 20:24:09 +0200 (CEST) Original-Received: by fg-out-1718.google.com with SMTP id e12so910339fga.8 for ; Sat, 19 Apr 2008 11:24:09 -0700 (PDT) Original-Received: by 10.86.100.19 with SMTP id x19mr8496350fgb.40.1208629449099; Sat, 19 Apr 2008 11:24:09 -0700 (PDT) Original-Received: by 10.86.52.17 with HTTP; Sat, 19 Apr 2008 11:24:08 -0700 (PDT) Content-Disposition: inline X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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 X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:40515 Archived-At: Hi, I am preparing an e-journal for astro and I have many articles with lots of equations. Unfortunately, authors are using LaTeX maths and this is giving me trouble. I have read and followed the steps of http://wiki.contextgarden.net/LaTeX_Math_in_ConTeXt and http://wiki.contextgarden.net/Math_with_newmat and it has helped me a lot but there's a snag I run all the time in: array Typically, the equation giving troubles is of the kind: \begin{equation} \begin{array}{rl} h & \sim \mu M^{2/3}f^{2/3}/r\\ & \sim M_{ch}^{5/3}f^{2/3}/r\\ \end{array} \end{equation} when I try to compile, I get ! Misplaced alignment tab character &. l.484 h& \sim \mu M^{2/3}f^{2/3}/r\\ Of course, when I use \startformula\eqalign{ h & \sim \mu M^{2/3}f^{2/3}/r \cr & \sim M_{ch}^{5/3}f^{2/3}/r \cr }\stopformula everything runs smoothly but I cannot convert all equations containing a {array}{rl} or similar, because I would never end... I guess that writing a script to convert them in eqlign would be feasible, but it's a very... precarious way... I would prefer to fix the problem from ConTeXt itself... how?? thanks, Pau ___________________________________________________________________________________ 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 ___________________________________________________________________________________