David Kastrup wrote:
Franz Haeuslschmid <[EMAIL PROTECTED]> 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.
_______________________________________________
bug-auctex mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-auctex