emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rasmus <rasmus@gmx.us>
To: emacs-orgmode@gnu.org
Subject: Re: [bug, ox-latex] footnotes with math in narrowed buffer
Date: Sat, 25 Apr 2015 12:42:16 +0200	[thread overview]
Message-ID: <87y4lgxzef.fsf@gmx.us> (raw)
In-Reply-To: <87bnicbj7w.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Sat, 25 Apr 2015 12:22:43 +0200")

Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:

> Rasmus <rasmus@gmx.us> writes:
>
>> Nicolas Goaziou <mail@nicolasgoaziou.fr> 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!

  reply	other threads:[~2015-04-25 10:42 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-24 16:04 [bug, ox-latex] footnotes with math in narrowed buffer Rasmus
2015-04-24 16:28 ` Rasmus
2015-04-24 16:33   ` Rasmus
2015-04-24 19:28     ` Nicolas Goaziou
2015-04-24 19:36   ` Nicolas Goaziou
2015-04-24 20:41     ` Rasmus
2015-04-25 10:22       ` Nicolas Goaziou
2015-04-25 10:42         ` Rasmus [this message]
2015-04-24 19:09 ` Nicolas Goaziou
2015-04-24 20:37   ` Rasmus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y4lgxzef.fsf@gmx.us \
    --to=rasmus@gmx.us \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).