auctex-devel
[Top][All Lists]
Advanced

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

Re: patch to support title, author etc in amsart


From: Uwe Brauer
Subject: Re: patch to support title, author etc in amsart
Date: Sat, 03 Sep 2022 17:43:41 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

>>> "TH" == Tassilo Horn <tsdh@gnu.org> writes:

> Uwe Brauer <oub@mat.ucm.es> writes:
>> Please see the attached patch, it is very simple

> ...and also wrong, I think.

Autsch sorry, I tested it briefly and lookd ok

> +     (font-latex-add-keywords '(("curraddr" "\\{")
> +                                ("contrib" "\\{")
> +                                ("email" "\\{")
> +                                ("dedicatory" "\\{")
> +                                ("keywords" "\\{")
> +                                ("subjclass" "[{")
> +                                ("thanks" "\\{")
> +                                ("urladdr" "[{"))
> +                              'function)))

> The docs of font-latex-built-in-keyword-classes say about the syntax
> arg:

>      It can contain "*" if the macro has a starred variant, "[" for an
>      optional argument, "{" for a mandatory argument, and "\" for a
>      macro.  A "|" means the following two tokens should be regarded as
>      alternatives.

> So your specs "\\{" say that after \email comes one macro and then one
> mandatory argument, e.g., \email\foobar{my@email.invalid}.  I guess
> that's not correct and you only want "{".

Ok I will correct this now.

Uwe 


-- 
I strongly condemn Putin's war of aggression against the Ukraine.
I support to deliver weapons to Ukraine's military. 
I support the ban of Russia from SWIFT.
I support the EU membership of the Ukraine. 

Attachment: smime.p7s
Description: S/MIME cryptographic signature


reply via email to

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