summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwlemb <wlemb>2001-03-14 19:50:00 +0000
committerwlemb <wlemb>2001-03-14 19:50:00 +0000
commite8ba685419d4a0741a0fcde4a313d9d88ca5d1a7 (patch)
treec1e0df08980f73c5bf8f716a905e3e1ee9a11c36
parent1d5e788a37658640b769d7cdff52e1829a118284 (diff)
downloadgroff-e8ba685419d4a0741a0fcde4a313d9d88ca5d1a7.tar.gz
internal update
-rwxr-xr-xtmac/doc-common.new31
-rwxr-xr-xtmac/doc-ditroff.new4
-rwxr-xr-xtmac/doc-nroff.new4
-rwxr-xr-xtmac/doc-syms.new2
-rwxr-xr-xtmac/groff_mdoc.reference.man5
5 files changed, 33 insertions, 13 deletions
diff --git a/tmac/doc-common.new b/tmac/doc-common.new
index 35cd790c..dbd05ff2 100755
--- a/tmac/doc-common.new
+++ b/tmac/doc-common.new
@@ -38,13 +38,13 @@
.\" the same name must exist. Its value must not be zero.
.
.nr %A 1
-.nr %B 1\" ?
-.nr %D 1\" ?
+.nr %B 1
+.nr %D 1
.nr %J 1
.nr %N 1
.nr %O 1
-.nr %P 1\" ?
-.nr %Q 1\" ?
+.nr %P 1
+.nr %Q 1
.nr %R 1
.nr %T 1
.nr %V 1
@@ -55,7 +55,7 @@
.nr Ap 2
.nr Aq 12n
.nr Ar 12n
-.nr At 8n\" ?
+.nr At 1
.nr Bc 3
.nr Bf 8n\" ?
.nr Bk 8n\" ?
@@ -65,9 +65,9 @@
.nr Brc 3
.nr Bro 12n
.nr Brq 12n
-.nr Bsx 6n\" ?
+.nr Bsx 1
.nr Bt 8n\" ?
-.nr Bx 12n
+.nr Bx 1
.nr Cd 12n
.nr Cm 10n
.nr D1 8n\" ?
@@ -97,7 +97,7 @@
.nr Fo 16n
.nr Fr 12n\" ?
.nr Ft 8n\" ?
-.nr Fx 12n\" ?
+.nr Fx 1
.nr Ic 10n
.nr In 12n\" ?
.nr It 8n\" ?
@@ -113,13 +113,13 @@
.nr Nm 10n
.nr No 12n
.nr Ns 2
-.nr Nx 12n\" ?
+.nr Nx 1
.nr Oc 3
.nr Oo 10n
.nr Op 14n
.nr Or 6n\" ?
.nr Os 6n\" ?
-.nr Ox 12n\" ?
+.nr Ox 1
.nr Pa 32n
.nr Pc 3
.nr Pf 12n
@@ -144,7 +144,7 @@
.nr Ta 2
.nr Tn 10n
.nr Ud 8n\" ?
-.nr Ux 10n
+.nr Ux 1
.nr Va 12n
.nr Vt 8n\" ?
.nr Xc 3
@@ -560,7 +560,14 @@
. ev doc-caption-enviroment
. doc-setup-page-layout
' sp \n[doc-footer-space]u
-. tl \*[doc-caption-font]\*[doc-operating-system]\f[P]\*[doc-caption-font2]\*[doc-date-string]\f[P]%
+. ie \n[D] \{\
+. ie o \
+. tl %\*[doc-caption-font2]\*[doc-date-string]\f[P]\*[doc-caption-font]\*[doc-operating-system]\f[P]
+. el \
+. tl \*[doc-caption-font]\*[doc-operating-system]\f[P]\*[doc-caption-font2]\*[doc-date-string]\f[P]%
+. \}
+. el \
+. tl \*[doc-caption-font]\*[doc-operating-system]\f[P]\*[doc-caption-font2]\*[doc-date-string]\f[P]%
' bp
. ev
. \}
diff --git a/tmac/doc-ditroff.new b/tmac/doc-ditroff.new
index 5676f234..d3fed917 100755
--- a/tmac/doc-ditroff.new
+++ b/tmac/doc-ditroff.new
@@ -40,6 +40,10 @@
.
.if !r C .nr C 0
.
+.\" use -rD=1 for double-sided printing
+.
+.if !r D .nr D 0
+.
.\" use -rcR=1 to force the creation of a single, very long page
.
.if !r cR .nr cR 0
diff --git a/tmac/doc-nroff.new b/tmac/doc-nroff.new
index dded9d89..fbbcfa46 100755
--- a/tmac/doc-nroff.new
+++ b/tmac/doc-nroff.new
@@ -36,6 +36,10 @@
.
.eo
.
+.\" use -rD=1 for double-sided printing
+.
+.if !r D .nr D 0
+.
.\" use -rcR=0 to have multiple pages instead of a single, very long page
.
.if !r cR .nr cR 1
diff --git a/tmac/doc-syms.new b/tmac/doc-syms.new
index cbf783dd..b1908081 100755
--- a/tmac/doc-syms.new
+++ b/tmac/doc-syms.new
@@ -679,7 +679,7 @@
.\" NS doc-St-usage macro
.
.de doc-St-usage
-. tm1 "Usage: .St standard (\n[.c])
+. tm1 "Usage: .St standard (#\n[.c])
. tm1 " Please refer to groff_mdoc.references.man for a list of
. tm1 " available standard abbreviations.
..
diff --git a/tmac/groff_mdoc.reference.man b/tmac/groff_mdoc.reference.man
index bfc020e3..df3167bf 100755
--- a/tmac/groff_mdoc.reference.man
+++ b/tmac/groff_mdoc.reference.man
@@ -3785,6 +3785,11 @@ to zero while calling groff:
.Pp
.Dl groff -Tlatin1 -rcR=0 -mdoc foo.man > foo.txt
.Pp
+For double-sided printing, set register
+.Ql D :
+.Pp
+.Dl groff -Tps -rD=1 -mdoc foo.man > foo.ps
+.Pp
.Nm \-mdoc
is completely independent from the font size; it simply uses the value which
is in effect before loading