1 Sep 2008 20:27
adventures with --prefix, TeX-data-directory and style files
Phillip Lord <phillip.lord <at> newcastle.ac.uk>
2008-09-01 18:27:30 GMT
2008-09-01 18:27:30 GMT
I recently noticed that the auctex style files were not being loaded. Following some investigation, I've discovered the cause, and thought I would relate the story. With a bit of fiddling, I tracked the problem down to TeX-data-directory, which is my case is set wrong, specifically to ~/emacs/packages/auctex-11.58/auctex Notice the extra "auctex". Hence the style files were not being found. I traced this back to (defvar TeX-lisp-directoryr (expand-file-name "auctex" (file-name-directory load-file-name)) "The directory where most of the AUCTeX lisp files are located. For the location of lisp files associated with styles, see the variables TeX-(Continue reading)style-* (hand-generated lisp) and TeX-auto-* (automatically generated lisp).") where the problem is evident. I normally install auctex by unpacking the tar ball in ~/emacs/packages (creating auctex-x.x where x is the version number), and doing ./configure, make, but no make install. This is how I install most packages and it works well for me; I just add all directories in ~/emacs/packages to the path recursively. So, I figure, auctex must use one directory structure for packaging (where no
RSS Feed