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.2 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, T_TVD_MIME_EPI autolearn=no autolearn_force=no version=3.4.4 Received: (qmail 30858 invoked from network); 16 Oct 2023 17:22:17 -0000 Received: from bsd.lv (HELO mandoc.bsd.lv) (66.111.2.12) by inbox.vuxu.org with ESMTPUTF8; 16 Oct 2023 17:22:17 -0000 Received: from fantadrom.bsd.lv (localhost [127.0.0.1]) by mandoc.bsd.lv (OpenSMTPD) with ESMTP id bdbd21c6 for ; Mon, 16 Oct 2023 17:22:16 +0000 (UTC) Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by mandoc.bsd.lv (OpenSMTPD) with ESMTP id 90c37e3f for ; Mon, 16 Oct 2023 17:22:16 +0000 (UTC) Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by ams.source.kernel.org (Postfix) with ESMTP id 8774FB81230 for ; Mon, 16 Oct 2023 17:22:15 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 68E8CC433C8 for ; Mon, 16 Oct 2023 17:22:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1697476934; bh=a9+oOH+MEh3cEnjFaB9exZgEUT/HrJwRLvRFibTSNI4=; h=Date:From:To:Subject:References:In-Reply-To:From; b=omtwifxYo94/3lGQWqrSeFcKMqspSMtjKXStSrA6IQGILzZjXWYiSAMFedP0cmx4A cIqn5carvuPx7u38XNqmdR+Z7Cx8qcstCVh0dU0CkiSj0+vzcNBDChntnmiVd9Usgd rcetKYZFOdiZJnHNyR+5LSXaxp4HCiVm7b8N0kzh2V0iSlc30bY/AqRHTwpOQCy9Zh dDEAqw+t5mGzvMzAviOHGKJJzEeO8yzQVoGb2U9U2o2qyZVCx4XT445OtxR6nl7idr kk3litGf5MfGhHFEUQOTd0+sFglpRb3BWTm8WK3An0d9XO6U4zz+3xBg4+a51aR+40 J23x3q0DnE07A== Date: Mon, 16 Oct 2023 19:22:11 +0200 From: Alejandro Colomar To: 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: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="LOFFjogPCnEOZ7gf" Content-Disposition: inline In-Reply-To: --LOFFjogPCnEOZ7gf Content-Type: text/plain; protected-headers=v1; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Date: Mon, 16 Oct 2023 19:22:11 +0200 From: Alejandro Colomar To: tech@mandoc.bsd.lv Subject: Re: mandoc -man -Thtml bug: inconsistent vertical space before .TP Hi Ingo, On Mon, Oct 16, 2023 at 06:28:05PM +0200, Ingo Schwarze wrote: > Hi Alejandro, >=20 > Alejandro Colomar wrote on Mon, Oct 16, 2023 at 01:32:30PM +0200: >=20 > > groff -man -Thtml seems to never produce a blank line before a TP. >=20 > What do you mean by "blank line"? What my eyes experience as a relatively large inter-paragraph space. > 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"). >=20 > > mandoc -man -Thtml produces one in some cases, and I can't see a > > pattern. > >=20 > > I found this bug while reading feature_test_macros(7) in the Debian > > online manpages: > > > >=20 > > To reproduce this bug, run the following in the Linux man-pages repo: > >=20 > > 1999 groff -man -T html man7/feature_test_macros.7 > ftm.g.html > > 2000 open ftm.g.html=20 > > 2001 mandoc -man -T html man7/feature_test_macros.7 > ftm.m.html > > 2002 open ftm.m.html=20 >=20 > You can see that particular page rendered here: >=20 > https://man.bsd.lv/Test/ftm.7 I don't see the bug there. I'm going to guess it's just another case of a missing CSS file. >=20 > It is a long page, and i have been unable to figure out what exactly > you are talking about. >=20 > Please point me to the precise position in the file where vertical > spacing before a .TP macro feels lacking or execessive to you, In the Debian bullseye page, check the inter-paragraph space before the tag _LARGEFILE64_SOURCE (I see a long vertical space) and the tag _LARGEFILE_SOURCE. > for example by giving the exact text following that .TP macro, The lines after the tags say "Expose definitions for the alternative API specified by the LFS" and "This macro was historically used to expose certain functions" respectively. > and ideally also provide an example of where you feel vertical > spacing is about right. The page you posted in seems right to me. >=20 > 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. :) Cheers, Alex --=20 --LOFFjogPCnEOZ7gf Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEE6jqH8KTroDDkXfJAnowa+77/2zIFAmUtcUMACgkQnowa+77/ 2zIbMRAAheMAubU8lt+u+hJFi0Ag4rIE0sMGdcmCM5rIifVvpWEz1qWp/L3vZc5n jH5VK62rWmUgximCsXMhqIbDxZ7fU5ZPCHBYEeUNmr6AwIQi2bYJFfdiSftgNKbi NlyrL6mzOoGeA4SqTZcAfgHfnZkQFQB7ik1ACIylsXKO8kNe9oAMuNonirw24C/u bfGmkl5DfrXPZFY12w8q/DF7HsDBboJcs9yEf9rQzrwiC3Ngwj1+jQoVKr/sN8sF 901jvvbjtQcLUNL0ciuG/LIfIwyRlJWdXz6anW3D24vCn1KCcF9DQJwumuSDBsP4 CEror8PYcNXden9jDL/v1MfDVGCPdxpwUfE3bFwR2yvNfVuxCupDOOID0KUM2znG ueRSb0J8l6ucR/xIGB4f4gZDI2X0X76BfpboJMHxpQR9CqFj4oPgKHtrZi7dDvFc 0JxO3GG4HBvexjLB0IBZ/4l0ve/Q+sJ6EjWPzZwrdA04rbO1T291vCa5KAFRTo8r 5kZLIQI2cPIZWZYs6PTRWRws+iPw2+iRmlIo6fvnU3DCL3TmLT+qmDL5ermBF94o tuy8NyV7gZhJnIDwJOTxxU5a6X51WMAJUWINIRB7xQ4U1rpgg26Vf912/YZfdaoF fTWvAUa4qILkv+h7Jup7siLTU2yAF+61YW/MF8rEOEt8bUfRfj8= =Kxv7 -----END PGP SIGNATURE----- --LOFFjogPCnEOZ7gf-- -- To unsubscribe send an email to tech+unsubscribe@mandoc.bsd.lv