summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2003-05-01 13:17:56 +0000
committerru <ru@FreeBSD.org>2003-05-01 13:17:56 +0000
commit18c8dfcfa1902974bd1307e51db796d600e872ed (patch)
treeb8b7611cca106e09f25eb5e39d777e2d671ba53e
parentd6ee1ab2326dfa184ab224292113e035c7f2ecea (diff)
downloadFreeBSD-src-18c8dfcfa1902974bd1307e51db796d600e872ed.zip
FreeBSD-src-18c8dfcfa1902974bd1307e51db796d600e872ed.tar.gz
Use stock (FSF) version of this file.
-rw-r--r--contrib/groff/man/groff_out.man21
-rw-r--r--contrib/groff/tmac/doc-common34
-rw-r--r--contrib/groff/tmac/doc-ditroff11
-rw-r--r--contrib/groff/tmac/doc-nroff12
4 files changed, 35 insertions, 43 deletions
diff --git a/contrib/groff/man/groff_out.man b/contrib/groff/man/groff_out.man
index 5fe7dcc..b45e82f 100644
--- a/contrib/groff/man/groff_out.man
+++ b/contrib/groff/man/groff_out.man
@@ -3,11 +3,11 @@
.ig
groff_out.5
-Last update: 12 Sep 2002
+Last update: 13 Apr 2003
This file is part of groff, the GNU roff type-setting system.
-Copyright (C) 1989, 2001, 2002 Free Software Foundation, Inc.
+Copyright (C) 1989, 2001, 2002, 2003 Free Software Foundation, Inc.
rewritten from scrach 2001 by Bernd Warken <bwarken@mayn.de>
Permission is granted to copy, distribute and/or modify this document
@@ -719,10 +719,19 @@ red, green, and blue.
.command N n
Print character with index\~\c
.argument n
-(a non-negative integer) of the current font.
+(an integer, normally non-negative) of the current font.
.
The print position is not changed.
.
+If
+.B \-T\~html
+is used, negative values are emitted also to indicate an unbreakable space
+with given width.
+.
+For example,
+.B N\~-193
+represents an unbreakable space which has a width of 193u.
+.
This command is a groff extension.
.
.
@@ -1290,7 +1299,7 @@ This is the second command of the prologue.
.xsub Slant
Set slant to\~\c
.argument n
-(an integer in basic units\~\c
+degrees (an integer in basic units\~\c
.unit u ).
.
.
@@ -1726,7 +1735,7 @@ Device description file for device
.IR name .
.
.TP
-.IB \[la]groff_source_dir\[ra] /src/libs/libdriver/input.cc
+.IB \[la]groff_source_dir\[ra] /src/libs/libdriver/input.cpp
Defines the parser and postprocessor for the intermediate output.
.
It is located relative to the top directory of the
@@ -1855,7 +1864,7 @@ see
.SH "AUTHORS"
.\" --------------------------------------------------------------------
.
-Copyright (C) 1989, 2001, 2002 Free Software Foundation, Inc.
+Copyright (C) 1989, 2001, 2002, 2003 Free Software Foundation, Inc.
.P
This document is distributed under the terms of the FDL (GNU Free
Documentation License) version 1.1 or later.
diff --git a/contrib/groff/tmac/doc-common b/contrib/groff/tmac/doc-common
index 7310d19..438a749 100644
--- a/contrib/groff/tmac/doc-common
+++ b/contrib/groff/tmac/doc-common
@@ -180,7 +180,7 @@
.eo
.
.
-.\" punctuation values (suffix=3, prefix = 4)
+.\" punctuation values (suffix=3, prefix=4)
.
.nr doc-punct. 3
.nr doc-punct, 3
@@ -321,11 +321,12 @@
. as doc-volume " \*[doc-volume-ds-\$2]
. \}\}\}
. el \{\
-. ie "\$2"unass" .ds doc-volume DRAFT
-. el \{ .ie "\$2"draft" .ds doc-volume DRAFT
-. el \{ .ie "\$2"paper" .ds doc-volume UNTITLED
-. el \
-. tm mdoc warning: .Dt: unknown section `\$2' (#\n[.c])
+. ie "\$2"unass" \
+. ds doc-volume DRAFT
+. el \{ .ie "\$2"draft" \
+. ds doc-volume DRAFT
+. el .if "\$2"paper" \
+. ds doc-volume UNTITLED
. \}\}
. if \A\$3 \{\
. if d doc-volume-ds-\$3 \
@@ -542,7 +543,7 @@
. ev doc-env-dh
. doc-setup-page-layout
. if !\n[cR] \
-' sp \n[doc-header-space]u
+. sp \n[doc-header-space]u
. nr doc-reg-dh \w'\*[doc-caption-font]\*[doc-header-string]\f[]'
. nr doc-reg-dh1 \w'\*[doc-caption-font2]\*[doc-volume]\f[]'
. if (\n[doc-reg-dh] + \n[doc-reg-dh1] + \n[doc-reg-dh] >= \n[.lt]) \{\
@@ -553,8 +554,9 @@
. as doc-header-string "\|.\|.\|.
. \}
. tl \*[doc-caption-font]\*[doc-header-string]\f[]\*[doc-caption-font2]\*[doc-volume]\f[]\*[doc-caption-font]\*[doc-header-string]\f[]
-' sp \n[doc-header-space]u
+. sp \n[doc-header-space]u
. ev
+. ns
..
.
.
@@ -563,11 +565,11 @@
.
.de doc-footer
. ie \n[cR] \
-' br
+. br
. el \{\
. ev doc-caption-enviroment
. doc-setup-page-layout
-' sp \n[doc-footer-space]u
+. sp \n[doc-footer-space]u
. ie \n[D] \{\
. ie o \
. tl %\*[doc-caption-font2]\*[doc-date-string]\f[]\*[doc-caption-font]\*[doc-operating-system]\f[]
@@ -576,7 +578,7 @@
. \}
. el \
. tl \*[doc-caption-font]\*[doc-operating-system]\f[]\*[doc-caption-font2]\*[doc-date-string]\f[]%
-' bp
+. bp
. ev
. \}
..
@@ -602,7 +604,7 @@
. tm mdoc warning: list open at EOF! A .Bl directive has no matching .El
.
. if \n[cR] \{\
-' sp
+. sp
. tl \*[doc-caption-font]\*[doc-operating-system]\f[]\*[doc-caption-font2]\*[doc-date-string]\f[]\*[doc-caption-font]\*[doc-operating-system]\f[]
. \" suppress empty lines after the footer
. pl \n[nl]u
@@ -761,14 +763,14 @@
. doc-parse-args \$@
.
. if t \
-' ad
+. ad
.
. \" this resolves e.g. `.Sh "SEE ALSO"'
. doc-first-parameter \$*
.
. ie "\*[doc-str-dfp]"\*[doc-section-name]" \{\
. doc-setup-header
-' in 0
+. in 0
. \}
. el \{\
. nr doc-in-synopsis-section 0
@@ -805,12 +807,12 @@
. \}
.
. doc-setup-page-layout
-' sp
+. sp
. ns
. ta T .5i
. if !\n[cR] \
. ne 3
-' fi
+. fi
.
. if t \{\
. nr doc-reg-Sh \n[.ss]
diff --git a/contrib/groff/tmac/doc-ditroff b/contrib/groff/tmac/doc-ditroff
index 94f7e50..6c83009 100644
--- a/contrib/groff/tmac/doc-ditroff
+++ b/contrib/groff/tmac/doc-ditroff
@@ -36,10 +36,6 @@
.
.eo
.
-.\" use -rC=1 to number pages continuously
-.
-.if !r C .nr C 0
-.
.\" use -rD=1 for double-sided printing
.
.if !r D .nr D 0
@@ -212,18 +208,11 @@
. wh 0 doc-header
. wh -1.25i doc-footer
.
-. nr nL \n[nl]
. if \n[gX] \
. ds doc-command-name
.
. br
.
-. \" Don't set the page number if this is the first page,
-. \" in case the user has used -n.
-. if \n[nL] \
-. if !\n[C] \
-. nr % 1
-.
. nr gX 0
. e@ doc-end-macro
..
diff --git a/contrib/groff/tmac/doc-nroff b/contrib/groff/tmac/doc-nroff
index 9c5f307..0c04381 100644
--- a/contrib/groff/tmac/doc-nroff
+++ b/contrib/groff/tmac/doc-nroff
@@ -44,10 +44,9 @@
.
.if !r cR .nr cR 1
.
-.\" the following switches are ignored in nroff mode
+.\" the following switch is ignored in nroff mode
.
.nr S 10
-.nr C 0
.
.\" the `doc-xx-font' strings must not be empty!
.
@@ -122,10 +121,7 @@
.\" NS doc-header-space
.
.de doc-setup-page-layout
-. ie \n[cR] \
-. nr doc-header-space 0
-. el \
-. nr doc-header-space .5i
+. nr doc-header-space .5i
. nr doc-footer-space .5i
.
. ie r LL \
@@ -201,7 +197,6 @@
.\" NS doc-header-string
.
.de doc-setup-header
-. nr % 1
. ds doc-header-string "\*[doc-document-title]
. if !"\*[doc-section]"Null" \
. as doc-header-string (\*[doc-section])
@@ -213,9 +208,6 @@
. wh -1.167i doc-footer
. \}
.
-. if ((\n[nl] == 0) : (\n[nl] == -1)) \
-' bp
-.
. e@ doc-end-macro
..
.
OpenPOWER on IntegriCloud