bug-groff
[Top][All Lists]
Advanced

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

[bug #64501] grohtml(1): confusing sentence in "Bugs" section


From: G. Branden Robinson
Subject: [bug #64501] grohtml(1): confusing sentence in "Bugs" section
Date: Thu, 3 Aug 2023 18:36:19 -0400 (EDT)

Follow-up Comment #3, bug #64501 (project groff):

I once saw a problem caused by the following, but I can't remember if it was
in grohtml or someplace else.

grohtml _does_ try to set the line length really long.


tmac/html.tmac:.mso www.tmac
tmac/troffrc-end:.      do mso www.tmac

tmac/www.tmac.in:.      ll 1000n
tmac/www.tmac.in:.      ll 1000n


I see two problems here.  First, 1000n may not be enough.  But we can fix
that, especially if we do what I intend with the `.R` register (bug #63587).

The second and worse problem is that this changed line length _does not alter
the line length used in environments_.

Environments are initialized with formatting parameters corresponding to the
_formatter_'s defaults.  (The output device has defaults for a paper format,
but the 'html' device doesn't use them, so you get the formatter's defaults.)

I suppose the "real fix" for this is to give _groff_'s 'html' device some
default paper dimensions that make sense when it's actually formatting.  We
could define a new papersize that is effectively infinite in both
dimensions...


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?64501>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

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