From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/69463 Path: news.gmane.org!not-for-mail From: yoraxe Newsgroups: gmane.comp.tex.context Subject: Re: t-filter: how to use math-mode Date: Thu, 23 Jun 2011 23:08:00 +0200 Message-ID: <4E03AB30.6000508@googlemail.com> 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" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1308863285 29432 80.91.229.12 (23 Jun 2011 21:08:05 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 23 Jun 2011 21:08:05 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Jun 23 23:08:00 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 1QZr81-0005s7-Mr for gctc-ntg-context-518@m.gmane.org; Thu, 23 Jun 2011 23:07:57 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E2F06CAE52; Thu, 23 Jun 2011 23:07:56 +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 UlHFTp8rP2Yz; Thu, 23 Jun 2011 23:07:53 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8005ACAE3A; Thu, 23 Jun 2011 23:07:53 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id CF77BCAE3A for ; Thu, 23 Jun 2011 23:07:51 +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 WKVe7YtLaGBz for ; Thu, 23 Jun 2011 23:07:49 +0200 (CEST) Original-Received: from filter2-nij.mf.surf.net (filter2-nij.mf.surf.net [195.169.124.153]) by balder.ntg.nl (Postfix) with ESMTP id 65AA0CAE30 for ; Thu, 23 Jun 2011 23:07:49 +0200 (CEST) Original-Received: from mail-bw0-f41.google.com (mail-bw0-f41.google.com [209.85.214.41]) by filter2-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p5NKQuAj028145 for ; Thu, 23 Jun 2011 22:26:57 +0200 Original-Received: by bwz17 with SMTP id 17so2742209bwz.14 for ; Thu, 23 Jun 2011 14:07:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=hwGReMG7r9vLCzQyFYc+70FJp7U/6jChxNevCJaEwOA=; b=OVIZu/H6X07NP+FD8upNedPFOt3HKybgINCVsDCGCR7LiSixlut3t457TLqaXvFCuE AFq6t5IJ2ZITWZ6KIM3MenhYB1Lvucidq+bOA52cbfj5CzZPVLnDNuck0zj1CKPt8+wT 79cCurrj8gXFOyNFzWrrWvWFoKJHevyvfrBVU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; b=eliYaf3kuvtalul/kfkuBFPtAk+HOGl8UeWrLWqrg1xmmUCKSpJd/BPTNRCMoMnz0V XUBiYBr1Ou2aT/TSgHcD9zicfk6r6Q0RJpBcXXF4n/GVLjLu/25SwYej6zDQx0vv9xuV 5xnSTTK212OIk18IpBMemiUgaQVqdA2wuPMLY= Original-Received: by 10.204.156.22 with SMTP id u22mr1344006bkw.9.1308863268034; Thu, 23 Jun 2011 14:07:48 -0700 (PDT) Original-Received: from 192.168.10.1 (91-66-116-24-dynip.superkabel.de [91.66.116.24]) by mx.google.com with ESMTPS id j7sm1064051bka.8.2011.06.23.14.07.47 (version=SSLv3 cipher=OTHER); Thu, 23 Jun 2011 14:07:47 -0700 (PDT) In-Reply-To: <4E039B21.80209@googlemail.com> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.214.41; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0aEXwqU7h - 184fa8cf8ead - 20110623 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.153 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:69463 Archived-At: Am 23.06.2011 21:59, schrieb yoraxe: > 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 _? Maybe this could be helpful: http://hackage.haskell.org/packages/archive/pandoc/1.8.1.1/doc/html/src/Text-Pandoc-Writers-ConTeXt.html Does someone know what all this means? I guess especially interesting are the following lines: inlineToConTeXt (Math InlineMath str) = return $ char '$' <> text str <> char '$' inlineToConTeXt (Math DisplayMath str) = return $ text "\\startformula " <> text str <> text " \\stopformula" ___________________________________________________________________________________ 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 ___________________________________________________________________________________