From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 28460 invoked from network); 16 Oct 2023 16:28:09 -0000 Received: from bsd.lv (HELO mandoc.bsd.lv) (66.111.2.12) by inbox.vuxu.org with ESMTPUTF8; 16 Oct 2023 16:28:09 -0000 Received: from fantadrom.bsd.lv (localhost [127.0.0.1]) by mandoc.bsd.lv (OpenSMTPD) with ESMTP id dc25a063 for ; Mon, 16 Oct 2023 16:28:08 +0000 (UTC) Received: from scc-mailout-kit-01.scc.kit.edu (scc-mailout-kit-01.scc.kit.edu [129.13.231.81]) by mandoc.bsd.lv (OpenSMTPD) with ESMTP id 6d551790 for ; Mon, 16 Oct 2023 16:28:08 +0000 (UTC) Received: from hekate.asta.kit.edu ([2a00:1398:5:f401::77]) by scc-mailout-kit-01.scc.kit.edu with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (envelope-from ) id 1qsQRq-005sxT-2E; Mon, 16 Oct 2023 18:28:07 +0200 Received: from login-1.asta.kit.edu ([2a00:1398:5:f400::72]) by hekate.asta.kit.edu with esmtp (Exim 4.94.2) (envelope-from ) id 1qsQRq-0005qD-5G; Mon, 16 Oct 2023 18:28:05 +0200 Received: from schwarze by login-1.asta.kit.edu with local (Exim 4.94.2) (envelope-from ) id 1qsQRp-000VAF-FF; Mon, 16 Oct 2023 18:28:05 +0200 Date: Mon, 16 Oct 2023 18:28:05 +0200 From: Ingo Schwarze To: Alejandro Colomar Cc: tech@mandoc.bsd.lv Subject: Re: mandoc -man -Thtml bug: inconsistent vertical space before .TP Message-ID: References: X-Mailinglist: mandoc-tech Reply-To: tech@mandoc.bsd.lv MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Hi Alejandro, Alejandro Colomar wrote on Mon, Oct 16, 2023 at 01:32:30PM +0200: > groff -man -Thtml seems to never produce a blank line before a TP. What do you mean by "blank line"? I'm not aware that any such concept is defined in HTML, at least not outside the "pre" element (and possibly a few elements similar to "pre"). > 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: > > > 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 You can see that particular page rendered here: https://man.bsd.lv/Test/ftm.7 It is a long page, and i have been unable to figure out what exactly you are talking about. Please point me to the precise position in the file where vertical spacing before a .TP macro feels lacking or execessive to you, for example by giving the exact text following that .TP macro, and ideally also provide an example of where you feel vertical spacing is about right. Also note that comparing to groff -T html output is completely useless because groff -T html output is of utterly atrocious quality, violating the HTML standard in almost every way imaginable. Yours, Ingo -- To unsubscribe send an email to tech+unsubscribe@mandoc.bsd.lv