auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[AUCTeX] Path for TeX-macro-private


From: Bill Moran
Subject: [AUCTeX] Path for TeX-macro-private
Date: Wed, 26 Dec 2007 14:28:30 +1100
User-agent: Opera Mail/9.25 (Linux)

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
address@hidden:~$ 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/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]