From: wewwew <wew036@cs.usask.ca>
To: help-gnu-emacs@gnu.org
Subject: Re: RefTex keeps asking me which file is the Master file
Date: Tue, 18 Aug 2009 08:23:40 -0700 (PDT) [thread overview]
Message-ID: <976f18e7-804f-4a2a-84df-1ae88a3a2aa3@24g2000yqm.googlegroups.com> (raw)
In-Reply-To: 1214019d-0559-4fd6-a4ef-ab4944ed123e@c34g2000yqi.googlegroups.com
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)
prev parent reply other threads:[~2009-08-18 15:23 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-15 17:50 RefTex keeps asking me which file is the Master file Wenguang Wang
2009-08-16 7:03 ` Wenguang Wang
2009-08-16 9:38 ` Joost Kremers
2009-08-16 14:54 ` Wenguang Wang
2009-08-18 15:23 ` wewwew [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=976f18e7-804f-4a2a-84df-1ae88a3a2aa3@24g2000yqm.googlegroups.com \
--to=wew036@cs.usask.ca \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).