Subject: mailing-list for TeXmacs Users
List archive
- From: Basile Audoly <address@concealed>
- To: proitheus <address@concealed>
- Cc: address@concealed
- Subject: Re: Define a macro to produce title, author, ...
- Date: Sat, 28 Sep 2024 15:42:26 +0200
Hi, you need <arg|order> instead of \order, as in
<assign|myhello|<macro|who|Hello <arg|who>>>
When I type \order[enter], I do get <arg|order>
> Le 28 sept. 2024 à 12:25, proitheus <address@concealed> a écrit :
>
> Hello everyone! I have a series of reports to write, which have similar
> titles, e.g.
> title:My Title subtitle:1 author:me date:today
> title:My Title subtitle:2 author:me date:today
> title:My Title subtitle:3 author:me date:today
>
> So I wrote a macro for this:
> ```
> <assign|title|
> <macro| order |
> <doc-data| <doc-title| My Title>
> | <doc-subtitle| \order>
> | <doc-author| me>>>>
> ```
> In preamble.
> (The "\order" is entered by \order[enter] in texmacs)
> (The <doc-data.... Part is copied from a manually inserted title)
>
> But when I call this macro, it displays a literal "order" as subtitle, and
> I can't change it.
>
> I want to know what's wrong with this macro, and how to fix it?
> (I'm new to TeXmacs and is still learning, so please forgive me if this
> question is stupid.)
-
Define a macro to produce title, author, ...,
proitheus, 09/28/2024
-
Re: Define a macro to produce title, author, ...,
Basile Audoly, 09/28/2024
- Re: Define a macro to produce title, author, ..., proitheus, 09/28/2024
- Re: Define a macro to produce title, author, ..., Giovanni Piredda, 09/28/2024
-
Re: Define a macro to produce title, author, ...,
Basile Audoly, 09/28/2024
Archive powered by MHonArc 2.6.24.