emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Tim Burt <tcburt@rochester.rr.com>
To: Emmanuel Di Pretoro <edipretoro@gmail.com>
Cc: emacs-orgmode@gnu.org
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	[thread overview]
Message-ID: <m3hb1ky2i5.fsf@fluorine.burtket> (raw)
In-Reply-To: <87ty5khedw.fsf@ucl.ac.uk> (Eric S. Fraga's message of "Thu, 01 Dec 2011 08:42:19 +0000")

Eric S Fraga <e.fraga@ucl.ac.uk> writes:

> Emmanuel Di Pretoro <edipretoro@gmail.com> 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{<content>} which defers processing
of <content> 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

      reply	other threads:[~2011-12-01 11:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]

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=m3hb1ky2i5.fsf@fluorine.burtket \
    --to=tcburt@rochester.rr.com \
    --cc=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).