Andreas Leha <andreas.l...@med.uni-goettingen.de> writes:

> Hi Rasmus,
>
> Rasmus <ras...@gmx.us> writes:
>> Hi,
>>
>> Andreas Leha <andreas.l...@med.uni-goettingen.de> 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