Martin Steffen <mstef...@ifi.uio.no> writes:

> Hi,
>
> Perhaps it's not really a "fault" of org (nor of auctex), but both
> things interact unfortunate. 
>
> The reason is: when I export org to LaTeX, and I visit the latex file
> afterwards, I want that auctex/emacs is instructed about some facts. Thus I
> like to have some lines such as
>
> %%% Local Variables: 
> %%% mode: latex
> %%% TeX-master: t
> %%% End: 
>
> at the end of the latex file. Org allows that, in that I add the
> "LATEX-only" export at the end of the org-file

If it's only about setting the mode, you could use
org-latex-compiler-file-string (in the git version), and set tex-master in
a latex block...

Rasmus

-- 
Lasciate ogni speranza, voi che leggete questo.


Reply via email to