unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Wenguang Wang <wenguangwang@mac.com>
To: help-gnu-emacs@gnu.org
Subject: Re: RefTex keeps asking me which file is the Master file
Date: Sun, 16 Aug 2009 00:03:18 -0700 (PDT)	[thread overview]
Message-ID: <a836a9d1-f0ab-4ce1-aca1-40592e25f396@h21g2000yqa.googlegroups.com> (raw)
In-Reply-To: 175d5f36-cdb9-46af-853d-633f5bb62c61@r18g2000yqd.googlegroups.com

Never mind.  I can do this in the .emacs file to solve it: (setq-
default TeX-master "mynowebproj.mm")

On 8月15日, 上午10时50分, Wenguang Wang <wenguangw...@mac.com> wrote:
> 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	other threads:[~2009-08-16  7:03 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 [this message]
2009-08-16  9:38   ` Joost Kremers
2009-08-16 14:54     ` Wenguang Wang
2009-08-18 15:23       ` wewwew

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=a836a9d1-f0ab-4ce1-aca1-40592e25f396@h21g2000yqa.googlegroups.com \
    --to=wenguangwang@mac.com \
    --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).