Multifile documents and file variables

View: New views
2 Messages — Rating Filter:   Alert me  

Multifile documents and file variables

by Brett Presnell :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


This is a small thing, but I thought I would ask anyway.

I have a master file with

%%% Local Variables:
%%% mode: latex
%%% TeX-PDF-mode: t
%%% TeX-master: t
%%% End:

This file \includes other files in which, as an experiment, I have
narrowed the local variables list to just

%%% Local Variables:
%%% TeX-master: "lst"
%%% End:

Perhaps not surprisingly these files do not inherit the file local
variables of the master so when they are loaded TeX-PDF-mode is nil.  Is
there some simple way to cause the included files to inherit this and
other settings from the master?


_______________________________________________
auctex mailing list
auctex@...
http://lists.gnu.org/mailman/listinfo/auctex

Re: Multifile documents and file variables

by Ralf Angeli-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

* Brett Presnell (2009-10-23) writes:

> Perhaps not surprisingly these files do not inherit the file local
> variables of the master so when they are loaded TeX-PDF-mode is nil.  Is
> there some simple way to cause the included files to inherit this and
> other settings from the master?

At least I am not aware of one.  We'd need something like document-local
or project-local variables.

--
Ralf


_______________________________________________
auctex mailing list
auctex@...
http://lists.gnu.org/mailman/listinfo/auctex