[Top][All Lists]

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

Re: [Bug-AUCTeX] preview-1.257; Preview and local variable TeX-master

From: Franz Haeuslschmid
Subject: Re: [Bug-AUCTeX] preview-1.257; Preview and local variable TeX-master
Date: Fri, 10 Jun 2005 19:29:03 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050317 Thunderbird/1.0.2 Mnenhy/

David Kastrup wrote:
Franz Haeuslschmid <address@hidden> writes:

Dear bug-fixing team,

occasionally, that is, when I remove all sorts of generated files
from my document project's directories, preview asks me to enter
the path to a master file.

[... steps and sample files to reproduce the bug ...]

I know, by setting `TeX-master' to nil, I require AUCTeX for
every new TeX file to ask me, to set its master.

For every new file.  But slave.tex is not new, and it _does_ set
TeX-master locally anyway, so the default setting should not matter at

However, I find it irritating to specify another master file for a
preview of my document.

There is definitely something wrong here.  Before such a thing
happens, what do you get upon entering

M-: TeX-master RET

_in_ the file where this problem occurs?  Does it display "master"?


If it does, does the C-c C-p C-p then indeed ask the master file
question nevertheless?


I suppose, because a new TeX document is generated (`_region_.tex'), AUCTeX asks me to set its master. OK, here is, what `_region_.tex' looks like:

\message{ !name(master.tex)}\documentclass{article}

\message{ !name(slave.tex) !offset(-5) }

%%% Local Variables:
%%% mode: latex
%%% TeX-master: "master"
%%% End:

\message{ !name(master.tex) !offset(-8) }


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

Can I provide more hints?


reply via email to

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