From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: new exporter fails to output footnotes? Date: Sun, 10 Feb 2013 23:10:38 +0100 Message-ID: <87haljes69.fsf@gmail.com> References: <87txpkdk9l.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:43017) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U4f6w-0001Uw-Af for emacs-orgmode@gnu.org; Sun, 10 Feb 2013 17:10:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U4f6t-0000gt-QN for emacs-orgmode@gnu.org; Sun, 10 Feb 2013 17:10:58 -0500 Received: from mail-wi0-f182.google.com ([209.85.212.182]:53769) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U4f6t-0000gf-Ji for emacs-orgmode@gnu.org; Sun, 10 Feb 2013 17:10:55 -0500 Received: by mail-wi0-f182.google.com with SMTP id hi18so2533338wib.3 for ; Sun, 10 Feb 2013 14:10:54 -0800 (PST) In-Reply-To: (Samuel Wales's message of "Sun, 10 Feb 2013 12:54:25 -0700") 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: Samuel Wales Cc: emacs-orgmode@gnu.org Samuel Wales writes: > On 2/10/13, Nicolas Goaziou wrote: >> I assume you wonder why there's no footnote definition. That's because >> this is a body-only export. Footnote definitions belong to the global >> template, which is ignored when this option is active. > > Why would you not want footnote definitions in a subtree body only > export? I didn't say I didn't want them in. I was merely describing facts. > I have all of my blog posts as subtrees in a single file. I want to > export body only just as in the old exporter and have everything work. > > I cannot export HTML header, because Blogger already has its own. > > How do I export the subtrees with footnotes? That's an interesting question. For now, you can't, but that's a problem. I think the framework needs a step before the template function, in order to add some persistent data, even in case of a body-only export. Perhaps an :inner-template filter, or a `body' transcoding function. Regards, -- Nicolas Goaziou