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