[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Groff-commit] groff/contrib/groffer roff2.man
From: |
Eric S. Raymond |
Subject: |
[Groff-commit] groff/contrib/groffer roff2.man |
Date: |
Fri, 02 Feb 2007 11:47:46 +0000 |
CVSROOT: /sources/groff
Module name: groff
Changes by: Eric S. Raymond <esr> 07/02/02 11:47:46
Modified files:
contrib/groffer: roff2.man
Log message:
Converted to use .SY/.OP/.YS. Conversion checked using the protocol
described in tmac/TESTING-HINTS.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/groff/contrib/groffer/roff2.man?cvsroot=groff&r1=1.2&r2=1.3
Patches:
Index: roff2.man
===================================================================
RCS file: /sources/groff/groff/contrib/groffer/roff2.man,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- roff2.man 14 Nov 2006 10:37:51 -0000 1.2
+++ roff2.man 2 Feb 2007 11:47:46 -0000 1.3
@@ -1,32 +1,20 @@
-.TH address@hidden@ @MAN1EXT@ "@MDATE@" "Groff Version @VERSION@"
-.SH NAME
address@hidden@ \- transform roff code into @ROFF2MODE@ mode
-.
-.SH "SYNOPSIS"
-.\" The .SH was moved to this place in order to appease `apropos'.
-.
-.
-.\" --------------------------------------------------------------------
-.\" Legalize
-.\" --------------------------------------------------------------------
-.
.ig
address@hidden@.1 - man page for address@hidden@ (section 1).
Source file position: <groff_source_top>/contrib/groffer/roff2.man
Installed position: $prefix/share/man/man1/address@hidden@.1
-Last update: 14 Nov 2006
+Last update: 1 Feb 2007
+Simplified to use .SY/.OP/.YS
..
.
.
-.de author
-This file was written by
-.MTO "" "Bernd Warken" .
+.de au
+This file was written by Bernd Warken.
..
.
.
-.de copyleft
+.de co
Copyright (C) 2006 Free Software Foundation, Inc.
.
.P
@@ -65,133 +53,29 @@
.hy
..
.
-.
-.\" --------------------------------------------------------------------
-.\" Setup
-.\" --------------------------------------------------------------------
-.
-.mso www.tmac
-.
-.if n \{\
-. mso tty-char.tmac
-. ftr CR R
-. ftr CI I
-. ftr CB B
-.\}
-.
-.if '\*[.T]'dvi' \{\
-. ftr CB CW
-.\}
-.
-.ds Ellipsis "\&.\|.\|.\&\""
-.
-.
-.\" --------------------------------------------------------------------
-.\" Macro definitions
-.
-.\" Ignore all arguments like a comment, even after a .eo call.
-.de c
-..
-.
-.
-.c --------------------------------------------------------------------
-.c .File_name (<path_name>)
-.c
-.c Display a file or directory name in CB font.
-.c
-.de File_name
-. Header_CB \\$@
-..
-.
-.
-.c --------------------------------------------------------------------
-.c .Header_CB (<path_name>)
-.c
-.c Display a line in CB font, for example after .TP
-.c
-.de Header_CB
-. nh
-. Text \f[CB]\\$1\f[]\\$2
-. hy
-..
-.
-.
-.c --------------------------------------------------------------------
-.c static register for inter-macro communication in `.Synopsis'.
-.nr roff2:Synopsis.level 0
-.
-.
-.c --------------------------------------------------------------------
-.c .Synopsis ()
-.c
-.c Begin a synopsis section, to be ended by a ./Synopsis macro.
-.c
-.de Synopsis
-. if (\\n[roff2:Synopsis.level] > 0) \
-. Error .\\$0: previous .Synopsis was not closed by ./Synopsis.
-. nh
-. ds @1 \\$1\"
-. nr @old_indent \\n(.i
-. ad l
-. in +\w'address@hidden'u
-. ti address@hidden
-. B address@hidden
-. rr @old_indent
-. rm @1
-. nr roff2:Synopsis.level +1\" marker for ./Synopsis
-..
-.
-.
-.c --------------------------------------------------------------------
-.c ./Synopsis ()
-.c
-.c Close a synopsis section opened by the previous .Synopsis macro.
-.c
-.de /Synopsis
-. if (\\n[roff2:Synopsis.level] <= 0) \
-. Error .\\$0: no previous call of .Synopsis
-. br
-. ad
-. in
-. hy
-. nr roff2:Synopsis.level -1
-..
-.
-.
-.c --------------------------------------------------------------------
-.c .Text (<text>...)
-.c
-.c Treat the arguments as text, no matter how they look.
-.c
-.de Text
-. if (\\n[.$] == 0) \
-. return
-. nh
-. nop \)\\$*\)
-. hy
-..
-.
-.\" End of macro definitions
-.
+.TH address@hidden@ @MAN1EXT@ "@MDATE@" "Groff Version @VERSION@"
+.SH NAME
address@hidden@ \- transform roff code into @ROFF2MODE@ mode
.
.\" --------------------------------------------------------------------
.\" SH "SYNOPSIS"
.\" --------------------------------------------------------------------
.
+.SH "SYNOPSIS"
.ad l
-.Synopsis address@hidden@
-.RI [ groffer_option \*[Ellipsis]]
-[\f[CB]\-\-\fP]
-.RI [ \%filespec \*[Ellipsis]]
-./Synopsis
+.SY address@hidden@
+.OP groffer_option "\&.\|.\|.\&\"
+.OP \f[CB]\-\-\fP
+.OP \%filespec "\&.\|.\|.\&\"
+.YS
.
-.Synopsis address@hidden@
+.SY address@hidden@
\f[CB]\-h\fP\f[CR]|\fP\f[CB]\-\-help\fP
-./Synopsis
+.YS
.
-.Synopsis address@hidden@
+.SY address@hidden@
\f[CB]\-v\fP\f[CR]|\fP\f[CB]\-\-version\fP
-./Synopsis
+.YS
.
.
.P
@@ -199,8 +83,7 @@
.B \-v
and
.B \%\-\-version
-print a version information of the program to standard output and stop
-the program instantly.
+print the version information of the program to standard output and exit.
.
The options
.B \-h
@@ -346,13 +229,13 @@
.\" --------------------------------------------------------------------
.SH "AUTHOR"
.\" --------------------------------------------------------------------
-.author
+.au
.
.
.\" --------------------------------------------------------------------
.SH "COPYING"
.\" --------------------------------------------------------------------
-.copyleft
+.co
.
.
.\" --------------------------------------------------------------------
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Groff-commit] groff/contrib/groffer roff2.man,
Eric S. Raymond <=