tech@mandoc.bsd.lv
 help / color / mirror / Atom feed
* mandoc -man -Thtml bug: inconsistent vertical space before .TP
@ 2023-10-16 11:32 Alejandro Colomar
  2023-10-16 16:28 ` Ingo Schwarze
  0 siblings, 1 reply; 8+ messages in thread
From: Alejandro Colomar @ 2023-10-16 11:32 UTC (permalink / raw)
  To: Ingo Schwarze; +Cc: tech

[-- Attachment #1: Type: text/plain, Size: 631 bytes --]

Hi Ingo,

groff -man -Thtml seems to never produce a blank line before a TP.
mandoc -man -Thtml produces one in some cases, and I can't see a
pattern.

I found this bug while reading feature_test_macros(7) in the Debian
online manpages:
<https://manpages.debian.org/bullseye/manpages/ftm.7.en.html>

To reproduce this bug, run the following in the Linux man-pages repo:

 1999  groff -man -T html man7/feature_test_macros.7 > ftm.g.html
 2000  open ftm.g.html 
 2001  mandoc -man -T html man7/feature_test_macros.7 > ftm.m.html
 2002  open ftm.m.html 


Cheers,
Alex

-- 
<https://www.alejandro-colomar.es/>

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2023-10-19 21:32 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-16 11:32 mandoc -man -Thtml bug: inconsistent vertical space before .TP Alejandro Colomar
2023-10-16 16:28 ` Ingo Schwarze
2023-10-16 17:22   ` Alejandro Colomar
2023-10-19 14:45     ` Ingo Schwarze
2023-10-19 15:10       ` Ingo Schwarze
2023-10-19 15:17       ` Alejandro Colomar
2023-10-19 16:19         ` Ingo Schwarze
2023-10-19 21:32           ` Alejandro Colomar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).