[AUCTeX-devel] Re: 2008-03-12; AUC-TeX doesn't honor XEmacs toolbar visibility specification

2008-04-18 Thread Didier Verna
Ralf Angeli [EMAIL PROTECTED] wrote:

 Isn't it obvious?  He is using XEmacs.

 I really don't get how these variables are supposed to work.  Why does
 everything in XEmacs have to be so contorted ?

  ROTFL !

OK, I get it. Sorry for the disturbance. Actually, I can live very well
with the toolbar visible; I wonder why I bothered reporting the bug in
the first place.

Welcome to my kill file, we wish you a pleasant journey !

-- 
5th European Lisp Workshop at ECOOP 2008, July 7: http://elw.bknr.net/2008/

Didier Verna, [EMAIL PROTECTED], http://www.lrde.epita.fr/~didier

EPITA / LRDE, 14-16 rue Voltaire   Tel.+33 (0)1 44 08 01 85
94276 Le Kremlin-BicĂȘtre, France   Fax.+33 (0)1 53 14 59 22  [EMAIL PROTECTED]


___
auctex-devel mailing list
auctex-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/auctex-devel


[AUCTeX-devel] Re: 2008-03-12; AUC-TeX doesn't honor XEmacs toolbar visibility specification

2008-04-18 Thread Ralf Angeli
* Didier Verna (2008-04-18) writes:

 Ralf Angeli [EMAIL PROTECTED] wrote:

 Isn't it obvious?  He is using XEmacs.

 I really don't get how these variables are supposed to work.  Why does
 everything in XEmacs have to be so contorted ?

   ROTFL !

 OK, I get it. Sorry for the disturbance. Actually, I can live very well
 with the toolbar visible; I wonder why I bothered reporting the bug in
 the first place.

 Welcome to my kill file, we wish you a pleasant journey !

You should really try to adjust your humour detector.

And I'd consider kill-filing somebody who invested quite some time in
order to help fixing the bug and then got cranky because it did not work
out quite inappropriate.

I'm still interested in fixing the bug and I am still hoping that
somebody who understands the XEmacs way of handling the tool bar can
help out.

-- 
Ralf


___
auctex-devel mailing list
auctex-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/auctex-devel


Re: [AUCTeX] Beamer

2008-04-18 Thread Sven Bretfeld
Hi

Salvatore Enrico Indiogine [EMAIL PROTECTED] writes:

 Are there any features for beamer, such as commands that can insert a
 frame in text without having to type it all out?   Any other beamer
 suggestions?

There are some latex-beamer specific pieces of code I gathered from
different places in my .emacs. Here is a copy. 

Greetings

Sven

;;
;; LaTeX-Beamer
;;
(eval-after-load tex
  '(TeX-add-style-hook beamer 'my-beamer-mode))

(setq TeX-region regionsje)
(defun my-beamer-mode ()
  My adds on for when in beamer.

  ;; when in a Beamer file I want to use pdflatex.
  ;; Thanks to Ralf Angeli for this.
  (TeX-PDF-mode 1)  ;turn on PDF mode.

  ;; Tell reftex to treat \lecture and \frametitle as section commands
  ;; so that C-c = gives you a list of frametitles and you can easily
  ;; navigate around the list of frames.
  ;; If you change reftex-section-level, reftex needs to be reset so that
  ;; reftex-section-regexp is correctly remade.
  (require 'reftex)
  (set (make-local-variable 'reftex-section-levels)
   '((lecture . 1) (frametitle . 2)))
  (reftex-reset-mode)

  ;; add some extra functions.
  (define-key LaTeX-mode-map \C-cf 'beamer-template-frame)
  (define-key LaTeX-mode-map \C-\M-x 'tex-frame)
  (define-key LaTeX-mode-map \C-cn 'beamer-make-note)
)

(defun tex-frame ()
  Run pdflatex on current frame.  
Frame must be declared as an environment.
  (interactive)
  (let (beg)
(save-excursion
  (search-backward \\begin{frame})
  (setq beg (point))
  (forward-char 1)
  (LaTeX-find-matching-end)
  (TeX-pin-region beg (point))
  (letf (( (symbol-function 'TeX-command-query) (lambda (x) LaTeX)))
(TeX-command-region))
)
  ))

(defun beamer-template-frame ()
  Create a simple template and move point to after \\frametitle.
  (interactive)
  (LaTeX-environment-menu frame)
  (insert \\frametitle{})
  (backward-char 1))

(defun beamer-make-note ()
  Create a note template and move point to the first item.
  (interactive)
  (insert \\note[itemize]{
\\item 
%
})
  (backward-char 4))


pgpsTa22LWzN9.pgp
Description: PGP signature
___
auctex mailing list
auctex@gnu.org
http://lists.gnu.org/mailman/listinfo/auctex


Re: [AUCTeX] latex-math-mode extra curly braces

2008-04-18 Thread Ralf Angeli
* Chris Poole (2008-04-17) writes:

 Whenever I use a shortcut key, such as ` a in math mode (here, to  
 create \alpha), I end up with two curly braces to the right of what I  
 want (i.e., \alpha{}).

 I'm using a build of carbon emacs with AUCTeX already installed.

It could be that AUCTeX does not determine correctly if point is in a
math construct.  Does this always happen or only in a specific file or
region?  In the latter case, please provide a minimal sample file for
reproducing the problem.  Also, what version of AUCTeX are you using?

-- 
Ralf


___
auctex mailing list
auctex@gnu.org
http://lists.gnu.org/mailman/listinfo/auctex


[Bug-AUCTeX] Re: 2008-03-12; AUC-TeX doesn't honor XEmacs toolbar visibility specification

2008-04-18 Thread Ralf Angeli
* Didier Verna (2008-04-18) writes:

 Ralf Angeli [EMAIL PROTECTED] wrote:

 Isn't it obvious?  He is using XEmacs.

 I really don't get how these variables are supposed to work.  Why does
 everything in XEmacs have to be so contorted ?

   ROTFL !

 OK, I get it. Sorry for the disturbance. Actually, I can live very well
 with the toolbar visible; I wonder why I bothered reporting the bug in
 the first place.

 Welcome to my kill file, we wish you a pleasant journey !

You should really try to adjust your humour detector.

And I'd consider kill-filing somebody who invested quite some time in
order to help fixing the bug and then got cranky because it did not work
out quite inappropriate.

I'm still interested in fixing the bug and I am still hoping that
somebody who understands the XEmacs way of handling the tool bar can
help out.

-- 
Ralf


___
bug-auctex mailing list
bug-auctex@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-auctex