I have seen that mathematical expressions are not displayed
when called within a macro.

@macro Regu
@tex
\alpha
@end tex
@end macro

@Regu

@tex
\beta
@end tex

> Sent: Saturday, November 07, 2020 at 10:38 PM
> From: "Gavin Smith" <[email protected]>
> To: "Christopher Dimech" <[email protected]>
> Cc: "help-texinfo gnu" <[email protected]>
> Subject: Re: @macro to accept hyphen
>
> On Sat, Nov 07, 2020 at 08:23:50PM +0100, Christopher Dimech wrote:
> > Would it be possible to allow macro names to use hyphens?
> >
> > @macro Regexp-EsnStruct
> >   Body
> > @end macro
>
> It's a reasonable question, but it could cause horrendous problems
> with TeX.  There is already special treatment of hyphens in various
> contexts (monospaced font, URL's, etc.) and trying to support hyphens
> in macro names could easily break in one of these contexts.  In fact,
> digits are not even supported: only the 26 lower-case letters and 26
> upper-case letters.
>

Reply via email to