Re: Manual consistency

2020-06-11 Thread Dmitry Alexandrov
Ricardo Wurmus wrote: > Dmitry Alexandrov writes: >> @macro PS1 {prompt} >> @inlineraw{html,}\prompt\@inlineraw{html,} >> @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

Re: Manual consistency

2020-06-11 Thread Ricardo Wurmus
Dmitry Alexandrov writes: > Ricardo Wurmus wrote: >> Dmitry Alexandrov writes: >>> >>> >>> code .PS1 { >>> -webkit-user-select: none; >>> -moz-user-select: none; /* Not required since F***fox 69. */ >>> user-select: none; >>> } >>>

Re: Manual consistency

2020-06-11 Thread Dmitry Alexandrov
Ricardo Wurmus wrote: > Dmitry Alexandrov writes: >> >> >> code .PS1 { >> -webkit-user-select: none; >> -moz-user-select: none; /* Not required since F***fox 69. */ >> user-select: none; >> } >> > > The only minor problem

Re: Manual consistency

2020-06-11 Thread Julien Lepiller
Le 11 juin 2020 04:33:56 GMT-04:00, Ricardo Wurmus a écrit : > >Dmitry Alexandrov writes: > >> Ricardo Wurmus wrote: >>> Ludovic Courtès writes: Ricardo Wurmus skribis: > Julien Lepiller writes: >> If there is a way to mark a sentence to wrap it into a class, we >could also do

Re: Manual consistency

2020-06-11 Thread Ricardo Wurmus
Dmitry Alexandrov writes: > Ricardo Wurmus wrote: >> Ludovic Courtès writes: >>> Ricardo Wurmus skribis: Julien Lepiller writes: > If there is a way to mark a sentence to wrap it into a class, we could > also do some CSS magic with :before. >>> >>> What about adding some more

Re: Manual consistency

2020-06-10 Thread Dmitry Alexandrov
Ricardo Wurmus wrote: > Ludovic Courtès writes: >> Ricardo Wurmus skribis: >>> Julien Lepiller writes: If there is a way to mark a sentence to wrap it into a class, we could also do some CSS magic with :before. >> >> What about adding some more post-processing in doc/build.scm? :-)

Re: Manual consistency

2020-06-10 Thread Ludovic Courtès
Hello, Ricardo Wurmus skribis: > Ludovic Courtès writes: > >> Hi, >> >> Ricardo Wurmus skribis: >> >>> Julien Lepiller writes: >>> If there is a way to mark a sentence to wrap it into a class, we could also do some CSS magic with :before. >>> >>> Texinfo puts all examples inside

Re: Manual consistency

2020-06-10 Thread Ricardo Wurmus
Julien Lepiller writes: > Le 9 juin 2020 13:13:31 GMT-04:00, Ricardo Wurmus a > écrit : >> >>Ludovic Courtès writes: >> >>> Hi, >>> >>> Ricardo Wurmus skribis: >>> Julien Lepiller writes: > If there is a way to mark a sentence to wrap it into a class, we >>could > also

Re: Manual consistency

2020-06-09 Thread George Clemmer
zimoun writes: > (from: http://issues.guix.gnu.org/issue/41253#10) > > On Fri, 5 Jun 2020 at 18:36, Ludovic Courtès wrote: > >> > There are many examples in guix.texi with $, and also many without. Plus >> > some with # as the command line prompt. >> I’ve come to the conclusion that snippets

Re: Manual consistency

2020-06-09 Thread Julien Lepiller
Le 9 juin 2020 13:13:31 GMT-04:00, Ricardo Wurmus a écrit : > >Ludovic Courtès writes: > >> Hi, >> >> Ricardo Wurmus skribis: >> >>> Julien Lepiller writes: >>> If there is a way to mark a sentence to wrap it into a class, we >could also do some CSS magic with :before. >>> >>>

Re: Manual consistency

2020-06-09 Thread Ricardo Wurmus
Ludovic Courtès writes: > Hi, > > Ricardo Wurmus skribis: > >> Julien Lepiller writes: >> >>> If there is a way to mark a sentence to wrap it into a class, we could >>> also do some CSS magic with :before. >> >> Texinfo puts all examples inside div.example pre.example, but the >> individual

Re: Manual consistency

2020-06-09 Thread Ludovic Courtès
Hi, Ricardo Wurmus skribis: > Julien Lepiller writes: > >> If there is a way to mark a sentence to wrap it into a class, we could >> also do some CSS magic with :before. > > Texinfo puts all examples inside div.example pre.example, but the > individual lines are not wrapped in spans, so we

Re: Manual consistency

2020-06-05 Thread Ricardo Wurmus
Julien Lepiller writes: > If there is a way to mark a sentence to wrap it into a class, we could > also do some CSS magic with :before. That will allow us to show the > prompt while making it non-selectable I think, which is nice visually > and for copy-pasting. I'm not a texinfo guru though,

Re: Manual consistency

2020-06-05 Thread Ricardo Wurmus
Julien Lepiller writes: > If there is a way to mark a sentence to wrap it into a class, we could > also do some CSS magic with :before. Texinfo puts all examples inside div.example pre.example, but the individual lines are not wrapped in spans, so we cannot style each line individually. A

Re: Manual consistency

2020-06-05 Thread Julien Lepiller
Le 5 juin 2020 13:34:57 GMT-04:00, zimoun a écrit : >Hi Ludo, > >(from: http://issues.guix.gnu.org/issue/41253#10) > >On Fri, 5 Jun 2020 at 18:36, Ludovic Courtès wrote: > >> > There are many examples in guix.texi with $, and also many without. >Plus >> > some with # as the command line prompt.

Manual consistency

2020-06-05 Thread zimoun
Hi Ludo, (from: http://issues.guix.gnu.org/issue/41253#10) On Fri, 5 Jun 2020 at 18:36, Ludovic Courtès wrote: > > There are many examples in guix.texi with $, and also many without. Plus > > some with # as the command line prompt. > > Yeah, the manual is kinda inconsistent, and I’m