emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] LaTeX math mode and export


From: Nicolas Goaziou
Subject: Re: [O] LaTeX math mode and export
Date: Sat, 12 Oct 2013 10:31:30 +0200

Completing myself,

> Fabrice Popineau <address@hidden> writes:

>> But again what is surprising is that the backslash itself
>> in \IEEEAuthorBlockA and \IEEEAuthorBlockN are not translated to LaTeX
>> syntax.
>
> Honestly, it surprised me too, as I thought that every curly bracket
> would be escaped. But I don't have time to look into it at the moment.

Actually, the reason is that regexp matching a macro is:

  "\\\\[a-zA-Z]+\\*?\\(\\(\\[[^][\n{}]*\\]\\)\\|\\({[^{}\n]*}\\)\\)*"

IOW, brackets (even escaped) are not allowed in the arguments of a LaTeX
macro. So the first \IEEEAuthorBlockN is correctly recognized but
\IEEEauthorblockA fails.

This is not optimal, but I think it is sufficient, since, again, Org
handles only simple raw LaTeX syntax.



reply via email to

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