[AUCTeX] Re: Inconvenient format of latex-insert-environment for Beamer frames
* mirko vukovic (2006-11-28) writes: >> From: Ralf Angeli [mailto:[EMAIL PROTECTED] >> >> Assuming the file is from the AUCTeX 11.82 installation and not an >> ancient leftover, if you remove your own code for inserting a frame >> environment, aren't you asked for a frame title when typing `C-c C-e >> frame RET' after that beamer.elc got loaded? >> > Yes, I get prompted for a title, and I get: > \begin{frame} \frametitle{some title} > > \end{frame} > > This is very close to what I really want: > \begin{frame} > \frametitle{some title} > > \end{frame} > > This latter form reftex can process and I can get frame titles inits > table of contents. Then upgrade to 11.83. -- Ralf ___ auctex mailing list auctex@gnu.org http://lists.gnu.org/mailman/listinfo/auctex
[AUCTeX] RE: Inconvenient format of latex-insert-environment for Beamer frames
> -Original Message- > From: Ralf Angeli [mailto:[EMAIL PROTECTED] > Sent: Tuesday, November 28, 2006 1:00 PM > To: TTCA Vukovic, Mirko > Cc: auctex@gnu.org > Subject: Re: Inconvenient format of latex-insert-environment > for Beamer frames > > > * mirko vukovic (2006-11-28) writes: > > >> From: Ralf Angeli [mailto:[EMAIL PROTECTED] > > > >> That looks okay. After loading your beamer test file, do you see > >> something like > >> Loading > >> /usr/local/share/emacs/site-lisp/auctex/style/beamer.elc...done > >> in the *Messages* buffer? > > > > Yes: > > Loading e:/program-files/site-lisp/auctex/style/beamer.elc...done > > Assuming the file is from the AUCTeX 11.82 installation and not an > ancient leftover, if you remove your own code for inserting a frame > environment, aren't you asked for a frame title when typing `C-c C-e > frame RET' after that beamer.elc got loaded? > Yes, I get prompted for a title, and I get: \begin{frame} \frametitle{some title} \end{frame} This is very close to what I really want: \begin{frame} \frametitle{some title} \end{frame} This latter form reftex can process and I can get frame titles inits table of contents. Mirko ___ auctex mailing list auctex@gnu.org http://lists.gnu.org/mailman/listinfo/auctex
[AUCTeX] Re: Inconvenient format of latex-insert-environment for Beamer frames
* mirko vukovic (2006-11-28) writes: >> From: Ralf Angeli [mailto:[EMAIL PROTECTED] > >> That looks okay. After loading your beamer test file, do you see >> something like >> Loading >> /usr/local/share/emacs/site-lisp/auctex/style/beamer.elc...done >> in the *Messages* buffer? > > Yes: > Loading e:/program-files/site-lisp/auctex/style/beamer.elc...done Assuming the file is from the AUCTeX 11.82 installation and not an ancient leftover, if you remove your own code for inserting a frame environment, aren't you asked for a frame title when typing `C-c C-e frame RET' after that beamer.elc got loaded? -- Ralf ___ auctex mailing list auctex@gnu.org http://lists.gnu.org/mailman/listinfo/auctex
[AUCTeX] RE: Inconvenient format of latex-insert-environment for Beamer frames
> -Original Message- > From: Ralf Angeli [mailto:[EMAIL PROTECTED] > Sent: Tuesday, November 28, 2006 2:12 AM > To: TTCA Vukovic, Mirko > Cc: auctex@gnu.org > Subject: Re: Inconvenient format of latex-insert-environment > for Beamer frames > > > * mirko vukovic (2006-11-27) writes: > > > OK, I admit that I did not read it until your second reply. > However I > > think my set-up is correct. This was my set up for some time now > > (except for one item - marked below): > > > > (add-to-list 'load-path (local-setting 'auctex)) ; add > auctex to load-path > > What is this good for? How did you install AUCTeX? A "default" > install places AUCTeX in Emacs' load-path. I am running on Windows XP. I have a drive for all my(non windows and non- IS programs), and there I have both emacs and my site-lisp directory. This is a leftover from ages ago, when I was worried that a new installation of emacs would overwrite my lisp files. > > > (load "tex-mik") > > That should be `(require 'tex-mik)', but I don't think this makes a > big difference. Will change > > > (load "auctex.el" nil t t) > > (load "preview-latex.el" nil t t) > > (setq TeX-auto-save t) ;; enable parsing of latex documents > > (setq TeX-parse-self t) > > That looks okay. After loading your beamer test file, do you see > something like > Loading > /usr/local/share/emacs/site-lisp/auctex/style/beamer.elc...done > in the *Messages* buffer? Yes: Loading e:/program-files/site-lisp/auctex/style/beamer.elc...done > > > (add-hook 'LaTeX-mode-hook 'turn-on-reftex) > > (add-hook 'LaTeX-mode-hook #'LaTeX-install-toolbar) ; added > on 11/25/06 > > That's not necessary with AUCTeX 11.83. Do you have 11.83? Perhaps > you could send the output of `M-x TeX-submit-bug-report RET'? > I have AUCTeX 11.82. I'll upgrade to 11.83 > > (setq reftex-plug-into-AUCTeX t) > > ;; set ispell parser to tex > > (add-hook 'tex-mode-hook (function (lambda () (setq > ispell-parser 'tex > > `tex-mode-hook' is not an AUCTeX variable. And you don't need > `function' because `lambda' quotes itself. > This is also very ancient. I don't even know what it does. > -- > Ralf > Thanks, Mirko ___ auctex mailing list auctex@gnu.org http://lists.gnu.org/mailman/listinfo/auctex
[AUCTeX] Re: Inconvenient format of latex-insert-environment for Beamer frames
* mirko vukovic (2006-11-27) writes: > OK, I admit that I did not read it until your second reply. However I > think my set-up is correct. This was my set up for some time now > (except for one item - marked below): > > (add-to-list 'load-path (local-setting 'auctex)) ; add auctex to load-path What is this good for? How did you install AUCTeX? A "default" install places AUCTeX in Emacs' load-path. > (load "tex-mik") That should be `(require 'tex-mik)', but I don't think this makes a big difference. > (load "auctex.el" nil t t) > (load "preview-latex.el" nil t t) > (setq TeX-auto-save t) ;; enable parsing of latex documents > (setq TeX-parse-self t) That looks okay. After loading your beamer test file, do you see something like Loading /usr/local/share/emacs/site-lisp/auctex/style/beamer.elc...done in the *Messages* buffer? > (add-hook 'LaTeX-mode-hook 'turn-on-reftex) > (add-hook 'LaTeX-mode-hook #'LaTeX-install-toolbar) ; added on 11/25/06 That's not necessary with AUCTeX 11.83. Do you have 11.83? Perhaps you could send the output of `M-x TeX-submit-bug-report RET'? > (setq reftex-plug-into-AUCTeX t) > ;; set ispell parser to tex > (add-hook 'tex-mode-hook (function (lambda () (setq ispell-parser 'tex `tex-mode-hook' is not an AUCTeX variable. And you don't need `function' because `lambda' quotes itself. -- Ralf ___ auctex mailing list auctex@gnu.org http://lists.gnu.org/mailman/listinfo/auctex
[AUCTeX] RE: Inconvenient format of latex-insert-environment for Beamer frames
> Please don't top-post and please keep your line lengths below 72 > characters. Oops and double oops > > * mirko vukovic (2006-11-25) writes: > > > Ralf Angeli [mailto:[EMAIL PROTECTED] wrote: > >> > >> * mirko vukovic (2006-11-21) writes: > >> > >> > However, I would prefer it to produce > >> > \begin{frame} > >> > \frametitle{frame title} > >> > >> If you enabled parsing as suggested on the first page of AUCTeX's > >> manual and removed your own code, you'll get the format you want > >> because then the beamer.el style file shipped with AUCTeX will get > >> loaded. > > > > I am not sure how to implement your suggestion: > > Did you read the first page of AUCTeX's manual as suggested before? > > -- > Ralf > OK, I admit that I did not read it until your second reply. However I think my set-up is correct. This was my set up for some time now (except for one item - marked below): (add-to-list 'load-path (local-setting 'auctex)) ; add auctex to load-path (load "tex-mik") (load "auctex.el" nil t t) (load "preview-latex.el" nil t t) (setq TeX-auto-save t) ;; enable parsing of latex documents (setq TeX-parse-self t) (add-hook 'LaTeX-mode-hook 'turn-on-reftex) (add-hook 'LaTeX-mode-hook #'LaTeX-install-toolbar) ; added on 11/25/06 (setq reftex-plug-into-AUCTeX t) ;; set ispell parser to tex (add-hook 'tex-mode-hook (function (lambda () (setq ispell-parser 'tex Regards, Mirko ___ auctex mailing list auctex@gnu.org http://lists.gnu.org/mailman/listinfo/auctex
[AUCTeX] Re: Inconvenient format of latex-insert-environment for Beamer frames
Please don't top-post and please keep your line lengths below 72 characters. * mirko vukovic (2006-11-25) writes: > Ralf Angeli [mailto:[EMAIL PROTECTED] wrote: >> >> * mirko vukovic (2006-11-21) writes: >> >> > However, I would prefer it to produce >> > \begin{frame} >> > \frametitle{frame title} >> >> If you enabled parsing as suggested on the first page of AUCTeX's >> manual and removed your own code, you'll get the format you want >> because then the beamer.el style file shipped with AUCTeX will get >> loaded. > > I am not sure how to implement your suggestion: Did you read the first page of AUCTeX's manual as suggested before? -- Ralf ___ auctex mailing list auctex@gnu.org http://lists.gnu.org/mailman/listinfo/auctex