[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: @verb issues
From: |
Gavin Smith |
Subject: |
Re: @verb issues |
Date: |
Wed, 7 Dec 2022 07:21:21 +0000 |
On Sun, Dec 04, 2022 at 06:24:11PM +0000, Werner LEMBERG wrote:
>
> >> Please also fix `makeinfo` so that `@verb` doesn't create overlong
> >> lines in info files.
> >
> > This is not immediately easy for me to do. @verb is treated
> > sensibly when the argument does not contain a newline but multiple
> > lines in its argument confuse texi2any. This is something I will
> > have to investigate at a later date.
>
> OK, no problem.
We should assume that spaces inside @verb are important and should
be apparent to the reader. This may not be the case if we allow line
breaking before or after spaces.
One question I have is whether spaces should disappear if they are
used for a line break. If we break before a space should we start
the next line with a space, or if we break before a space should
we end the current line with a space? A break may also occur in
between two spaces. A line break in between the spaces in @verb{+X Y+}
may be a bad thing if the document author deliberately wanted to
illustrate two spaces in a row.
In HTML output there would be a case for using for any spaces
in the output.
- @verb issues, Werner LEMBERG, 2022/12/04
- Re: @verb issues, Gavin Smith, 2022/12/04
- Re: @verb issues, Gavin Smith, 2022/12/04
- Re: @verb issues, Gavin Smith, 2022/12/04
- Re: @verb issues, Werner LEMBERG, 2022/12/04
- Re: @verb issues, Gavin Smith, 2022/12/04
- Re: @verb issues, Werner LEMBERG, 2022/12/04
- Re: @verb issues, Gavin Smith, 2022/12/04
- Re: @verb issues, Werner LEMBERG, 2022/12/04
- Re: @verb issues,
Gavin Smith <=
- Re: @verb issues, Werner LEMBERG, 2022/12/07
- Re: @verb issues, Gavin Smith, 2022/12/10
- Re: @verb issues, Werner LEMBERG, 2022/12/10
- w-nolinebreak-text class in HTML output, Gavin Smith, 2022/12/10
- Re: w-nolinebreak-text class in HTML output, Patrice Dumas, 2022/12/10
- Re: @verb issues, Gavin Smith, 2022/12/04
Re: @verb issues, Werner LEMBERG, 2022/12/04