<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Thanks for all the responses! The difficulties continue but the error messages keep shifting slightly, and it's driving me crazy. I'm putting aside Emacs/Auctex for the moment and just using the command line. I've stopped with northern.tex and created a tiny test document, bob.tex, which also refuses to compile. Here's my Terminal session, tell me if I'm crazy:</div><div><br></div><div><div><b>(eric)~ $ cat bob.tex</b>&nbsp;</div><div>\documentclass{article}</div><div><br></div><div>\begin{document}</div><div>This is the simplest possible document.</div><div>\end{document}</div><div><b>(eric)~ $ xetex bob.tex</b></div><div>This is XeTeX, Version 3.1415926-2.2-0.9995.2 (TeX Live 2009)</div><div>entering extended mode</div><div>(./bob.tex</div><div>! Undefined control sequence.</div><div>l.1 \documentclass</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{article}</div><div>? ^D</div><div>! Emergency stop.</div><div>l.1 \documentclass</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{article}</div><div>No pages of output.</div><div>Transcript written on bob.log.</div><div><div><b>(eric)~ $ pdflatex bob.tex</b></div><div>This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009)</div><div>entering extended mode</div><div>(./bob.tex</div><div>LaTeX2e &lt;2009/09/24&gt;</div><div>[[ snipped ]]</div><div>Output written on bob.pdf (1 page, 13924 bytes).</div><div>Transcript written on bob.log.</div><br></div>Latex and pdflatex compile correctly from the command line, but from within Emacs tell me they can't find the input file. XeTeX and TeX both produce the above error from the command line, and also from within Emacs.</div><div><br></div><div>I have no idea why the error messages are now slightly different than they were before, it seems to be because I switched from northern.tex to this simpler test document.</div><div><br></div><div>I know this must be something moronic that I did, but I can't imagine what…</div><div><br></div><div>Thanks again,</div><div>Eric</div><br><div><div>On Feb 9, 2010, at 6:39 AM, Reinhard Kotucha wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>On 8 February 2010 Eric Abrahamsen wrote:<br><br><blockquote type="cite">I've been working on a tex file recently that makes use of two style &nbsp;<br></blockquote><blockquote type="cite">files, one of which loads the other. I want to use these style files &nbsp;<br></blockquote><blockquote type="cite">for other tex files, so this morning I tried putting them some place &nbsp;<br></blockquote><blockquote type="cite">on my system where they'd be located automatically by my latex &nbsp;<br></blockquote><blockquote type="cite">installation (I'm using MacTex 2009).<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">I can't be sure, but it seems like as soon as I moved the style files, &nbsp;<br></blockquote><blockquote type="cite">I started getting the error that LaTeX couldn't find my input file &nbsp;<br></blockquote><blockquote type="cite">(called "northern.tex" in this case). Not that it couldn't find my &nbsp;<br></blockquote><blockquote type="cite">style files, but the input file itself. I assumed the error message &nbsp;<br></blockquote><blockquote type="cite">was borked somehow and continued moving the style files to various &nbsp;<br></blockquote><blockquote type="cite">places around my system and messing with environment variables.<br></blockquote><br>Did you update the file database? &nbsp;You have to do it whenever you move<br>a file within the texmf* trees or add a new one.<br><br>You just have to run the program mktexlsr.<br><br>Regards,<br> &nbsp;Reinhard<br><br><blockquote type="cite">Nothing worked, so I put the style files back in the directory with &nbsp;<br></blockquote><blockquote type="cite">the input file. Same error. The input file is very obviously there, &nbsp;<br></blockquote><blockquote type="cite">and not empty, and yet both Auctex via Emacs and the command line say &nbsp;<br></blockquote><blockquote type="cite">they can't find the input file. I've removed the \usepackage commands &nbsp;<br></blockquote><blockquote type="cite">and all custom commands from the input file, so it's basically just a &nbsp;<br></blockquote><blockquote type="cite">standard LaTeX file with nothing but text. Same error with XeTeX and &nbsp;<br></blockquote><blockquote type="cite">LaTeX. Here's the XeTeX log output:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote><blockquote type="cite">This is XeTeX, Version 3.1415926-2.2-0.9995.2 (TeX Live 2009) &nbsp;<br></blockquote><blockquote type="cite">(format=xetex 2009.11.7) &nbsp;8 FEB 2010 17:23<br></blockquote><blockquote type="cite">entering extended mode<br></blockquote><blockquote type="cite"> &nbsp;%&amp;-line parsing enabled.<br></blockquote><blockquote type="cite">**northern.tex<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">! Emergency stop.<br></blockquote><blockquote type="cite">&lt;*&gt; northern.tex<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">End of file on the terminal!<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">No pages of output.<br></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">How can it reach end of file when the file's right there in the &nbsp;<br></blockquote><blockquote type="cite">directory?<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Help!<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Eric<br></blockquote><blockquote type="cite">_______________________________________________<br></blockquote><blockquote type="cite">TeX FAQ: <a href="http://www.tex.ac.uk/faq">http://www.tex.ac.uk/faq</a><br></blockquote><blockquote type="cite">Mailing list archives: <a href="http://tug.org/pipermail/texhax/">http://tug.org/pipermail/texhax/</a><br></blockquote><blockquote type="cite">More links: <a href="http://tug.org/begin.html">http://tug.org/begin.html</a><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Automated subscription management: <a href="http://tug.org/mailman/listinfo/texhax">http://tug.org/mailman/listinfo/texhax</a><br></blockquote><blockquote type="cite">Human mailing list managers: <a href="mailto:postmaster@tug.org">postmaster@tug.org</a><br></blockquote><br>-- <br>----------------------------------------------------------------------------<br>Reinhard Kotucha<span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Phone: +49-511-3373112<br>Marschnerstr. 25<br>D-30167 Hannover<span class="Apple-tab-span" style="white-space:pre">        </span> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="mailto:reinhard.kotucha@web.de">mailto:reinhard.kotucha@web.de</a><br>----------------------------------------------------------------------------<br>Microsoft isn't the answer. Microsoft is the question, and the answer is NO.<br>----------------------------------------------------------------------------<br></div></blockquote></div><br></body></html>