unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Dmitry Alexandrov <dag@gnui.org>
To: Ricardo Wurmus <rekado@elephly.net>
Cc: guix-devel@gnu.org
Subject: Re: Manual consistency
Date: Fri, 12 Jun 2020 01:58:47 +0300	[thread overview]
Message-ID: <bllpdxaw.dag@gnui.org> (raw)
In-Reply-To: <87sgf1e345.fsf@elephly.net> (Ricardo Wurmus's message of "Thu, 11 Jun 2020 22:53:14 +0200")

[-- Attachment #1: Type: text/plain, Size: 894 bytes --]

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.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]

  reply	other threads:[~2020-06-11 22:59 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-05 17:34 Manual consistency zimoun
2020-06-05 18:02 ` Julien Lepiller
2020-06-05 19:50   ` Ricardo Wurmus
2020-06-09 15:55     ` Ludovic Courtès
2020-06-09 17:13       ` Ricardo Wurmus
2020-06-09 18:12         ` Julien Lepiller
2020-06-10 13:08           ` Ricardo Wurmus
2020-06-10 15:20         ` Ludovic Courtès
2020-06-10 20:23         ` Dmitry Alexandrov
2020-06-11  8:33           ` Ricardo Wurmus
2020-06-11 11:00             ` Julien Lepiller
2020-06-11 18:52             ` Dmitry Alexandrov
2020-06-11 20:53               ` Ricardo Wurmus
2020-06-11 22:58                 ` Dmitry Alexandrov [this message]
2020-06-05 20:16   ` Ricardo Wurmus
2020-06-09 20:56 ` George Clemmer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bllpdxaw.dag@gnui.org \
    --to=dag@gnui.org \
    --cc=guix-devel@gnu.org \
    --cc=rekado@elephly.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).