From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [bug, ox-latex] footnotes with math in narrowed buffer Date: Fri, 24 Apr 2015 21:09:50 +0200 Message-ID: <87wq11cphd.fsf@nicolasgoaziou.fr> References: <87y4lhzf63.fsf@gmx.us> 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]:59292) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ylixi-0005HX-Di for emacs-orgmode@gnu.org; Fri, 24 Apr 2015 15:08:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ylixh-00051l-HN for emacs-orgmode@gnu.org; Fri, 24 Apr 2015 15:08:30 -0400 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:52694) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ylixh-00051C-Bl for emacs-orgmode@gnu.org; Fri, 24 Apr 2015 15:08:29 -0400 In-Reply-To: <87y4lhzf63.fsf@gmx.us> (rasmus@gmx.us's message of "Fri, 24 Apr 2015 18:04: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: Rasmus Cc: emacs-orgmode@gnu.org 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=E1=B5=80=E1=B4=B9= to fix this > (i.e. there could be a more fundamental bug). It looks good. You can push it. Thank you. Regards, --=20 Nicolas Goaziou