Your message dated Thu, 13 Jul 2023 05:05:06 +0000
with message-id <[email protected]>
and subject line Bug#1021795: fixed in groff 1.23.0-1
has caused the Debian Bug report #1021795,
regarding groff-base: Please consider removing the extra spaces in Pq (& Po/Pc)
and Bq (& Bo/Bc)
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1021795: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1021795
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: groff-base
Version: 1.22.4-6
Severity: normal
Dear Maintainer,
The weird spacing on Pqs when compared to ()s has always bugged me,
but now it's bugged me so hard I decided to look.
You may have noticed that, for example,
(ibid)
is rendered differently from
.Pq ibid
It's very obvious when you have both styles stacked together,
or even when you compare stacking punctuation at the end of a Sy-style
macro against Pqing it, and it looks pretty ass.
To ensure this isn't just placebo, here's three troff sessions:
-- >8 --
$ troff -mdoc
(ibid)
x T ps
x res 72000 1 1
x init
p1
x font 5 TR
f5
s10000
V12000
H72000
md
DFd
t(ibid)
n12000 0
x trailer
V792000
x stop
$ troff -mdoc
.Pq ibid
x T ps
x res 72000 1 1
x init
p1
V12000
H72000
DFd
x font 5 TR
f5
s10000
h1666
md
t(
h1666
tibid
h1666
t)
h1666
n12000 0
x trailer
V792000
x stop
$ troff -mdoc
.No ( ibid )
x T ps
x res 72000 1 1
x init
p1
x font 5 TR
f5
s10000
V12000
H72000
md
DFd
t(ibid)
n12000 0
x trailer
V792000
x stop
-- >8 --
"(ibid)" and ".No ( ibid )" yield just "(ibid)",
".Pq ibid" adds 'h' (horizontal motion?).
If we insert some spaces, we get:
-- >8 --
$ troff -mdoc
(\|ibid\|)
x T ps
x res 72000 1 1
x init
p1
x font 5 TR
f5
s10000
V12000
H72000
md
DFd
t(
h1666
tibid
h1666
t)
n12000 0
x trailer
V792000
x stop
-- >8 --
i.e. ".Pq ibid" is "(\|ibid\|)", so with ⅙m space around the text. Huge.
This doesn't seem to be an inherent limitation of groff/mdoc,
and instead appears to be explicit in
/usr/share/groff/1.22.4/tmac/mdoc/doc-ditroff
as doc-left-parenthesis (and doc-left-bracket for B[qoc],
and the -right- variants, naturally).
As a test, I've removed these spaces from the strings,
and run off three copies of a monograph:
* job 3300 is stock groff
* job 3301 has \|s removed from doc-*-parenthesis
* job 3302 has \^s removed from doc-*-bracket
which are available for comparison at
https://lfs.nabijaczleweli.xyz/0012-groff-mdoc-*q-spacing
I especially direct your attention to pp. 4, 6, 7, 9, 10, 12, 14, 15;
this is especially egregious in the big paragraph on page 10, which no
longer consists of 20% blank space.
For Bq, I find the last paragraph of page 68 very illustrative
(and the SYNOPSIS looks markedly better, too).
In groff, these blame back to the original mdoc rewrite in 2001ish,
and are blindly copied from 4.4BSD-Lite2:
-- >8 --
usr/src/share/tmac/doc-nroff:.ds lP \fR\|(\fP
usr/src/share/tmac/doc-nroff:.ds rP \fR\|)\fP
usr/src/share/tmac/doc-nroff:.ds lB \fR\|[\|\fP
usr/src/share/tmac/doc-nroff:.ds rB \fR\|]\fP
usr/src/share/tmac/doc-ditroff:.ds lP \fR\|(\|\fP\s10
usr/src/share/tmac/doc-ditroff:.ds rP \fR\|)\|\fP\s10
usr/src/share/tmac/doc-ditroff:.ds lB \fR\^[\^\fP\s10
usr/src/share/tmac/doc-ditroff:.ds rB \fR\^]\fP\s10
-- >8 --
None of the other encapsulation macros I found in
/usr/share/groff/1.22.4/tmac/mdoc/doc.tmac
have these spaces, and for comparison Op has them (in groff and 4.4BSD)
but Oo and Oc don't (likewise),
so this reads to me like compensation for like deficient font metrics
on the phototypesetters of yore? or something?
It'd be great if you could consider dropping them :)
Best,
наб
-- System Information:
Debian Release: 11.5
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500,
'stable-debug'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.10.0-17-amd64 (SMP w/24 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_FIRMWARE_WORKAROUND,
TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8),
LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages groff-base depends on:
ii libc6 2.31-13+deb11u4
ii libgcc-s1 10.2.1-6
ii libstdc++6 10.2.1-6
ii libuchardet0 0.0.7-1
groff-base recommends no packages.
Versions of packages groff-base suggests:
ii groff 1.22.4-6
-- no debconf information
signature.asc
Description: PGP signature
--- End Message ---
--- Begin Message ---
Source: groff
Source-Version: 1.23.0-1
Done: Colin Watson <[email protected]>
We believe that the bug you reported is fixed in the latest version of
groff, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Colin Watson <[email protected]> (supplier of updated groff package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Thu, 13 Jul 2023 05:30:17 +0100
Source: groff
Architecture: source
Version: 1.23.0-1
Distribution: unstable
Urgency: medium
Maintainer: Colin Watson <[email protected]>
Changed-By: Colin Watson <[email protected]>
Closes: 243238 248529 257413 284002 411227 421437 551111 710178 716109 782903
892423 919890 991633 1009248 1011666 1021795 1021961 1022179 1030097 1032227
1040440
Changes:
groff (1.23.0-1) unstable; urgency=medium
.
* New upstream release (closes: #1040440):
- [libdriver]: Fix SEGV in printer::set_ascii_char (closes: #421437).
- [docs]: groff(7): Replace many uses of \[cq] with \[aq] when the
latter is what is meant (closes: #551111).
- [docs]: groff(7): Fix missing escape synonyms for '.ft' (closes:
#1021961).
- [tbl]: Regularize diagnostics (closes: #710178).
- [troff]: Avoid infinite loop (closes: #892423).
- [docs]: roff(7): Revise language referring to Emacs as the "best"
program for editing roff documents (closes: #248529).
- [mdoc]: Fix infinite loop (closes: #411227).
- [mdoc]: Fix bad page number placement (closes: #919890).
- [mdoc]: Improve output of .At 32v (closes: #991633).
- [libbib]: Validate input to avoid heap overread (closes: #716109).
- [fonts]: Fix \[oq] and \[cq] in X11 text fonts (closes: #243238).
- [gropdf]: Recognize "com10" paper format (closes: #1009248).
- [docs]: Document grotty pager requirements more prominently (closes:
#257413).
- [docs]: pic(1): Fix content nits, including no longer referring to
pic.ms (closes: #1032227).
- [tmac]: Define fallbacks for chars in Latin-[259] (closes: #782903).
- [mdoc]: Drop thin and hair space escape sequences from several string
definitions (closes: #1021795).
- [mdoc]: Indent entire subsection heading by 3 ens, even if it breaks
across output lines (closes: #1022179).
* Build-depend on m4, texlive-base, and texlive-latex-base (closes:
#1011666).
* Override Lintian source-is-missing misfire (see #1019980).
* Drop mapping of \(oq to ' on devices other than utf8; upstream does this
now for latin1, which is probably good enough.
* Adopt upstream's use of SGR escape sequences for man/mdoc (LP: #610609).
I turned these off for Debian in 2002 because pagers didn't cope well at
the time, but it's now 21 years later and things have changed; SGR
escape sequences resolve some ambiguity (see #963490) and are required
for new features such as clickable hyperlinks.
* Honour /etc/papersize in PDF output, now that gropdf has the necessary
support upstream (closes: #1030097).
* Set doc-default-operating-system to "Debian" (closes: #284002).
* Map "^" to "\[ha]" and "~" to "\[ti]" for man/mdoc on the utf8 device,
to mitigate an upstream change likely to expose many glyph usage errors
in manual pages (although those errors were already visible in PDF
output).
* Arrange to rebuild documentation from the original source.
* Install groff.pdf (the PDF form of groff's Texinfo manual).
* Only force time display to UTC when the time came from SOURCE_DATE_EPOCH
(LP: #1908333).
* Enable OSC 8 hyperlinks for man pages.
Checksums-Sha1:
b338da4208c93f666e9b6cc310c44b1dd4af19f1 2423 groff_1.23.0-1.dsc
c18099667889873704f6f953ba501abc014fae85 7433031 groff_1.23.0.orig.tar.gz
fbf11773b8cb8360a1ccc4a2c32630a95e436eb3 833 groff_1.23.0.orig.tar.gz.asc
b9ba07b217b3ad50fb9d6f714b3424c790df1ec8 41836 groff_1.23.0-1.debian.tar.xz
Checksums-Sha256:
285f87f2039258b6eab736fc7b00e80ff00193643281b05b91ee1527fc16fa3c 2423
groff_1.23.0-1.dsc
6b9757f592b7518b4902eb6af7e54570bdccba37a871fddb2d30ae3863511c13 7433031
groff_1.23.0.orig.tar.gz
7ec23a8550fba8d942da06b1f84a090d80538ac062e8c73de6a4ad7a4f69e09f 833
groff_1.23.0.orig.tar.gz.asc
ee30ffae50f09e7e8472d7d3b4c381c0722dd6a937102077dca02cff0dad0db7 41836
groff_1.23.0-1.debian.tar.xz
Files:
fd3add9cc538f774b52c333ceabff17f 2423 text important groff_1.23.0-1.dsc
5e4f40315a22bb8a158748e7d5094c7d 7433031 text important
groff_1.23.0.orig.tar.gz
cd738df56f7a4732ca4ed3725dab3604 833 text important
groff_1.23.0.orig.tar.gz.asc
dadca72be8b3fb4a4ab72fe8a360516a 41836 text important
groff_1.23.0-1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEErApP8SYRtvzPAcEROTWH2X2GUAsFAmSvfjMACgkQOTWH2X2G
UAtTVg/+LFOgVtCcAdpPcjV6qW6gaSP5W33xjlY8w0zukWlAGmm4odGXObYRebjJ
f0f7D/FwqJ8MufvqGtUri4A1ExL3MNjnmuFKYtNmb96X1qAOUyLOm0yvNrxm194q
/dQt6S40bTbpngIAY0pBahl4T1+OONZL6XD8QVVOFfOKW/URQaeG0oV2jUgP7L29
8DEcczBwxXHokcVbP+DaVCxgBlO0F+D2bwaW+ffxO2gPK6PsARyvfEDnjT1bSJot
+hCsvlAYrJ2XtvFd4DCU62gnANYvqmtDLwfBkhji+81gPWKFgLD2Ia9ZPMwCvyQ/
tSEiWM/Sp918XkBx88VPpKSOWIhSPnWRHLMFbPpLD3NdBNn5widKWSg5NhHbPzhO
e9Eu3eeVZK7dBLnxDt76C5+vFBqZkFjPqbOplc0fqHFSpusz4MLAc1ybRcOvzESm
dXpbLU0wmfpw1Lmb2Q47wqrh9G0elSLLthodwy7FGAulHf9MxXRgXbkcZaDPw+li
11AMZ3Umw1OPDAJOnOSToXxFudIwxcyrqbcWp1t8YqZMtkbQ0vHjZQ5iotDJgDRB
FvIFWpF2uSWj5PzGrL9dRyqgX60uAAWu/QQhXTVY65Ry+CtIK0UzNedt5Tv/odub
iRmhVCcGVTbWr4M9jcZnviUnIScgNgC5gL5CiXd+Zbnh2fXaAfc=
=WeCU
-----END PGP SIGNATURE-----
--- End Message ---