emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Specify the end of a heading even when there's still some content after it
@ 2011-11-24 15:41 Emmanuel Di Pretoro
  2011-12-01  8:42 ` Eric S Fraga
  0 siblings, 1 reply; 3+ messages in thread
From: Emmanuel Di Pretoro @ 2011-11-24 15:41 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1044 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 1397 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-12-01 11:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-24 15:41 Specify the end of a heading even when there's still some content after it Emmanuel Di Pretoro
2011-12-01  8:42 ` Eric S Fraga
2011-12-01 11:06   ` Tim Burt

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).