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.
>
> The steps to reproduce would include:
> * start XEmacs: xemacs --vanilla
> * Evaluate in the *scratch* buffer:
>
> (require 'tex-site)
> (setq preview-gs-command "gswin32c")
> (setq-default TeX-master nil)
>
> * Visit a file that is included by a master document file and
> generate a preview with `C-c C-p C-p'.
>
> These are two files that can be used to reconstruct that
> behaviour:
>
> ,----[ master.tex ]
> | \documentclass{article}
> | \usepackage{acronym}
> | \begin{document}
> |
> | \include{slave}
> |
> | \end{document}
> |
> | %%% Local Variables:
> | %%% mode: latex
> | %%% TeX-master: t
> | %%% End:
> `----
>
> ,----[ slave.tex ]
> | $P_Q$
> |
> | %%% Local Variables:
> | %%% mode: latex
> | %%% TeX-master: "master"
> | %%% End:
> `----
>
> 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"?
If it does, does the C-c C-p C-p then indeed ask the master file
question nevertheless?
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
_______________________________________________
bug-auctex mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-auctex