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 9001 invoked from network); 3 Oct 2021 23:16:36 -0000 Received: from bsd.lv (HELO mandoc.bsd.lv) (66.111.2.12) by inbox.vuxu.org with ESMTPUTF8; 3 Oct 2021 23:16:36 -0000 Received: from fantadrom.bsd.lv (localhost [127.0.0.1]) by mandoc.bsd.lv (OpenSMTPD) with ESMTP id 28941f8c for ; Sun, 3 Oct 2021 18:16:33 -0500 (EST) Received: from cameronkatri.com (cameronkatri.com [206.189.178.249]) by mandoc.bsd.lv (OpenSMTPD) with ESMTP id 0673e645 for ; Sun, 3 Oct 2021 18:16:32 -0500 (EST) Received: from FreeBSDY540 (c-73-84-80-103.hsd1.fl.comcast.net [73.84.80.103]) by cameronkatri.com (Postfix) with ESMTPSA id D71A140659; Sun, 3 Oct 2021 19:16:31 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cameronkatri.com; s=20201109; t=1633302992; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=MGRZLQPFB0ks8yEivsQb02mqeh9txU9ca4EGZTwsrFk=; b=FI6bpgf3bMvXuWIHxOpqHd50X2GGGcO8w08zY+kF1i3Qc+NkZrGVEt0wMamubJ8XAtxWf4 CsffLHmEpeQ1fYU/8PpLRlLEYwVfF1lHEss7JN15tsyegvW8ZzYJqjY+OVWEMGb/c1kAMB No8mHhr9t59TxwhRp+0cLY8ilW80OtY= Date: Sun, 3 Oct 2021 19:16:30 -0400 From: Cameron Katri To: Ingo Schwarze Cc: discuss@mandoc.bsd.lv Subject: Re: Specify man section name at runtime Message-ID: <20211003231630.mb65kbrsb4cpb4yn@FreeBSDY540> References: <20211003174918.nn45mg6rmuaou2fa@FreeBSDY540> X-Mailinglist: mandoc-discuss Reply-To: discuss@mandoc.bsd.lv MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="ahbnp4kfpwbo7i25" Content-Disposition: inline In-Reply-To: --ahbnp4kfpwbo7i25 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Oct 03, 2021 at 08:49:19PM +0200, Ingo Schwarze wrote: > Hi Cameron, >=20 > Cameron Katri wrote on Sun, Oct 03, 2021 at 01:49:18PM -0400: >=20 > > I want to add the ability to specify the man section name >=20 > I suspect you are talking about the volume titles (for example, > "General Commands Manual", "System Calls Manual", etc.), not about > section names (for example, "SYNOPSIS", "DESCRIPTION", "SEE ALSO", etc.). Yes. > > at runtime, instead of at compile time in msec.in. >=20 > Why? >=20 > What is the use case requiring that? Well this is a very niche use case, but on FreeBSD they patch msec.in to say "FreeBSD General Commands Manual" etc. which means that when I use mandoc -T html to generate my website I have to use a different build of mandoc so that the volume title just says "Miscellaneous Information Manual" instead of "FreeBSD Miscellaneous Information Manual." >=20 > Yours, > Ingo Thanks for the feedback. - Cameron Katri --=20 Cameron Katri Email: me@cameronkatri.com PGP Fingerprint: 7D3B36CEA40FCC2181FB6DCDBAFFD97826540F1C --ahbnp4kfpwbo7i25 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCAAdFiEEfTs2zqQPzCGB+23Nuv/ZeCZUDxwFAmFaOc4ACgkQuv/ZeCZU DxwNdQf/SV2U8PI86YaLd9k46CAh8U0qzZVyyW7vDf20FOGoRCv4l5vIciw8Keiu iXT3Qvo1e19uYWCqP1SNQR9UE09skWht+QRGTs3xu8X3QpVWFCcRF9M4lXNPF+on U91oUdJZ4yyYwV49dxgLqYW2YtbQD0VpoADuOa8lh575YcgzeH/6uqYmQclbWiXR 82BCf0HBO7uhhzOj/5DCgnzQHDcs7D0/5WpLIg8xFEMCpHwi3JycmeEobaGsAbHh mQHvFOOlNtyW6o6+O22i5P+B0VaEve9fDVOHp2SOzFh2elrXvTG7Q4v9ClEaz5CK aoDgMWd8G61WzwOaN0627TzLFKf30w== =3xDN -----END PGP SIGNATURE----- --ahbnp4kfpwbo7i25-- -- To unsubscribe send an email to discuss+unsubscribe@mandoc.bsd.lv