auctex
[Top][All Lists]
Advanced

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

Re: [AUCTeX] `\pause' instead of `\pause{}'


From: Arash Esbati
Subject: Re: [AUCTeX] `\pause' instead of `\pause{}'
Date: Tue, 13 Jun 2017 22:51:34 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2

Denis Bitouzé <address@hidden> writes:

> as stated in Beamer's documentation, the syntax of the \pause command
> is:
>
>   ┌────
>   │ \pause[⟨number⟩]
>   └────

Hi Denis,

my apologies if you receive this message comes twice.  Thanks for the
report.  I've just fixed this bug in style/beamer.el[1].

> Hence, after
>
>   ┌────
>   │ C-c C-c pau TAB ENT
>   └────
>
> shouldn't AUCTeX insert `\pause' instead of `\pause{}'?

Have you set `TeX-insert-braces' to t?  In this case, AUCTeX will insert
a pair of empty braces.  They don't harm, just look odd, probably.  If
you don't like this, customize `TeX-insert-braces-alist' or add
something like this to your init file:

   (eval-after-load "beamer"
     '(add-to-list 'TeX-insert-braces-alist '("pause" . nil)))

Best, Arash

Footnotes: 
[1]  
http://git.savannah.gnu.org/cgit/auctex.git/commit/?id=4ddee01e68d34a91e75f92af58157d5985c5e6e2




reply via email to

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