Re: [O] non-math superscripts in LaTeX export

2018-12-17 Thread Ken Mankoff
On 2018-12-17 at 15:45 -0800, Nicolas Goaziou wrote: >> It seems to me like a^b should export as a\textsuperscript{b}. >> Do others agree? > > I think you're right. I changed "ox-latex" to use \textsubscript and > \textsuperscript in master. Could you check the result is correct now? Seems to w

Re: [O] non-math superscripts in LaTeX export

2018-12-17 Thread Nicolas Goaziou
Hello, Ken Mankoff writes: > It seems to me like a^b should export as a\textsuperscript{b}. > Do others agree? I think you're right. I changed "ox-latex" to use \textsubscript and \textsuperscript in master. Could you check the result is correct now? Thank you. Regards, -- Nicolas Goaziou

Re: [O] non-math superscripts in LaTeX export

2018-12-17 Thread Ken Mankoff
I know pandoc is not the Org reference implementation, but digging into this further I noticed that pandoc exports a^{b} from Org to LaTeX the way I expected/hoped Org would: $ echo "a^{b}" | pandoc -f Org -t latex a\textsuperscript{b} -k. On 2018-12-17 at 14:21 -0800, Ken Mankoff wrote:

[O] non-math superscripts in LaTeX export

2018-12-17 Thread Ken Mankoff
Hi, This file: Math mode: a\(^{b}\) Non-math mode: a^{b} What I'd like: a\textsuperscript{b} Is exported to this LaTeX code: Math mode: a\(^{b}\) Non-math mode: a\(^{\text{b}}\) What I'd like: a\textsuperscript{b} When viewing a PDF from that LaTeX source, the first (Math mode) appears corre