emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Multiple underscores crash org latex export; other exporters sur


From: Nicolas Goaziou
Subject: Re: [O] Multiple underscores crash org latex export; other exporters survive
Date: Wed, 07 Dec 2016 12:21:39 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

Hello,

Scott Randby <address@hidden> writes:

> On 12/06/2016 06:50 PM, Nicolas Goaziou wrote:
>> I fixed it in maint. Basically, a_b_c is translated as a\(_b\)\(_c\).
>
> With this solution, "a" will be exported as text while "b" and "c" will
> be exported as a single subsrcipt using the math font.

Not at all. I simplified the output for clarity but the real generated
code is

  a\(_{\text{b}}\)\(_{\text{c}}\)

> I would prefer that a_b_c be translated as \(a_{b_{c}}\).

As you pointed out, the string is ambiguous anyway. The point of the fix
is to generate valid LaTeX code. You can obtain the above unambiguously
with

  a_{b_c}

Regards,

-- 
Nicolas Goaziou



reply via email to

[Prev in Thread] Current Thread [Next in Thread]