[Top][All Lists]

[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 <> wrote:
> Dmitry Alexandrov <> 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 
        l.13 @PS
                1{$ }wget …/

So s/PS1/prompt/g or whatever suits better.

Attachment: signature.asc
Description: PGP signature

reply via email to

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