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[]%

Reply via email to