From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tim Burt Subject: Re: Specify the end of a heading even when there's still some content after it Date: Thu, 01 Dec 2011 06:06:58 -0500 Message-ID: References: <87ty5khedw.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([140.186.70.92]:36702) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RW4Tn-0006ck-7o for emacs-orgmode@gnu.org; Thu, 01 Dec 2011 06:07:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RW4Tl-0008Uo-RH for emacs-orgmode@gnu.org; Thu, 01 Dec 2011 06:07:03 -0500 Received: from hrndva-omtalb.mail.rr.com ([71.74.56.124]:46934) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RW4Tl-0008Ud-OF for emacs-orgmode@gnu.org; Thu, 01 Dec 2011 06:07:01 -0500 In-Reply-To: <87ty5khedw.fsf@ucl.ac.uk> (Eric S. Fraga's message of "Thu, 01 Dec 2011 08:42:19 +0000") 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: Emmanuel Di Pretoro Cc: emacs-orgmode@gnu.org Eric S Fraga writes: > Emmanuel Di Pretoro writes: > >> Hi, >> >> Is there a way to ask to org-mode to add something before the >> \end{document} of a LaTeX export? LaTeX has the command \AtEndDocument{} which defers processing of until \end{document} is reached. Might this suit your need? Tim > > The only thing that comes to mind would be to see if you can play with > > ,----[ C-h v org-export-latex-final-hook RET ] > | org-export-latex-final-hook is a variable defined in `org-latex.el'. > | Its value is > | ( ... ) > | > | > | This variable is potentially risky when used as a file local variable. > | > | Documentation: > | Hook run in the finalized LaTeX buffer. > | > | [back] > `---- > > and fix up the latex created to insert what you need at the right > place? > > HTH, > eric -- Tim Burt www.rketburt.org "It is healthful to every sane man to utter the art within him;" -- GK Chesterton