emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] math in parentheses


From: Rasmus
Subject: Re: [O] math in parentheses
Date: Tue, 28 Oct 2014 23:32:46 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Andreas Leha <address@hidden> writes:

> Hi Rasmus,
>
> Rasmus <address@hidden> writes:
>> Hi,
>>
>> Andreas Leha <address@hidden> writes:
>>
>>> Hi Richard,
>>> Just for me to understand:  Is the problem the missing whitespace
>>> around the $...$ expression?
>>
>> From (info "(org) LaTeX Fragments")
>>
>>      [a] single ‘$’ characters are only recognized as math delimiters
>>      if the enclosed text contains at most two line breaks, is
>>      directly attached to the ‘$’ characters with no whitespace in
>>      between, and if the closing ‘$’ is followed by whitespace,
>>      punctuation or a dash
>>
>
> Thanks for the pointer.
>
> Given that there are 'exceptions' already I'd like to see that last
> sentence extended to 'followed by whitespace, punctuation, a closing
> parenthesis or a dash'.

Patches welcome :)  but this does work $(x)$ BTW.

I guess the main function for export is
`org-element-latex-fragment-interpreter' but there's also
`org-inside-LaTeX-fragment-p'. . .

—Rasmus

-- 
When the facts change, I change my mind. What do you do, sir?




reply via email to

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