This might be a problem with RefTeX. I have recently worked with
Markus Jantti to make RefTeX swallow noweb files and extensions. In
the end we got it to work with some modifications to RefTeX.
I believe you need to use the latest reftex from my webpage and the
following configuration:
(setq reftex-file-extensions '(("tex" . (".Rnw" ".tex" ".ltx"))
("bib" . (".bib")))
(setq reftex-try-all-extensions t)
Markus wanted to write up some documentation about this, I am sending a
CC to him, maybe he wants to comment?
- Carsten
On Mar 24, 2006, at 8:36, Fredrik Karlsson wrote:
Hi,
I use AUCTeX for editing mixed TeX and Noweb (which are converted to
TeX-files by an external make file) files. Using this, I find that I
have two problems with the Multifile-capability of AUCTeX:
1) Everytime I cross a \ref for the first time, I get prompted for a
master file, even though I got
%% Local Variables:
%% mode: latex
%% TeX-master: "thesismain"
%% End:
at the bottom of the file being edited and
%%% Local Variables:
%%% mode: latex
%%% TeX-master: t
%%% End:
at the end of thesismain.tex
2) When trying to generate a TOC from reftex, I get a minimal TOC:
File thesismain.tex starts here
File childspeech was not found
File background was not found
File method was not found
Part I Voicing contrast in production
File voicing was not found
File aspforce was not found
File aspvotinteraction was not found
File individualdiff was not found
Part II Acquisition of place and manner of articulation
File place was not found
File manner was not found
File plavemannervoice was not found
File clusterCompl was not found
* \Large Author Index
File thesismain.tex ends here
even though the files are in the same direcory. AUCTeX cannot even
find the file I generated the TOC from, but LaTeX has no problem
finding any of the files. This is the input:
%----------------------------------------------
\include{childspeech}
%Covers the method used and why.
\include{background}
%Covers the execution of the method
\include{method}
\part{Voicing contrast in production}
\label{PART:voic-contr-prod}
\include{voicing}
\include{aspforce}
\include{aspvotinteraction}
\include{individualdiff}
\part{Acquisition of place and manner of articulation}
\label{PART:acuis-place-mann}
\include{place}
\include{manner}
\include{plavemannervoice}
\include{clusterCompl}
%----------------------------------------------
These two issues may have something to do with an incorrect path being
set in AUCTeX/RefTeX that is correct for LaTeX. I have checked the
TeX-check-path
#--------------------------------------------------------------------
`TeX-check-path' is a variable declared in Lisp.
-- loaded from "tex"
Value: ("./" "/home/fredrik/.texmf/bibtex/bib/"
"/usr/local/lib/texmf/tex/")
Documentation:
Directory path to search for dependencies.
If nil, just check the current file.
Used when checking if any files have changed.
#--------------------------------------------------------------------
Are there other paths I should check? Any other ideas?
I am running XEmacs 21.4 (patch 12), AUCTeX 1.33 and RefTeX 1.28.
/Fredrik
--
My Gentoo + PVR-350 + IVTV + MythTV blog is on
http://gentoomythtv.blogspot.com/
_______________________________________________
auctex mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/auctex
--
Carsten Dominik
Sterrenkundig Instituut "Anton Pannekoek"
Universiteit van Amsterdam
Kruislaan 403
NL-1098SJ Amsterdam
phone: +31 20 525 7477
_______________________________________________
auctex mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/auctex