[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: |
Sat, 25 Apr 2015 12:22:43 +0200 |
Rasmus <address@hidden> writes:
> Nicolas Goaziou <address@hidden> writes:
>>
>> `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.
>
> It seems you did not do this. I will add this over the weekend.
Actually, it isn't a very good idea because we cannot assume all parsed
keywords and all footnote definitions will actually be used to create
the document. This can introduce false positives.
What about inserting a :with-mathjax option (default value
`org-html-with-mathjax'). If nil, no template, if t, template, if
`auto', current behaviour (i.e. template if some math snippet /in
body/)?
`auto' is a decent default value for `org-html-with-mathjax' and it can
be overridden per document with :with-mathjax.
Regards,