[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: @macro to accept hyphen
From: |
Christopher Dimech |
Subject: |
Re: @macro to accept hyphen |
Date: |
Sat, 7 Nov 2020 23:29:54 +0100 |
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" <gavinsmith0123@gmail.com>
> To: "Christopher Dimech" <dimech@gmx.com>
> Cc: "help-texinfo gnu" <help-texinfo@gnu.org>
> 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.
>
- @macro to accept hyphen, Christopher Dimech, 2020/11/07
- Re: @macro to accept hyphen, Gavin Smith, 2020/11/07
- Re: @macro to accept hyphen,
Christopher Dimech <=
- Re: @macro to accept hyphen, Gavin Smith, 2020/11/07
- Re: @macro to accept hyphen, Christopher Dimech, 2020/11/07
- Re: @macro to accept hyphen, Gavin Smith, 2020/11/08
- Re: @macro to accept hyphen, Christopher Dimech, 2020/11/08
- Re: @macro to accept hyphen, Gavin Smith, 2020/11/09
- Re: @macro to accept hyphen, Patrice Dumas, 2020/11/09
- Re: @macro to accept hyphen, Christopher Dimech, 2020/11/09
- @bnumpaper , @cnumpaper, Christopher Dimech, 2020/11/08
- Re: @bnumpaper , @cnumpaper, Gavin Smith, 2020/11/08
- Re: @bnumpaper , @cnumpaper, Christopher Dimech, 2020/11/08