From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/69472 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: t-filter: how to use math-mode Date: Thu, 23 Jun 2011 19:23:08 -0400 (EDT) Message-ID: References: <1304111382.5256.20.camel@mattotaupa> <1304149025.5773.17.camel@mattotaupa> <87r58izkjf.fsf@micropit.couberia.bzh> <8762puz21v.fsf@micropit.couberia.bzh> <1304350249.3949.68.camel@mattotaupa> <1306486383.4362.22.camel@mattotaupa> <4E034E33.3020002@googlemail.com> <4E039B21.80209@googlemail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1308871407 9050 80.91.229.12 (23 Jun 2011 23:23:27 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 23 Jun 2011 23:23:27 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Jun 24 01:23:23 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 1QZtF5-0004tN-O1 for gctc-ntg-context-518@m.gmane.org; Fri, 24 Jun 2011 01:23:23 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1F998CAE53; Fri, 24 Jun 2011 01:23:23 +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 1HNqUvrPFOVu; Fri, 24 Jun 2011 01:23:20 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B0491CAE58; Fri, 24 Jun 2011 01:23:20 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 79A97CAE58 for ; Fri, 24 Jun 2011 01:23:19 +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 0vNQAcxMKPhC for ; Fri, 24 Jun 2011 01:23:17 +0200 (CEST) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id 9FCA7CAE53 for ; Fri, 24 Jun 2011 01:23:17 +0200 (CEST) Original-Received: from hackers.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.14.81]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p5NNNFLG006854 for ; Fri, 24 Jun 2011 01:23:16 +0200 Original-Received: FROM [10.0.2.15] (web044064.Wireless.McGill.CA [142.157.44.64]) By hackers.mr.itd.umich.edu ID 4E03CAE1.B43DA.21779 ; Authuser adityam; 23 Jun 2011 19:23:13 EDT In-Reply-To: <4E039B21.80209@googlemail.com> User-Agent: Alpine 2.01 (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: 0bEXznfan - 5df95c330739 - 20110624 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 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:69472 Archived-At: On Thu, 23 Jun 2011, yoraxe wrote: > Am 23.06.2011 18:30, schrieb Aditya Mahajan: >> On Thu, 23 Jun 2011, yoraxe wrote: >> >>> How can I use math-mode in such a table? Using $a_b$ it just prints >>> $a_b$ instead of identifying this as a math-input. >>> >>> I'm using pandoc 1.8.1.1 and context 2011.06.19. >> >> Can you give a complete minimal example? > > Find all files attached. > I see, it is the line > > \NC \$a\letterunderscore{}b\$ > > that is not correctly translated. What do I have to type instead of _? It seems that pandoc's rst reader does not handle inline mathematics (at least with pandoc 1.6; I don't know if Pandoc 1.8 fixes this). $echo "\$a_b\$" | pandoc -f rst -t native Pandoc (Meta {docTitle = [], docAuthors = [], docDate = []}) [ Para [Str "$",Str "a",Str "_",Str "b",Str "$"] ] In contrast, markdown reader handles inline mathematics correctly. $echo "\$a_b\$" | pandoc -f markdown -t native Pandoc (Meta {docTitle = [], docAuthors = [], docDate = []}) [ Para [Math InlineMath "a_b"] ] So, it would be better to discuss this on the pandoc mailing list. 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 ___________________________________________________________________________________