[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Superscripts and subscripts
From: |
Nicolas Goaziou |
Subject: |
Re: [O] Superscripts and subscripts |
Date: |
Sat, 20 Apr 2013 21:11:10 +0200 |
Hello,
Christian Moe <address@hidden> writes:
>>> Nicolas Goaziou writes:
>>>> Of course, we could work around this with a new rule saying "the longest
>>>> match wins", which, in this case, is the underline. But it would be
>>>> better to find a more elegant solution, one which would remove the sole
>>>> ambiguity, AFAICT, in Org syntax.
>
> How did this work before? I never tried subscript after whitespace. But
> we had both superscript-after-whitespace and
> underlining-with-underscores working at the same time, without the
> ambiguity causing problems as far as I remember.
Simple: underline text was always handled (i.e. protected for further
transformation) before subscript.
But this doesn't remove the ambiguity. It just adds another parameter:
the parsing order.
Regards,
--
Nicolas Goaziou