When I try to run pdflatex from within emacs it cannot find a macros file (dstomacros.sty)
called by \usepackage. This file is in a directory listed in
the variable TeX-macro-private. How can I make auctex automatically find this file.

Specifically

'C-h v TeX-macro-private' in emacs  yields:

TeX-macro-private is a variable defined in `/usr/share/emacs22/site-lisp/auctex/tex.elc'.
Its value is
("/home/bill/.TEX/MACROS" "/home/bill/.TEX/SLIDES" "/home/bill/.TEX/STYLE")


'ls -l /home/bill/.TEX/MACROS' in a bash shell yields

-rw-rw-rw- 1 bill bill 14K 2007-12-09 09:22 /home/bill/.TEX/MACROS/dstomacros.sty

If I run pdflatex from the toolbar on the following in emacs:

\documentclass[12pt]{article}
\usepackage{amsmath,tikz,dstomacros}
\begin{document}

I get

ERROR: LaTeX Error: File `dstomacros.sty' not found

If I run pdflatex in a terminal with TEXINPUTS
[EMAIL PROTECTED]:~$ echo $TEXINPUTS
.:/home/bill/.TEX/STYLE:/home/bill/.TEX/STYLE/SLIDES:/home/bill/.TEX/MACROS

it finds the dstomacros.sty file.


What am I doing wrong in configuring auctex.

Thanks

Bill




--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/


_______________________________________________
auctex mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/auctex

Reply via email to