[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [bug, ox-latex] footnotes with math in narrowed buffer
From: |
Rasmus |
Subject: |
Re: [O] [bug, ox-latex] footnotes with math in narrowed buffer |
Date: |
Sat, 25 Apr 2015 12:42:16 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Nicolas Goaziou <address@hidden> writes:
> 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.
OK.
> What about inserting a :with-mathjax option (default value
> `org-html-with-mathjax'). If nil, no template, if t, template, if
> `auto', current behafviour (i.e. template if some math snippet /in
> body/)?
OK.
> `auto' is a decent default value for `org-html-with-mathjax' and it can
> be overridden per document with :with-mathjax.
I guess the example I showed is a limitation that we can live with. Also
it's pretty unlikely that you /only/ have math in footnotes.
—Rasmus
--
With monopolies the cake is a lie!
Re: [O] [bug, ox-latex] footnotes with math in narrowed buffer, Nicolas Goaziou, 2015/04/24