tech@mandoc.bsd.lv
 help / color / mirror / Atom feed
From: Alejandro Colomar <alx@kernel.org>
To: Ingo Schwarze <schwarze@openbsd.org>
Cc: tech@mandoc.bsd.lv
Subject: mandoc -man -Thtml bug: inconsistent vertical space before .TP
Date: Mon, 16 Oct 2023 13:32:30 +0200	[thread overview]
Message-ID: <ZS0fTrkKhpYLf0R7@debian> (raw)

[-- 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 --]

             reply	other threads:[~2023-10-16 12:44 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-16 11:32 Alejandro Colomar [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ZS0fTrkKhpYLf0R7@debian \
    --to=alx@kernel.org \
    --cc=schwarze@openbsd.org \
    --cc=tech@mandoc.bsd.lv \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).