Package: groff-base Version: 1.22.4-6 Severity: wishlist Dear Maintainer,
I realise this is a "god help you if your abstract goes over one page,
try writing less" situation, but: subsections that span multiple lines
(because they're moderately long), end up with their first line
dedented, but all subsequent ones indented at text level;
for example, in grotty output:
-- >8 --
X/Open CAE Specification, System Interface Definitions Issue 4, Version 2;
X/Open CAE Specification, System Interfaces and Headers Issue 4, Version
2; X/Open CAE Specification, Commands and Utilities Issue 4, Version 2
Also sometimes known as the Single UNIX Specification (“SUS”) partially
extract "IEEE Draft Standard P1003.2/D12" and "IEEE Std 1003.1-1990" —
-- >8 --
of course, this is 80 columns and borderline-pathological input,
but it's not that much better (break after the second CAE) at A4.
I've patched my doc-common .de Ss as such:
-- >8 --
1039 .if !\n[cR] \
1040 .ne 3
1041 .\"ti -.25i
1042 .in -.25i
1043 .nr doc-reg-Ss \n[.ss]
1044 .nr doc-reg-Ss1 \n[.sss]
1045 .ss (\n[.ss] * 5 / 4) (\n[.sss] * 5 / 4)
1046 .nr doc-arg-ptr +1
1047 .nr doc-curr-font \n[.f]
1048 .nr doc-curr-size \n[.ps]
1049 .nop \*[doc-Sh-font]\c
1050 .doc-print-recursive
1051 .ss \n[doc-reg-Ss] \n[doc-reg-Ss1]
1052 .ta T .5i
1053 .in
1054 .if !\n[cR] \
1055 .ne 2
-- >8 --
i.e. by replacing the .ti on line 1041 with an .in (1042),
and reverting the indent for text on line 1053,
and can confirm it renders as-expected in grotty (and grops):
-- >8 --
X/Open CAE Specification, System Interface Definitions Issue 4, Version 2;
X/Open CAE Specification, System Interfaces and Headers Issue 4, Version 2;
X/Open CAE Specification, Commands and Utilities Issue 4, Version 2
Also sometimes known as the Single UNIX Specification (“SUS”) partially
extract "IEEE Draft Standard P1003.2/D12" and "IEEE Std 1003.1-1990" —
-- >8 --
This appears to be already done by .de Sh, with lines 986 and 1008 in
the following (in both grotty and grops outputs):
-- >8 --
986 .in 0
987 .nr doc-have-author 0
988 .\}
989 .doc-setup-page-layout
990 .sp
991 .ns
1004 .nop \*[doc-Sh-font]\c
1005 .doc-print-recursive
1006 .if t \
1007 .ss \n[doc-reg-Sh] \n[doc-reg-Sh1]
1008 .in +\n[doc-subheader-indent]u
1009 .ns
1010 .doc-check-depth
-- >8 --
So this would be a nice feature-match :)
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

