help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RefTex keeps asking me which file is the Master file


From: Wenguang Wang
Subject: RefTex keeps asking me which file is the Master file
Date: Sat, 15 Aug 2009 10:50:36 -0700 (PDT)
User-agent: G2/1.0

Hi,
I have a multi-file noweb project.  The file type is .mm (to
workaround a problem of my IDE debugger).  I have also added the
following file extensions into my .emacs file:

(setq reftex-file-extensions
      '(("mm" ".mm" "nw" "tex" ".tex") ("bib" ".bib")))
(setq TeX-file-extensions
      '( "mm" ".mm" "nw" "tex" ".tex" "sty" "cls" "ltx" "texi"
"texinfo"))

And at the end of each file, I have:

%%% Local Variables:
%%% mode: Noweb
%%% noweb-code-mode: c++-mode
%%% TeX-master: "mynowebproj"
%%% End:

And in mynowebproj.mm file, the TeX-master line is:

%%% TeX-master: t

However, when I save these .mm files, or when I open TOC on these
files using RefTeX, it kept asking me which file is the Master file,
very annoying.

Can anybody help me with this?

Thanks!

-Wenguang


reply via email to

[Prev in Thread] Current Thread [Next in Thread]