bug-texinfo
[Top][All Lists]
Advanced

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

Re: w-nolinebreak-text class in HTML output


From: Patrice Dumas
Subject: Re: w-nolinebreak-text class in HTML output
Date: Sun, 11 Dec 2022 01:20:04 +0100

On Sat, Dec 10, 2022 at 03:11:47PM +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.
> 
> 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.

The class could be renamed nolinebreak-text.

> 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.

I tried to find where it came from, seemed to be there in the last
texi2html release, but not the release before.

-- 
Pat



reply via email to

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