How can I tell if AUCTeX is available?
Posted
by Simon Wright
on Stack Overflow
See other posts from Stack Overflow
or by Simon Wright
Published on 2010-04-23T19:36:21Z
Indexed on
2010/04/23
20:13 UTC
Read the original article
Hit count: 337
I have a package which has various features that depend on AUCTeX. As it stands, it requires hand-configuration:
(defvar AucTeX-used nil)
(if AucTeX-used
(progn
(require 'tex-site)
(require 'latex))
(require 'latex-mode)
(setq TeX-command-list nil))
Is there a way to find out whether AUCTeX is available on the machine, to avoid having to set AucTeX-Used
by hand?
(I'm using GNU Emacs 23.1.1 for Max OS X).
© Stack Overflow or respective owner