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=4.7 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, FROM_SUSPICIOUS_NTLD,FROM_SUSPICIOUS_NTLD_FP,PDS_OTHER_BAD_TLD, T_SCC_BODY_TEXT_LINE,T_TVD_MIME_EPI autolearn=no autolearn_force=no version=3.4.4 Received: (qmail 6000 invoked from network); 5 Jun 2022 16:16:50 -0000 Received: from bsd.lv (HELO mandoc.bsd.lv) (66.111.2.12) by inbox.vuxu.org with ESMTPUTF8; 5 Jun 2022 16:16:50 -0000 Received: from fantadrom.bsd.lv (localhost [127.0.0.1]) by mandoc.bsd.lv (OpenSMTPD) with ESMTP id 9fbfdd79 for ; Sun, 5 Jun 2022 11:16:46 -0500 (EST) Received: from tarta.nabijaczleweli.xyz (139-28-40-42.artus.net.pl [139.28.40.42]) by mandoc.bsd.lv (OpenSMTPD) with ESMTP id 9174b62d for ; Sun, 5 Jun 2022 11:16:39 -0500 (EST) Received: from tarta.nabijaczleweli.xyz (unknown [192.168.1.250]) by tarta.nabijaczleweli.xyz (Postfix) with ESMTPSA id C27EC1B66 for ; Sun, 5 Jun 2022 18:16:36 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nabijaczleweli.xyz; s=202205; t=1654445796; bh=y/fKUF3wsy3ckz/N3ZEVG/6d3FEbMN9En086xiKtX58=; h=Date:From:To:Subject:From; b=sDqz+9u8GytaEU+4O3pkaujzqJ2kDCwQ0EQDN/f1vE5jMKoqA4OW8WWWC8FKzrQM8 ZatKfagwH9zGAkomFnamt0pvc86erGaR31lpqzjmPkSK/vFb49ExFj0tloFE3lRrY3 9BxvBMf6zwxV/H7w1U8drI3eCVfyvd4HSNHn9BPlOn1R2iazss6hbhSBFonBVdcLP3 hJMsORwVM+G8qeo2GVtU56QP841w37Bhob5crrCjuNtWBSXUw5vCsI8jPx0jw5J6QA qk3F8XthytqNB0evvz39c8L8NZdjuP3bYMWDGya+XOTKi4b7arIlqhLytisl64XNLf I5WKjRwMxdfIIpHa5iNqKZM+wpwhAdaj+Le44eb/Iw042S1qD7yrtwT7Ler3XZUnXe XuE/1NyWRKyPTVXUkkl405LaFCmGt+VlMeDGim+dqx1aQ1pgqcTIKsGzHKFpsf9ci0 uBeUxDa2hIFFjXKoPvglnZe8LRvidTperiD0M8biggmac3Y5qKbb6TiG9soQ5wcq+q PyIbl0Pf2O91vEsOk6YCnqvrDcJSBbhGVITwSYPUwI9qwAFUw5iMCQn5fPH/wlyOxg okV/6kYq+pREDdK/ZBloF1HKILrHQGhG12uv6NwXhzDUuZ4t6ll7ajgIZzkkJA4d29 Dbu+Ykj0Zl7gyzbD+50FK0zc= Date: Sun, 5 Jun 2022 18:16:35 +0200 From: =?utf-8?B?0L3QsNCx?= To: discuss@mandoc.bsd.lv Subject: .Bl -tag -width ".mdoc macro" not recognised sometimes(?) Message-ID: <20220605161635.chte3k2gotoceerf@tarta.nabijaczleweli.xyz> X-Mailinglist: mandoc-discuss Reply-To: discuss@mandoc.bsd.lv MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="xe42yxitxpbffgv3" Content-Disposition: inline User-Agent: NeoMutt/20220429 --xe42yxitxpbffgv3 Content-Type: multipart/mixed; boundary="2frq3kmp4hwlpbl2" Content-Disposition: inline --2frq3kmp4hwlpbl2 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! I'm attaching a manual that reproduces this; in short: .Bl -tag -compact -offset 4n -width ".Sy \e\e , \ea , \eb , \et" works, but .Bl -tag -offset 4n -width ".Sy [\& Ns Ar c Ns Sy *] , [\& Ns Ar c Ns Sy = * Ns Ar len Ns Sy \&]" doesn't. Wherein "doesn't" is defined as "I think it's just taking the literal width of the string", which means mandoc really struggles to set this: -- >8 -- O=08OP=08PT=08TI=08IO=08ON=08NS=08S S=08SE=08ET=08T E=08EX=08XP=08PA=08AN=08NS=08SI=08IO=08ON=08N In all places where an arbitrary character is allowed, it can instead = be one of the following escapes: \=08\\=08\, \=08\a=08a, \=08\b=08b, \=08\t=08t \=08\n=08n, \=08\v=08v, \=08\f=08f, \=08\r=08r The backsla= sh, bell, backspace, tab, line feed, vertical tab, form feed, and carriage return characters, respectively. \=08\_=08O[_=08O[_=08O]] Octal byte of value. \=08\_=08c Literal _=08c, without considering = any other sequences. Additionally, the following expansions are recognised: _=08f-=08-_=08t = Inclusive range of a= ll &c. [=08[:=08:_=08c_=08l_=08a_=08s_=08s:=08:]=08] = Where _=08= c_=08l_=08a_=08s_=08s may = be any = of a= =08al=08ln=08nu=08um=08m alphanumeric = characters a= =08al=08lp=08ph=08ha=08a letters b= =08bl=08la=08an=08nk=08k blanks -- >8 -- This is on a fresh (like, 20 minutes old) CVS checkout, and also affects 1.14.5-1 off Debian. groff processes this fine in both [nt]roff modes. Best, =D0=BD=D0=B0=D0=B1 --2frq3kmp4hwlpbl2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline .\" SPDX-License-Identifier: 0BSD .\" .Dd .Dt TR 1 .Os . .Sh NAME .Nm tr .Nd transliterate bytes . .Sh OPTIONS .Ss SET EXPANSION In all places where an arbitrary character is allowed, it can instead be one of the following escapes: .Bl -tag -compact -offset 4n -width ".Sy \e\e , \ea , \eb , \et" .It Sy \e\e , \ea , \eb , \et .It Sy \en , \ev , \ef , \er The backslash, bell, backspace, tab, line feed, vertical tab, form feed, and carriage return characters, respectively. . .It Sy \e Ns Ar O Ns Op Ar O Ns Op Ar O Octal byte of value. . .It Sy \e Ns Ar c Literal .Ar c , without considering any other sequences. .El .Pp Additionally, the following expansions are recognised: . .Bl -tag -offset 4n -width ".Sy [\& Ns Ar c Ns Sy *] , [\& Ns Ar c Ns Sy * Ns Ar len Ns Sy \&]" .It Ar f Ns Sy - Ns Ar t Inclusive range of all characters between .Ar f and .Ar t , in ascending order. Recognised only if .Ar t is at least .Ar f . . .It Sy [: Ns Ar class Ns Sy :] Where .Ar class may be any of .Bl -tag -compact -offset 2n -width ".Sy xdigit" .It Sy alnum alphanumeric characters .It Sy alpha letters .It Sy blank blanks .It Sy cntrl control characters .It Sy digit digits .It Sy graph graphic characters \(em printable except space .It Sy lower lower-case letters .It Sy print printable characters .It Sy punct punctuation characters .It Sy space whitespace .It Sy upper upper-case letters .It Sy xdigit hexadecimal digits .El These correspond directly to respective .Pp .St -p1003.1-2008 only guarantees equivalent relative ordering for .Sy [:lower:] and .Sy [:upper:] , so reliance upon any given ordering of characters generated by character classes may not be portable. . .It Sy [= Ns Ar e Ns Sy =] Just .Ar e . .St -p1003.1-2008 specifies this to be characters with the same equivalence (collation) class as .Ar e according to the current locale, but this is scarcely supported and most implementations just do .Ar e . . .It Sy [\& Ns Ar c Ns Sy *] , [\& Ns Ar c Ns Sy * Ns Ar len Ns Sy \&] If .Ar len is .Em 0 or missing, repeat .Ar c until length of set matches length of the first set (not available when expanding the first set), otherwise repeat .Ar c len times. .Ar len is a decimal integer .Pq octal if it starts with Sy 0 . .El .Pp If enabled, .Fl c occurs directly after processing these transformations. --2frq3kmp4hwlpbl2-- --xe42yxitxpbffgv3 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEfWlHToQCjFzAxEFjvP0LAY0mWPEFAmKc1uAACgkQvP0LAY0m WPGNQRAAmLoIWcXh8OhhVYVcM/JJZ2flSXQ4XnL854qG1GNiL9/Ui9yHeMGvNZQo ZcbaepCAHXPgceBAMVAZTuVqIRSNw8Blroj/B/k7+Iumaox4SH5oTQpBfNeVdEl5 19Gax0o0ER7rhx7kfAct8axuUf8cAogu109NER8L0c4nIcQt2pnTuoVv/X6tXehV R99+I5HGEH2ZpmQlrKhcEakpCjQJdA/0LFcYCN3Q4pHUXrMmeCAFhmlTMJLBTvek Ve4iG0I134/uvYP5KJYAFxn40ciLpYejKJ8h4LJuU1bABNsb0B+5+23Q06HUSnwQ W01S3J9Szc8pwXNs3bmIkEGYb2a8WMNd6wmrVxbGeg1UYUvIaKjg4c7iEjzP9yP3 Fu+rJuRdgKGcV43+8cUKuIahUQq4fhVpqwX8sRKtJGlzBhKWOIXe5LnmrEHcpGST Q7qb1Y9fOloPbE90tLzM7lVRrrj/BcDDeHSd+Q/r4UX3GoEX9QH/bFTTbb64ecVh Avhn2zK8+jRIOBdqS66b5CxXf56ctg/huTgXWZTylCyqSU74mlEsGzB17sK1mL3K QoepkCXpOCBauKfqbhyOz1JWCokitlwGQDcvAJ6LC7EK5EboFybEx17gN3NgMWq9 RkGEGuHvCAz/PIY0hpQ+HeQeGNysH0QfYoPn6aR5U0tYZvOIyes= =k4uG -----END PGP SIGNATURE----- --xe42yxitxpbffgv3-- -- To unsubscribe send an email to discuss+unsubscribe@mandoc.bsd.lv