From: Sebastien Vauban <sva-news-D0wtAvR13HarG/iDocfnWg@public.gmane.org>
To: help-gnu-emacs-mXXj517/zsQ@public.gmane.org
Subject: How to properly load AUCTeX for Emacs 23+
Date: Thu, 15 May 2014 20:21:19 +0200 [thread overview]
Message-ID: <861tvusy1s.fsf@somewhere.org> (raw)
Hello,
[This was posted first to comp.text.tex but did not receive any
answer -- trying here!]
Trying to make the smallest Emacs configuration needed for editing LaTeX
with AUCTeX (which has to work as well for Emacs 23), I came up with the
following:
--8<---------------cut here---------------start------------->8---
;; AUCTeX + preview-latex
(add-to-list 'load-path "~/.emacs.d/elpa/auctex-11.87.3") ;; <- update this!
(load "auctex.el" nil t t)
(load "preview-latex.el" nil t t)
--8<---------------cut here---------------end--------------->8---
from the current documentation found on
http://www.gnu.org/software/auctex/manual/auctex/Loading-the-package.html.
However,
- When loading a .tex file, I had different errors (such as
"void-function font-latex-setup") which forced me to add different
libraries to load during Emacs startup.
- `preview-latex.el' does NOT exist: it now (?) is `preview.el'.
Hence, this new configuration file which seems to work fine (so far):
--8<---------------cut here---------------start------------->8---
;; AUCTeX
(add-to-list 'load-path "~/.emacs.d/elpa/auctex-11.87.3") ;; <- update this!
(load "auctex.el" nil t t)
(load "font-latex.el" nil t t)
(load "tex-bar.el" nil t t)
;; preview-latex
(load "preview.el" nil t t)
--8<---------------cut here---------------end--------------->8---
Am I doing something wrong? Is the doc NOT up-to-date? Are both true? ;-)
Best regards,
Seb
--
Sebastien Vauban
next reply other threads:[~2014-05-15 18:21 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-15 18:21 Sebastien Vauban [this message]
2014-05-16 11:09 ` How to properly load AUCTeX for Emacs 23+ Tassilo Horn
[not found] ` <87k39m7zf1.fsf-Zv899e0YUSaUxwWP6IIDJeRUUwalv9w+@public.gmane.org>
2014-05-21 17:34 ` Sebastien Vauban
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=861tvusy1s.fsf@somewhere.org \
--to=sva-news-d0wtavr13harg/idocfnwg@public.gmane.org \
--cc=help-gnu-emacs-mXXj517/zsQ@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.