guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Manual consistency


From: Dmitry Alexandrov
Subject: Re: Manual consistency
Date: Thu, 11 Jun 2020 21:52:50 +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:
>>
>>        <style>
>>          code .PS1 {
>>              -webkit-user-select: none;
>>              -moz-user-select: none; /* Not required since F***fox 69. */
>>              user-select: none;
>>          }
>>        </style>
>
> The only minor problem is that with Texinfo we cannot insert conditional tags 
> within the context of an example section

Dunno, I can:

        \input texinfo
        @setfilename non-selectable-command-prompts-mwe.info
        @documentencoding UTF-8
        @settitle Non-selectable command prompts
        
        @macro PS1 {prompt}
        @inlineraw{html,<span class="PS1">}\prompt\@inlineraw{html,</span>}
        @end macro
        
        @node Example
        
        @example
        @PS1{$ }wget …/guix-install.sh
        @PS1{$ }su -
        @PS1{# }bash ./guix-install.sh
        @end example
        
        @bye

Attachment: signature.asc
Description: PGP signature


reply via email to

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