auctex-devel
[Top][All Lists]
Advanced

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

Re: ExecuteMetaData with [ ] instead of { }


From: Arash Esbati
Subject: Re: ExecuteMetaData with [ ] instead of { }
Date: Thu, 18 Aug 2022 14:23:34 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50

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

> Thanks very much our emails crossed, I basically found the same
> solution.

👍

> BTW you have the entry:
>
>
>     '("ExecuteMetaData*"
>       ;; Act like \include and not like \input:
>       [TeX-arg-input-file "File" t] "Tag"))
>
> Twice in your file 😉

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?

> I also came up with a very primitive environment for the text beween
> the tags with an semi-automatic counter, semi-automatic, because
> whenever I reopen the file I need to set the counter manually

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?

Best, Arash



reply via email to

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