"Daniel Clemente" <[EMAIL PROTECTED]> writes: >> When reading his org file in emacs I get something about some local >> variables (org-export-latex-preamble) not being safe, some others >> (org-export-latex-title-command) being risky and what not. Dont know >> whether this is emacs or org (or Daniel!) complaining and about what. > > yes, this is the only way I found to include file-specific > configuration for the LaTeX exporter. Normally you would have a > different preamble in each document, but the variable > org-export-latex-preamble is global and affects all documents; > therefore it must be chaneg in a „local variables" section.
For thos who are using the latest Org release: org-export-latex-preamble has been removed. If you want to use your own preamble in the LaTeX output, you should configure it in `org-export-latex-classes' and select it globally with `org-export-latex-class' or locally with the #+LaTeX_CLASS: option. Additionnally, if you want to append LaTeX options to your preamble, you can locally set the `org-export-latex-append-header' variable. E.g.: ,---- | * COMMENT Local variable | | # Local Variables: | # org-export-latex-append-header: "\\usepackage{fancyhrd}" | # End: `---- -- Bastien _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode