From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: [bug, ox-latex] footnotes with math in narrowed buffer Date: Sat, 25 Apr 2015 12:42:16 +0200 Message-ID: <87y4lgxzef.fsf@gmx.us> References: <87y4lhzf63.fsf@gmx.us> <87tww5ze22.fsf@gmx.us> <87oamdco8r.fsf@nicolasgoaziou.fr> <878udhz2bt.fsf@gmx.us> <87bnicbj7w.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49320) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YlxXX-0008TI-9G for emacs-orgmode@gnu.org; Sat, 25 Apr 2015 06:42:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YlxXR-0007E5-TP for emacs-orgmode@gnu.org; Sat, 25 Apr 2015 06:42:27 -0400 Received: from mout.gmx.net ([212.227.17.20]:59688) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YlxXR-0007DQ-Ko for emacs-orgmode@gnu.org; Sat, 25 Apr 2015 06:42:21 -0400 Received: from x200s ([78.52.144.110]) by mail.gmx.com (mrgmx102) with ESMTPSA (Nemesis) id 0M8JyQ-1ZXtEH11Bi-00vw8u for ; Sat, 25 Apr 2015 12:42:19 +0200 In-Reply-To: <87bnicbj7w.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Sat, 25 Apr 2015 12:22:43 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Nicolas Goaziou writes: > Rasmus writes: > >> Nicolas Goaziou 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. =E2=80=94Rasmus --=20 With monopolies the cake is a lie!