auctex
[Top][All Lists]
Advanced

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

Re: [AUCTeX] Can't access the functionality in beamer.el


From: Shunquan Tan
Subject: Re: [AUCTeX] Can't access the functionality in beamer.el
Date: Sun, 17 Dec 2006 10:03:57 +0800

On 12/15/06, Ralf Angeli <address@hidden> wrote:
* Shunquan Tan (2006-12-12) writes:

> David, thanks for your reply.

Please don't top-post.  If you top-post you might get less responses.

You are right. Thank you for pointing out that.


> I check every paths in turn.(My master file is test_beamer.tex)

If your file is test_beamer.tex, the content of auto/test_beamer.el
does not match that file because it refers to test_beamer3.tex.  Did
you change something manually there?


Indeed. I just pasted a wrong tex file. test_beamer.tex is in my auto directory.

> in the auto/ directory I can find test_beamer.el
>>>>>>>>>
> (TeX-add-style-hook "test_beamer3"
>  (lambda ()
>     (TeX-run-style-hooks
>      "latex2e"
>      "beamer10"
>      "beamer")))
>
>>>>>>>>>
> I think this file is ok.

Do you see something like
Loading /usr/local/share/emacs/site-lisp/auctex/style/beamer.elc...done
in the *Messages* buffer after loading test_beamer3.tex?  (BTW, is it
save to use underscores in file names with TeX?  I faintly remember
that this could cause trouble.  If it does, it is unrelated to the
problems with beamer.el, though.)


To avoid the "underscores" problem, I write a new tex file "test.tex"
and compile it. "test.el" appears in the auto directory.
**********************
(TeX-add-style-hook "test"
(lambda ()
   (TeX-run-style-hooks
    "latex2e"
    "beamer10"
    "beamer")))
**********************
Then I reopen test.tex. Everything remain the same. I still can't
access the functionality in beamer.el. I don't see something tell me
that beamer.elc is loaded in the *Message* buffer. I think this means
that beamer.elc is not loaded. How to solve this problem?

> the beamer.el is in /usr/share/emacs-snapshot/site-lisp/auctex/style/. I
> copy beamer.el from the texmf-dist/doc/latex/beamer/emacs directory to there
> and recompile it. I find that everthing is the same after I restart emacs.

Of course it doesn't change anything, because copying the file to this
place doesn't serve any sensible purpose.

--
Ralf





reply via email to

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