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

> Emmanuel Di Pretoro <edipret...@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 via email to