From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: [bug, ox-latex] footnotes with math in narrowed buffer Date: Fri, 24 Apr 2015 18:33:46 +0200 Message-ID: <87pp6tzdsl.fsf@gmx.us> References: <87y4lhzf63.fsf@gmx.us> <87tww5ze22.fsf@gmx.us> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55383) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YlgYG-0003Yn-50 for emacs-orgmode@gnu.org; Fri, 24 Apr 2015 12:34:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YlgYB-0002YX-4A for emacs-orgmode@gnu.org; Fri, 24 Apr 2015 12:34:04 -0400 Received: from plane.gmane.org ([80.91.229.3]:48375) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YlgYA-0002YG-TG for emacs-orgmode@gnu.org; Fri, 24 Apr 2015 12:33:59 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YlgY7-00069c-JS for emacs-orgmode@gnu.org; Fri, 24 Apr 2015 18:33:55 +0200 Received: from tsn109-201-152-241.dyn.nltelcom.net ([109.201.152.241]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 24 Apr 2015 18:33:55 +0200 Received: from rasmus by tsn109-201-152-241.dyn.nltelcom.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 24 Apr 2015 18:33:55 +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 Rasmus writes: > Rasmus 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. Add to this that the class of p is missing when including footnotes from outside of the narrowed region. E.g.

bar

(ugly) vs (not ugly):

bar

—Rasmus -- The right to be left alone is a human right