On Thu, Oct 20, 2022 at 10:37:10PM +0200, Patrice Dumas wrote: > > I've got code written for this (at bottom of mail). However, since this > > is quite a major change to what @w does, and stems from confusion and/or > > disagreement about the purpose of @w, and since it is does not appear to > > be causing any problems for anybody at the moment, I propose that this > > change (and any others for @samp, @code etc.) be delayed until after the > > Texinfo 7.0 release. > > I agree that it should be delayed, I would not be surprised if users > were assuming that spaces are kept as is in Info in @w. I checked the > manual, nothing is explicitely said about double spaces in @w. To me > keeping all spaces in @w seemed in line with the description, but it > could also be otherwise as you propose in the patch (something similar > would need to be done for HTML).
The code I posted previously wasn't correct as it didn't deal with sentence endings. I've committed changes to change the Info/plaintext output. I will work on the HTML output in future days.
