auctex
[Top][All Lists]
Advanced

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

Re: [AUCTeX] LaTeX-equation-label with file-dependent prefix


From: Tassilo Horn
Subject: Re: [AUCTeX] LaTeX-equation-label with file-dependent prefix
Date: Fri, 07 Jun 2013 18:16:40 +0200
User-agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux)

Shan <address@hidden> writes:

Hi!

> Thanks again for your help. The value of LaTeX-equation-label is set
> correctly in the file.  However, when I use the C-c C-e to add an
> equation, it suggest nothing but "(optional) what label:". Is it
> because my .emacs file?  But I didn't see anything related. My auctex
> is compiled from the source yesterday.

What sources?  The current master branch from Git or some release?  (But
I think that should work also with at least 11.87.)

> What should I do next?

You could try with the Git version.

  $ git clone git://git.savannah.gnu.org/auctex.git
  $ cd auctex
  $ ./autogen.sh
  $ ./configure
  $ make          # no need to "make install"

And then in your .emacs:

--8<---------------cut here---------------start------------->8---
(add-to-list 'load-path "/path/to/auctex/")
(load "auctex.el" nil t t)
(add-to-list 'load-path "/path/to/auctex/preview/")
(load "preview-latex.el" nil t t)
(setq TeX-data-directory "/path/to/auctex/")
(add-to-list 'Info-directory-list "/path/to/auctex/doc")
--8<---------------cut here---------------end--------------->8---

Bye,
Tassilo



reply via email to

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