Hi,

I'm following up on a thread suggesting a method to easily include large
amounts of LaTeX header material. See
https://lists.gnu.org/archive/html/emacs-orgmode/2013-03/msg00480.html
Please consider this a +1 for that feature request.

One suggestion was:
You could have a LaTeX block and tangle it to preamble.tex and input
preamble.tex in a LATEX_HEADER.

Which seems like an OK work-around.
I have two follow-up questions about this.

1) I can't seem to get

#+BEGIN_LATEX :tangle preamble.tex

to work. It needs to be

#+BEGIN_SRC latex :tangle preamble.tex

Is this correct?

Secondly, is there a way to automatically tangle one just this section each time I export the file? Or automatically all sections (but just in
this file)?

Thanks,

 -k.

Reply via email to