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 20:46:46 +0100 Message-ID: <87txpkdk9l.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:45074) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U4crh-0006Ot-UK for emacs-orgmode@gnu.org; Sun, 10 Feb 2013 14:47:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U4crg-0002I5-Aq for emacs-orgmode@gnu.org; Sun, 10 Feb 2013 14:47:05 -0500 Received: from mail-wg0-f43.google.com ([74.125.82.43]:59240) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U4crg-0002Hv-4W for emacs-orgmode@gnu.org; Sun, 10 Feb 2013 14:47:04 -0500 Received: by mail-wg0-f43.google.com with SMTP id e12so4144045wge.34 for ; Sun, 10 Feb 2013 11:47:03 -0800 (PST) In-Reply-To: (Samuel Wales's message of "Sun, 10 Feb 2013 11:49:51 -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 Hello, Samuel Wales writes: > Surely this is pilot error someplace. > > (org-export-to-buffer > 'html > (get-buffer-create "test") > t > nil > t) > Beware, `org-export-to-buffer' expects a string as its second argument, not a buffer. So: (org-export-to-buffer 'html "test" t nil t) should be enough. > *** test > asasdf[fn::test] > > *** output >

> asasdf href="#fn.1">1

> 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. Regards, -- Nicolas Goaziou