[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #64501] grohtml(1): confusing sentence in "Bugs" section
From: |
Dave |
Subject: |
[bug #64501] grohtml(1): confusing sentence in "Bugs" section |
Date: |
Thu, 3 Aug 2023 19:53:37 -0400 (EDT) |
Follow-up Comment #4, bug #64501 (project groff):
[comment #2 comment #2:]
> the user ought to be strongly encouraged to disable automatic
> hyphenation in documents targeting HTML.
Self follow-up: it turns out the user needn't be encouraged or discouraged
from any such thing, as tmac/html.tmac already disables hyphenation and
disallows the user to turn it back on:
http://git.savannah.gnu.org/cgit/groff.git/tree/tmac/html.tmac?id=a246806d81351996ac2fa4a8f0826915e576bc0f#n25
[comment #3 comment #3:]
> grohtml _does_ try to set the line length really long.
In light of the above, this seems unnecessary, and potentially even
counterproductive: the user might want lines in the HTML source broken in
reasonable places for easier handling in a text editor. To an HTML renderer,
a space and a newline are equivalent, so where line breaks occur in the HTML
that groff outputs won't affect the rendered page at all.
...with one exception, and that is if groff breaks a word at a hard hyphen,
which it is usually free to do regardless of the hyphenation setting. It
strikes me now that this may be what the incomprehensible(-to-me) sentence
that launched this bug was trying to get at.
On the third hand, even _that_ ought to be disabled by the .cflags line in
html.tmac (see the link above). So I'm no more enlightened than when I
started this reply.
> We could define a new papersize that is effectively infinite
> in both dimensions...
I see no downside to this for the vertical dimension.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?64501>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [bug #64501] grohtml(1): confusing sentence in "Bugs" section, Dave, 2023/08/01
- [bug #64501] grohtml(1): confusing sentence in "Bugs" section, Gaius Mulley, 2023/08/01
- [bug #64501] grohtml(1): confusing sentence in "Bugs" section, Dave, 2023/08/01
- [bug #64501] grohtml(1): confusing sentence in "Bugs" section, G. Branden Robinson, 2023/08/03
- [bug #64501] grohtml(1): confusing sentence in "Bugs" section,
Dave <=
- [bug #64501] grohtml(1): confusing sentence in "Bugs" section, G. Branden Robinson, 2023/08/03
- [bug #64501] grohtml(1): confusing sentence in "Bugs" section, Dave, 2023/08/04
- [bug #64501] grohtml(1): confusing sentence in "Bugs" section, G. Branden Robinson, 2023/08/04
- [bug #64501] grohtml(1): confusing sentence in "Bugs" section, Dave, 2023/08/14