Your message dated Sun, 20 Jan 2019 16:18:29 +0000
with message-id <20190120161829.3m5cdg64extw4...@riva.ucam.org>
has caused the report #919890,
regarding groff-base: Incorrect page numbers position when exporting BSD-style
(mdoc) documents to other formats (ps, etc)
to be marked as having been forwarded to the upstream software
author(s) gr...@gnu.org
(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 ow...@bugs.debian.org
immediately.)
--
919890: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=919890
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Hi groff@,
Would any mdoc folks like to have a look at this? Details differ in
1.22.4 and this patch doesn't quite apply directly, but much the same
problem exists; page numbers are printed on the left of odd-numbered
pages and on the right of even-numbered pages, when one would normally
expect the opposite.
Thanks,
--
Colin Watson [cjwat...@debian.org]
--- Begin Message ---
Package: groff-base
Version: 1.22.3-9
Severity: minor
Tags: patch
Dear Maintainer,
I used the following to export man pages (ie ssh_config, written in
mdoc-style) to a pdf file for double-sided printing:
zcat /usr/share/man/man5/ssh_config.5.gz |groff -man -rD1 -Tps - |ps2pdf
- ssh_config.pdf
The page numbers in the resulting pdf file are placed incorrectly.
This does not affect documents written using the "man" format, for example
it will not affect the man.pdf resulting from the following:
zcat /usr/share/man/man1/man.1.gz |groff -man -rD1 -Tps - |ps2pdf
- man.pdf
-- System Information:
Debian Release: 9.6
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 4.9.0-8-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages groff-base depends on:
ii libc6 2.24-11+deb9u3
ii libgcc1 1:6.3.0-18+deb9u1
ii libstdc++6 6.3.0-18+deb9u1
groff-base recommends no packages.
Versions of packages groff-base suggests:
pn groff <none>
-- no debconf information
@@ -721,7 +721,7 @@
.setup-page-layout
.sp \n[footer-space]u
.ie \n[D] \{\
-.ie o \
+.ie e \
.tl
%\*[caption-font2]\*[date-string]\f[]\*[caption-font]\*[operating-system]\f[]
.el \
.tl
\*[caption-font]\*[operating-system]\f[]\*[caption-font2]\*[date-string]\f[]%
--- End Message ---
--- End Message ---