[Top][All Lists]

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

Re: [AUCTeX] Defining new paragraph breaks for beamer macros

From: Mosè Giordano
Subject: Re: [AUCTeX] Defining new paragraph breaks for beamer macros
Date: Sat, 2 Aug 2014 19:34:40 +0200

Hi Jason,

2014-08-02 14:42 GMT+02:00 J. McKenzie Alexander <address@hidden>:
> Hello,
> I would like to prevent the fill-paragraph command from acting on lines which 
> include the beamer commands \pause and \onslide<…>.  The first, I know, can 
> be done by putting
>         (LaTeX-paragraph-commands-add-locally “pause”)
> in my .emacs file.  But telling fill-paragraph to ignore lines with 
> \onslide<…> is trickier, as it seems the overlay specification which follows 
> \onslide prevents fill-paragraph from recognising \onslide as a paragraph 
> command.
> Any suggestions?

Thanks for your report!  This is due to `TeX-find-macro-end-helper',
which doesn't treat macros with arguments enclosed in <...>.  I can
only think about adding a new clause to the cond, to skip over angle
brackets, but I'm not sure it is wise to always do this.  Better ideas
are welcome.


reply via email to

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