From: Aditya Mahajan <adityam@umich.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: t-filter: how to use math-mode
Date: Thu, 23 Jun 2011 19:23:08 -0400 (EDT) [thread overview]
Message-ID: <alpine.LNX.2.01.1106231722591.1238@ybpnyubfg.ybpnyqbznva> (raw)
In-Reply-To: <4E039B21.80209@googlemail.com>
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
___________________________________________________________________________________
next prev parent reply other threads:[~2011-06-23 23:23 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-29 21:09 t-filter: no table created when Unicode characters are included Paul Menzel
2011-04-29 21:17 ` [t-filter] [PATCH] tests: add test file for reST (reStructuredText) Paul Menzel
2011-04-29 22:13 ` t-filter: no table created when Unicode characters are included Aditya Mahajan
2011-04-30 7:37 ` Paul Menzel
2011-04-30 15:10 ` Aditya Mahajan
2011-05-01 10:48 ` Paul Menzel
2011-05-01 12:12 ` Peter Münster
2011-05-01 14:29 ` Aditya Mahajan
2011-05-01 18:27 ` Peter Münster
2011-05-01 18:52 ` Peter Münster
2011-05-01 19:05 ` Aditya Mahajan
2011-05-01 19:09 ` Aditya Mahajan
2011-05-02 15:30 ` Paul Menzel
2011-05-27 8:53 ` [solved] " Paul Menzel
2011-06-23 14:31 ` yoraxe
2011-06-23 16:30 ` Aditya Mahajan
2011-06-23 19:59 ` t-filter: how to use math-mode yoraxe
2011-06-23 21:08 ` yoraxe
2011-06-23 23:23 ` Aditya Mahajan [this message]
2011-06-25 10:58 ` yoraxe
2011-04-30 21:00 ` t-filter: no table created when Unicode characters are included Philipp Gesang
2011-05-20 9:24 ` t-rst: Unicode character not printed (was: t-filter: no table created when Unicode characters are included) Paul Menzel
2011-05-20 9:54 ` Philipp Gesang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.LNX.2.01.1106231722591.1238@ybpnyubfg.ybpnyqbznva \
--to=adityam@umich.edu \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).