[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Specify the end of a heading even when there's still some conten
From: |
Tim Burt |
Subject: |
Re: [O] Specify the end of a heading even when there's still some content after it |
Date: |
Thu, 01 Dec 2011 06:06:58 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
Eric S Fraga <address@hidden> writes:
> Emmanuel Di Pretoro <address@hidden> 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