From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: new exporter / org-element Date: Thu, 25 Oct 2012 14:18:05 +0200 Message-ID: <871ugmn3sy.fsf@gmail.com> References: <87sj937lao.fsf@Rainer.invalid> <87ip9zmwp1.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:60335) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TRMRs-00008J-AC for emacs-orgmode@gnu.org; Thu, 25 Oct 2012 08:22:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TRMRn-0001oM-1a for emacs-orgmode@gnu.org; Thu, 25 Oct 2012 08:22:08 -0400 Received: from mail-wg0-f41.google.com ([74.125.82.41]:56739) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TRMRm-0001nr-R4 for emacs-orgmode@gnu.org; Thu, 25 Oct 2012 08:22:02 -0400 Received: by mail-wg0-f41.google.com with SMTP id ds1so3297921wgb.0 for ; Thu, 25 Oct 2012 05:22:02 -0700 (PDT) In-Reply-To: (Achim Gratz's message of "Thu, 25 Oct 2012 07:14:30 +0000 (UTC)") 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: Achim Gratz Cc: emacs-orgmode@gnu.org Hello, Achim Gratz writes: > Nicolas Goaziou gmail.com> writes: >> > the pagebreak does not get exported to LaTeX since the Footnotes section >> > will not be exported and the pagebreak is interpreted as being part of >> > that section. It would be nice if there was a way to "bind" it to the >> > following heading or alternatively move it past the heading but have it >> > export before. Is that possible already or can it be implemented? >> >> Can't you move footnotes section at the end of your document instead? > > Yes, that's exactly the workaround I used. Better: you can move the pagebreak just /above/ the footnote section, as if the section didn't exist. > But I think that there may be a general need to be able to wrap some > code around an element on exporting (let's say, putting a table or > section into a minipage) or prefix the export with something (like the > pagebreak example) and have that code properly be part of the element. > Note that we already have that functionality, sort of, for the title > element of the export. There's already such a mechanism: it's called "filters". I'm just pointing out that, in your situation, it's not worth relying on this kind of tool. Regards, -- Nicolas Goaziou