Hi, how do I set the equivalent of TEXINPUTS in AucTeX? I am unable to
compile or preview a file that inputs a second file which is in my
~/texmf folder (which is what TEXINPUTS is set to). I read about
master files at
http://www.gnu.org/software/auctex/manual/auctex/Multifile.html#Multifile,
visited the included file and set the master file to be the main
document. I can compile the main file OK from the terminal but when I try
to preview in AucTeX I get this in *messages*:
Running `Preview-LaTeX' on `main' with ``latex "\nonstopmode\nofiles
\PassOptionsToPackage{active,tightpage,auctex}{preview}\AtBeginDocument
{\ifx\ifPreview\undefined\RequirePackage
[displaymath,floats,graphics,textmath,sections,footnotes]{preview}
[2004/11/05]\fi}" "\input" main.tex''
This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6)
%&-line parsing enabled.
entering extended mode
LaTeX2e <2005/12/01>
Babel <v3.8h> and hyphenation patterns for english, usenglishmax,
dumylang, noh
yphenation, loaded.
No auxiliary output files.
(./main.tex (/usr/share/texmf-texlive/tex/latex/base/article.cls
Document Class: article 2005/09/16 v1.4f Standard LaTeX document class
(/usr/share/texmf-texlive/tex/latex/base/size10.clo))
! LaTeX Error: File `Thesis-Includes.tex' not found.
Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: tex)
Enter file name:
! Emergency stop.
<read *>
l.5 \input{Thesis-Includes}
^^M
No pages of output.
Transcript written on main.log.
Preview-LaTeX exited as expected with code 1 at Wed Jan 21 13:23:24
LaTeX: LaTeX found no preview images
%%%%%%%%%%%%
Thanks,
Jim
_______________________________________________
auctex mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/auctex