bug-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

@verb and @w in HTML output


From: Gavin Smith
Subject: @verb and @w in HTML output
Date: Sat, 7 Jan 2023 21:34:27 +0000

On Sat, Dec 10, 2022 at 03:11:48PM +0000, Gavin Smith wrote:
> On Sat, Dec 10, 2022 at 11:34:47AM +0000, Gavin Smith wrote:
> > The commands were clearly based on the corresponding LaTeX commands,
> > which we should take as authoritative.  LaTeX \verb doesn't break on
> > a space, so Texinfo @verb shouldn't either.  I am going to revert
> > the changes to texinfo.tex and look at using   in the HTML
> > output.  (Sorry.)
> 
> I have made this change.  I have not decided what to do with line
> breaks yet.

In the recent commit 5399b0d46913, I have made newlines inside
the argument to @verb be output as <br> (or <br/>) for consistency with
the TeX output.  I've also continued the recent change that multiple
spaces inside the argument to @w do not lead to multiple non-breaking
spaces in the output, as has always been the case for TeX output.

We should check this is consistent for the other output formats too, I
suppose.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]