Discussion:
[bug #43532] groff handles long .TH as overlaping in header and footer
(too old to reply)
Deri James
2014-11-05 12:26:18 UTC
Permalink
Follow-up Comment #1, bug #43532 (project groff):

I noticed this patch fixes the space at 4.3 inches, but groff_man specifies
that the title line length can be changed by setting -rLT (or -rLL) to a
different width, so should not this patch take this into account. (NB I have
not actually tested the patch yet).

_______________________________________________________

Reply to this item at:

<http://savannah.gnu.org/bugs/?43532>

_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
Osamu Sayama
2014-12-01 08:51:38 UTC
Permalink
Follow-up Comment #2, bug #43532 (project groff):

Yes, I modified the patch to work with -rLT (and -rLL) by
using .lt and it worked ok for me.
I uploaded revised one as an-old.tmac-long-TH.patch2.


(file #32577)
_______________________________________________________

Additional Item Attachment:

File name: an-old.tmac-long-TH.patch2 Size:3 KB


_______________________________________________________

Reply to this item at:

<http://savannah.gnu.org/bugs/?43532>

_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
Ingo Schwarze
2018-02-16 21:53:49 UTC
Permalink
Update of bug #43532 (project groff):

Category: None => Macro - man
Severity: 3 - Normal => 2 - Minor
Item Group: None => Wishlist
Status: None => Confirmed


_______________________________________________________

Reply to this item at:

<http://savannah.gnu.org/bugs/?43532>

_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
G. Branden Robinson
2020-07-25 07:18:11 UTC
Permalink
Update of bug #43532 (project groff):

Severity: 2 - Minor => 1 - Wish
Summary: groff handles long .TH as overlaping in header and
footer => [PATCH] man: put titles on separate lines when parts too wide,
instead of overlapping them


_______________________________________________________

Reply to this item at:

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

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
Ingo Schwarze
2020-07-25 11:22:09 UTC
Permalink
Follow-up Comment #3, bug #43532 (project groff):

For comparison, here is what mandoc does:


$ mandoc
.TH CosNotifyChannelAdmin_StructuredProxyPushSupplier 3erl "cosNotification
1.1.18" "Ericsson AB" "Erlang Module Definition"
CosNotifyChannelAdmin_StructuredProxyPushSupplier(3erl)
Erlang Module
Definition



Ericsson AB cosNotification 1.1.18

CosNotifyChannelAdmin_StructuredProxyPushSupplier(3erl)
$


Note that
* CosNotify... is left justified on line 1
* Erlang Module Definition is right justified on line 2
* Ericsson AB is left justified
* cosNotification 1.1.18 is centered
* CosNotify... is right justified on the last line

I did not inspect the patch yet.


_______________________________________________________

Reply to this item at:

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

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

Loading...