help-texinfo
[Top][All Lists]
Advanced

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

Re: Delimiter-separated words for @macro


From: michael-franzese
Subject: Re: Delimiter-separated words for @macro
Date: Thu, 7 Jan 2021 16:05:47 +0100

In the texinfo manual, there is section 17.6, which mentions M4 or CPP.

17.6 External Macro Processors: Line Directives

Has anybody tried successfully used M4 and CPP, so me can have examples
on how we can tackle non-straightforward cases?

We all would appreciate that.

Michael

> Sent: Thursday, January 07, 2021 at 8:25 PM
> From: michael-franzese@gmx.com
> To: "Gavin Smith" <gavinsmith0123@gmail.com>
> Cc: "help-texinfo gnu" <help-texinfo@gnu.org>
> Subject: Re: Delimiter-separated words for @macro
>
>
>
> > Sent: Thursday, January 07, 2021 at 7:33 PM
> > From: "Gavin Smith" <gavinsmith0123@gmail.com>
> > To: michael-franzese@gmx.com
> > Cc: "help-texinfo gnu" <help-texinfo@gnu.org>
> > Subject: Re: Delimiter-separated words for @macro
> >
> > On Thu, Jan 07, 2021 at 02:05:01PM +0100, michael-franzese@gmx.com wrote:
> > > A way to split macro names.  I can use "-" with all @set variables, all 
> > > @node names, etc.
> > > It would also help to allow numbers "@macro pinnegar2020 {}" which 
> > > describes publication
> > > of Pinnegar in 2020.
> > >
> > > @macro my-macro {}
> >
> > Got it.  The best you can do is "@macro myMacro {}".  It's very unlikely
> > that numbers can be allowed as TeX will read @pinnegar2020 as a control
> > sequence followed by 4 digits.
>
> So Knuth did not think of numbers?  If I remember, "control sequence" is 
> "command"
> for Lamport's LaTeX.
>
>
>



reply via email to

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