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

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

Re: RefTex keeps asking me which file is the Master file


From: wewwew
Subject: Re: RefTex keeps asking me which file is the Master file
Date: Tue, 18 Aug 2009 08:23:40 -0700 (PDT)
User-agent: G2/1.0

Actually that hack only works partially.  I have to rename all
\includes from:

\include{subfile}

to

\include{subfile.mm}

and show a TOC, and then change the name back, before I can really
view the TOC correctly.  Anybody knows how to let RefTex look for the
subfiles directly using the file type I gave in .emacs?

-Wenguang

On Aug 16, 7:54 am, Wenguang Wang <wenguangw...@mac.com> wrote:
> I tried that already, but it didn't help.  Since I work on one noweb
> project at a time, this workaround is acceptable to me for now.  Of
> course I would love to see an official solution instead of this hack.
>
> On 8月16日, 上午2时38分, Joost Kremers <joostkrem...@yahoo.com> wrote:
>
>
>
> > Wenguang Wang wrote:
> > >> %%% Local Variables:
> > >> %%% mode: Noweb
> > >> %%% noweb-code-mode: c++-mode
> > >> %%% TeX-master: "mynowebproj"
> > >> %%% End:
> > > Never mind.  I can do this in the .emacs file to solve it: (setq-
> > > default TeX-master "mynowebproj.mm")
>
> > then why don't you try to set TeX-master in the local variables list *with* 
> > the
> > extension?
>
> > %%% TeX-master: "mynowebproj.mm"
>
> > as that seems to be the setting that solves your problem.
>
> > --
> > Joost Kremers                                      joostkrem...@yahoo.com
> > Selbst in die Unterwelt dringt durch Spalten Licht
> > EN:SiS(9)



reply via email to

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