From mboxrd@z Thu Jan 1 00:00:00 1970 From: Emmanuel Di Pretoro Subject: Specify the end of a heading even when there's still some content after it Date: Thu, 24 Nov 2011 16:41:45 +0100 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=0015174bec16b5b50404b27cdfd4 Return-path: Received: from eggs.gnu.org ([140.186.70.92]:55317) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RTbQu-0003LM-Ro for emacs-orgmode@gnu.org; Thu, 24 Nov 2011 10:41:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RTbQp-00038O-7N for emacs-orgmode@gnu.org; Thu, 24 Nov 2011 10:41:52 -0500 Received: from mail-ey0-f169.google.com ([209.85.215.169]:47921) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RTbQp-00038C-33 for emacs-orgmode@gnu.org; Thu, 24 Nov 2011 10:41:47 -0500 Received: by eaah1 with SMTP id h1so277779eaa.0 for ; Thu, 24 Nov 2011 07:41:45 -0800 (PST) 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: emacs-orgmode@gnu.org --0015174bec16b5b50404b27cdfd4 Content-Type: text/plain; charset=ISO-8859-1 Hi, Is there a way to ask to org-mode to add something before the \end{document} of a LaTeX export? I've set up a specific org-export-latex-class to use the limap package (a specific LaTeX package to produce Information Mapping-style document) and I would like to add a \printbibliography at the end of this document. If I use the following : #+begin_src org * References \printbibliography #+end_src The LaTeX export produce the folliowing : #+begin_src latex \begin{Map}{References} \printbibliography \end{Map} #+end_src Which is normal from the point of vue of org-mode. Unfortunately, \printbibliography doesn't play well with the limap package. So my solution is to end my LaTeX file by #+begin_src latex \section{References} \printbibliography #+end_src When I add these lines in my org file, these are integrated into the last heading. So, is there a way to tell org-mode that the last heading is finished, and that these two lines must be inserted before the \end{document}? Thanks in advance, Emmanuel Di Pretoro --0015174bec16b5b50404b27cdfd4 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi,

Is there a way to ask to org-mode to add something b= efore the \end{document} of a LaTeX export?=A0

I&#= 39;ve set up a specific org-export-latex-class to use the limap package (a = specific LaTeX package to produce Information Mapping-style document) and I= would like to add a \printbibliography at the end of this document. If I u= se the following :
#+begin_src org
=A0 * References=A0=A0
=A0 \p= rintbibliography
#+end_src

The LaT= eX export produce the folliowing :=A0
#+begin_src latex
=A0 \begin{Map}{References}
=A0 \printbibliography
=A0 = \end{Map}
#+end_src

Which is norma= l from the point of vue of org-mode. Unfortunately, \printbibliography does= n't play well with the limap package. So my solution is to end my LaTeX= file by=A0
#+begin_src latex
=A0 \section{References}
= =A0 \printbibliography
#+end_src

W= hen I add these lines in my org file, these are integrated into the last he= ading. So, is there a way to tell org-mode that the last heading is finishe= d, and that these two lines must be inserted before the \end{document}?

Thanks in advance,

Emmanuel Di= Pretoro
--0015174bec16b5b50404b27cdfd4--