Ricardo Wurmus wrote: > Dmitry Alexandrov writes: >> >> > > 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,}\prompt\@inlineraw{html,} @end macro @node Example @example @PS1{$ }wget …/guix-install.sh @PS1{$ }su - @PS1{# }bash ./guix-install.sh @end example @bye