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 22:37:02 +0200 Message-ID: <87d22tz2j5.fsf@gmx.us> References: <87y4lhzf63.fsf@gmx.us> <87wq11cphd.fsf@nicolasgoaziou.fr> 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]:52518) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YlkOQ-0002c2-Ma for emacs-orgmode@gnu.org; Fri, 24 Apr 2015 16:40:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YlkOM-0000c1-Ib for emacs-orgmode@gnu.org; Fri, 24 Apr 2015 16:40:10 -0400 Received: from plane.gmane.org ([80.91.229.3]:34810) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YlkOM-0000aD-CR for emacs-orgmode@gnu.org; Fri, 24 Apr 2015 16:40:06 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YlkOK-0002WT-1T for emacs-orgmode@gnu.org; Fri, 24 Apr 2015 22:40:04 +0200 Received: from f052144110.adsl.alicedsl.de ([78.52.144.110]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 24 Apr 2015 22:40:04 +0200 Received: from rasmus by f052144110.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 24 Apr 2015 22:40:04 +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: > Hello, > > Rasmus writes: > >> Consider the following example: >> >> * h1 >> foo[fn:1] >> >> * Footnotes >> [fn:1] if \alpha $\beta$ \(\gamma\) >> >> Narrow it to h1 and export the buffer. Something like this is exported: >> >> foo\footnote{if \alpha \beta \gamma} >> >> Somehow org-export-get-footnote-definition "knows about" math-blocks for >> footnotes that are within the buffer view, but not outside. The patch >> fixes the above example, but I doubt it's the Right Wayᵀᴹ to fix this >> (i.e. there could be a more fundamental bug). > > It looks good. You can push it. Thank you. Pushed. -- This message is brought to you by the department of redundant departments