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: [email protected] > To: "Gavin Smith" <[email protected]> > Cc: "help-texinfo gnu" <[email protected]> > Subject: Re: Delimiter-separated words for @macro > > > > > Sent: Thursday, January 07, 2021 at 7:33 PM > > From: "Gavin Smith" <[email protected]> > > To: [email protected] > > Cc: "help-texinfo gnu" <[email protected]> > > Subject: Re: Delimiter-separated words for @macro > > > > On Thu, Jan 07, 2021 at 02:05:01PM +0100, [email protected] 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. > > >
