bug-texinfo
[Top][All Lists]
Advanced

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

w-nolinebreak-text class in HTML output


From: Gavin Smith
Subject: w-nolinebreak-text class in HTML output
Date: Sat, 10 Dec 2022 15:11:47 +0000

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.

One issue is the use of the w-nolinebreak-text CSS class, which is
now misnamed as it is used for @verb, not @w.  This uses a CSS rule
"white-space: nowrap" for <span> elements inserted around words
containing hyphens or underscores.

I doubt that this <span> and CSS rule does anything.  I have not
seen webbrowsers splitting lines at hyphens or underscores.  It would
be simplest to remove it.



reply via email to

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