* Bill Moran (2007-12-26) writes:

> 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.

`TeX-macro-private' is unrelated to the macro processor.  The variable
is used for stuff like `TeX-auto-generate-global'.

> 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.

How did you set `TEXINPUTS'?  Do you start Emacs in way that it can
see the environment variable?  Does it show up if you type
`M-: (getenv "TEXINPUTS") <RET>'?

-- 
Ralf


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

Reply via email to