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 17:45:33 +0800

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

> On 12/15/06, Ralf Angeli <address@hidden> wrote:
>
>> 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?
>
> To avoid the "underscores" problem, I write a new tex file "test.tex"
> and compile it. "test.el" appears in the auto directory.
[...]
> 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.

And if you start a new instance of Emacs and load the file test.tex,
do you see it in that case?

Yes, you are right. I can see the lines below when I execute the
command "emacs test.tex".
****************
Applying style hooks...
Loading /tmp/auto/test.el (source)...done
Loading /usr/share/emacs-snapshot/site-lisp/auctex/style/beamer.elc...done
Applying style hooks... done
****************
Everything is ok and I can access the functionality of beamer.el now.
Indeed everything is ok from the beginning. I think it's my fault. I
view the codes of beamer.el and find that there isn't an environment
named "frame". Other environments like "itemize" work well. I must
apologize for that because I use C-c C-e "frame" to test if beamer.el
works well. I used to write beamer slides under ntemacs + miktex
environment, in which they offer the "frame" environment. But it seems
that the definition of this environment disappears in the beamer.el
coming along with texlive2005...
Thanks for your kind help any way.

> I think this means
> that beamer.elc is not loaded. How to solve this problem?

Perhaps there is an error somewhere else.  If you put the line
(setq debug-on-error t)
as the first line into your .emacs file, start a new Emacs instance
and load the LaTeX file, do you get a backtrace along the way?

I don't recall fixing anything regarding loading problems of
beamer.el, but if you are desperate you could also try upgrading
AUCTeX.  If you don't want to compile it yourself maybe the version
provided by backports.org works for you.  I don't have information
about the Debian (or Ubuntu) versions it is supposed to be compatible
with, though.

--
Ralf





reply via email to

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