emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Emmanuel Di Pretoro <edipretoro@gmail.com>
To: emacs-orgmode@gnu.org
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	[thread overview]
Message-ID: <CAEhw58u2vgOJkp+hZayrX5Z7wTQpw2OS9sjWfr1HjXcJJLAG4g@mail.gmail.com> (raw)

[-- 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 --]

             reply	other threads:[~2011-11-24 15:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-24 15:41 Emmanuel Di Pretoro [this message]
2011-12-01  8:42 ` Specify the end of a heading even when there's still some content after it Eric S Fraga
2011-12-01 11:06   ` Tim Burt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAEhw58u2vgOJkp+hZayrX5Z7wTQpw2OS9sjWfr1HjXcJJLAG4g@mail.gmail.com \
    --to=edipretoro@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).