bug-auctex
[Top][All Lists]
Advanced

[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/0.7.2.0

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
all.


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"?

Yes.

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

Yes.

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}
\usepackage{acronym}
\begin{document}

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

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

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

\end{document}

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


Can I provide more hints?

Franz.




reply via email to

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