emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] [bug, ox-latex] footnotes with math in narrowed buffer


From: Nicolas Goaziou
Subject: Re: [O] [bug, ox-latex] footnotes with math in narrowed buffer
Date: Fri, 24 Apr 2015 21:36:36 +0200

Hello,

Rasmus <address@hidden> writes:

> Rasmus <address@hidden> writes:
>
>> * h1
>> foo[fn:1]
>>
>> * Footnotes
>> [fn:1] if \alpha $\beta$ \(\gamma\)
>>
>> Narrow it to h1 and export the buffer.  Something like this is exported:
>
> This also does not seem to work correctly when exporting with ox-html.
> But there the problem is that the parse-tree does not recognize any
> latex-fragments.  So org-html--build-mathjax-config returns nil rather
> than the appropriate mathjax setup.

`org-html--build-mathjax-config' needs to check, in addition to parse
tree, cdr of all associations in (plist-get
info :footnote-definition-alist), and values of all parsed keywords.

> BTW: While it's nice to try to make a sensible decision on whether to load
> mathjax, this rest of pretty fragile assumptions.  I could INCLUDE a html
> file with math.

What do you suggest instead? Load mathjax every time?

Regards,

-- 
Nicolas Goaziou



reply via email to

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