[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] unfortunate "feature interaction" of org-export and emacs-latex-
From: |
Rasmus |
Subject: |
Re: [O] unfortunate "feature interaction" of org-export and emacs-latex-auctex mode |
Date: |
Mon, 09 Nov 2015 21:38:37 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
Martin Steffen <address@hidden> 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.