[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Manual consistency
From: |
Dmitry Alexandrov |
Subject: |
Re: Manual consistency |
Date: |
Fri, 12 Jun 2020 01:58:47 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Ricardo Wurmus <rekado@elephly.net> wrote:
> Dmitry Alexandrov <dag@gnui.org> writes:
>> @macro PS1 {prompt}
>> @inlineraw{html,<span class="PS1">}\prompt\@inlineraw{html,</span>}
>> @end macro
>
> Oh, neat! Let’s try this.
Oops! (info "(texinfo) Defining Macros") recommends against using digits in
macro names:
| For a macro to work consistently with TeX, MACRONAME must consist entirely of
letters: no digits, hyphens, underscores, or other special characters. So, we
recommend using only letters. However, 'makeinfo' will accept anything
consisting of alphanumerics, and (except as the first character) '-'.
and rightfully so:
make non-selectable-command-prompts-mwe.pdf
‹…›
./non-selectable-command-prompts-mwe.texi:13: Undefined control
sequence.
l.13 @PS
1{$ }wget …/guix-install.sh
?
So s/PS1/prompt/g or whatever suits better.
signature.asc
Description: PGP signature
- Re: Manual consistency, (continued)
- Re: Manual consistency, Ludovic Courtès, 2020/06/10
- Re: Manual consistency, Dmitry Alexandrov, 2020/06/10
- Re: Manual consistency, Ricardo Wurmus, 2020/06/11
- Re: Manual consistency, Julien Lepiller, 2020/06/11
- Re: Manual consistency, Dmitry Alexandrov, 2020/06/11
- Re: Manual consistency, Ricardo Wurmus, 2020/06/11
- Re: Manual consistency,
Dmitry Alexandrov <=
Re: Manual consistency, Ricardo Wurmus, 2020/06/05
Re: Manual consistency, George Clemmer, 2020/06/09