auctex-devel
[Top][All Lists]
Advanced

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

Re: ExecuteMetaData with [ ] instead of { }


From: Uwe Brauer
Subject: Re: ExecuteMetaData with [ ] instead of { }
Date: Fri, 19 Aug 2022 15:14:58 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

> Uwe Brauer <oub@mat.ucm.es> writes:

> 👍


> Really?  I thought I had this in the file I posted:

>    (TeX-add-symbols
>     '("ExecuteMetaData"
>       ;; Act like \include and not like \input:
>       [TeX-arg-input-file "File" t] "Tag")
>     '("ExecuteMetaData*"
>       ;; Act like \include and not like \input:
>       [TeX-arg-input-file "File" t] "Tag"))

> \ExecuteMetaData has also a starred version, no?


> If you use counters only, you could plug your style into AUCTeX parser
> and then extract the number automatically.  But maybe that is a bit
> overengineered?

I came up with a simple solution that I attach. I could combine it to a
simple support style file for catchbetweentags, but maybe the code is
too primitive for auctex?

I ask this before sending a patch.

Attachment: my-add-catch-tag.el
Description: application/emacs-lisp

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


reply via email to

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