auctex
[Top][All Lists]
Advanced

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

[AUCTeX] Re: how to access functionality in beamer.el


From: Rajarshi Guha
Subject: [AUCTeX] Re: how to access functionality in beamer.el
Date: Mon, 06 Mar 2006 12:10:38 -0500
User-agent: Pan/0.14.2.91 (As She Crawled Across the Table)

On Mon, 2006-03-06 at 09:21 +0100, Ralf Angeli wrote:

> > I would have thought that in a beamer file, doing C-c C-e would provide
> > me with the option of inserting a 'block' or 'columns' environment, but
> > these options do not show up with the above command.
> 
> What did you type for getting completions?
> 
> > I added (setq debug-on-error t) in my ~/.emacs, but no debug buffer
> > appeared, so I assume that there is no error in my startup. Also, in my
> > ~/.emacs I have:
> >
> > (setq TeX-auto-save t)
> > (setq TeX-parse-self t)
> > (setq-default TeX-master nil)
> > (add-to-list 'load-path "~/src/emacs/misc")
> 
> Can you confirm that these values are actually set?  For example by
> showing us the output of `M-x TeX-submit-bug-report RET'.

I've pasted the output below. I can see that the above variables are
set. 

Also I can see beamer.elc under /usr/share/emacs/site-lisp/auctex/style

(setq
 AUCTeX-date "2005-12-17"
 window-system 'x
 LaTeX-version "2e"
 TeX-style-path '("style" "auto" "/usr/share/emacs/site-lisp/auctex/style"
                  "/usr/local/var/auctex")
 TeX-auto-save t
 TeX-parse-self t
 TeX-master nil
 TeX-command-list '(("TeX" "%(PDF)%(tex) %S%(PDFout) \"%(mode)\\input %t\""
                     TeX-run-TeX nil
                     (plain-tex-mode ams-tex-mode texinfo-mode) :help
                     "Run plain TeX")
                    ("LaTeX" "%l \"%(mode)\\input{%t}\"" TeX-run-TeX nil
                     (latex-mode doctex-mode) :help "Run LaTeX")
                    ("Makeinfo" "makeinfo %t" TeX-run-compile nil
                     (texinfo-mode) :help "Run Makeinfo with Info output")
                    ("Makeinfo HTML" "makeinfo --html %t" TeX-run-compile nil
                     (texinfo-mode) :help "Run Makeinfo with HTML output")
                    ("AmSTeX" "%(PDF)amstex %S%(PDFout) \"%(mode)\\input %t\""
                     TeX-run-TeX nil (ams-tex-mode) :help "Run AMSTeX")
                    ("ConTeXt" "texexec --once --texutil %(execopts)%t"
                     TeX-run-TeX nil (context-mode) :help "Run ConTeXt once")
                    ("ConTeXt Full" "texexec %(execopts)%t" TeX-run-TeX nil
                     (context-mode) :help "Run ConTeXt until completion")
                    ("ConTeXt Clean" "texutil --purgeall" TeX-run-interactive
                     nil (context-mode) :help "Clean temporary ConTeXt files")
                    ("BibTeX" "bibtex %s" TeX-run-BibTeX nil t :help
                     "Run BibTeX")
                    ("View" "%V" TeX-run-discard t t :help "Run Viewer")
                    ("Print" "%p" TeX-run-command t t :help "Print the file")
                    ("Queue" "%q" TeX-run-background nil t :help
                     "View the printer queue" :visible TeX-queue-command)
                    ("File" "%(o?)dvips %d -o %f " TeX-run-command t t :help
                     "Generate PostScript file")
                    ("Index" "makeindex %s" TeX-run-command nil t :help
                     "Create index file")
                    ("Check" "lacheck %s" TeX-run-compile nil (latex-mode)
                     :help "Check LaTeX file for correctness")
                    ("Spell" "<ignored>" TeX-run-ispell-on-document nil t
                     :help "Spell-check the document")
                    ("Other" "" TeX-run-command t t :help
                     "Run an arbitrary command")
                    )
 )

> Opening a file with the contents
> 
> \documentclass{beamer}
> \begin{document}
> \end{document}
> 
> in a fresh Emacs session I see something like
> 
> Loading tex...
> Loading advice...done
> Loading tex...done
> Loading latex...
> Loading easy-mmode...done
> Loading latex...done
> Loading font-latex...
> Loading cl-macs...done
> Loading bytecomp...done
> Loading font-latex...done
> Applying style hooks...
> Loading ~/scratch/auto/beamer-test.el (source)...done
> Loading /usr/local/share/emacs/site-lisp/auctex/style/beamer.elc...done
> Applying style hooks... done

I did the following:

Start emacs
Load a file containing the stuff you noted above

Then looking at *Messages* it seems that beamer.elc does not get
loaded. 

I've placed the contents of the *Messages* buffer at
http://blue.chem.psu.edu/~rajarshi/messages.txt and my ~/.emacs  at
http://blue.chem.psu.edu/~rajarshi/dotemacs.txt

I'm pretty much stumped. Do I need to have a local (ie somewhere in ~/)
installation of Auctex?

Thanks,

-------------------------------------------------------------------
Rajarshi Guha <address@hidden> <http://jijo.cjb.net>
GPG Fingerprint: 0CCA 8EE2 2EEB 25E2 AB04 06F7 1BB9 E634 9B87 56EE
-------------------------------------------------------------------
CChheecckk yyoouurr dduupplleexx sswwiittcchh..







reply via email to

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