[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
@verb issues
From: |
Werner LEMBERG |
Subject: |
@verb issues |
Date: |
Sun, 04 Dec 2022 05:45:52 +0000 (UTC) |
[texinfo.tex 2022-12-03.17]
Consider the following input.
```
\input texinfo
Test Test Test Test Test @verb{@foo@bar bar bar `doodle' doo tiddle di tiddle
toggle di toggle dum
di dum @} Test
@bye
```
(This is a first long line, with a line break after the first 'dum'.)
Is the attached result really the desired output? As you can see,
(1) ` and ' are changed to curly quotes,
(2) the text gets hyphenated, and
(3) the line break gets obeyed.
IMHO, (1) shouldn't happen. While it can be configured with
`txicodequoteundirected` and `txicodequotebacktick`, it changes the
input without these two flags set. Note also that this is a behaviour
different from `texi2any --html`, which doesn't convert the input to
curly quotes even if the two flags are not set.
Item (2) is really bad, since it inserts a character, making it no
longer verbatim.
I think (3) is debatable, but given that `@verb` is intended to be
used within a paragraph, I suggest that line breaks are not obeyed, as
an exception to the verbatimness – similar to the HTML output, which
doesn't obey the line break either.
Werner
- @verb issues,
Werner LEMBERG <=
- 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, 2022/12/07
- Re: @verb issues, Werner LEMBERG, 2022/12/07