On Thu, Oct 20, 2022 at 07:39:51PM +0100, Gavin Smith wrote:
In texi2any, as well as stopping line breaks, multiple spaces are
protected, so @w{a b} outputs as 'a b' not 'a b'.
Indeed. I have not checked, but I think that it dates back to makeinfo
in C. It follows the same logic in HTML.
(However, I checked that in contexts where you would like multiple spaces
to be protected, like @samp{a b}, this doesn't happen.)
I don't get the point above. To me, in @samp{a b} you do not want
anything special to be done to spaces, such that a double space should
become a simple space in the plaintext/Info output. It can remain a
double space in HTML, LaTeX, DocBook...