| 12
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
 100
 101
 102
 103
 104
 105
 106
 107
 108
 109
 110
 111
 112
 113
 114
 115
 116
 117
 118
 119
 120
 121
 122
 123
 124
 125
 126
 127
 128
 129
 130
 131
 132
 133
 134
 135
 136
 137
 138
 139
 140
 141
 142
 143
 144
 145
 146
 147
 148
 149
 150
 151
 
 | '\" t
.\"	cook - file construction tool
.\"	Copyright (C) 1991, 1992, 1993, 1994, 1997, 2001 Peter Miller;
.\"	All rights reserved.
.\"
.\"	This program is free software; you can redistribute it and/or modify
.\"	it under the terms of the GNU General Public License as published by
.\"	the Free Software Foundation; either version 2 of the License, or
.\"	(at your option) any later version.
.\"
.\"	This program is distributed in the hope that it will be useful,
.\"	but WITHOUT ANY WARRANTY; without even the implied warranty of
.\"	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
.\"	GNU General Public License for more details.
.\"
.\"	You should have received a copy of the GNU General Public License
.\"	along with this program; if not, write to the Free Software
.\"	Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA.
.\"
.\" MANIFEST: manual entry for the roffpp command
.\"
.TH ROFFPP 1 Cook "Reference Manual"
.so z_name.so
.ds n) roffpp
.SH NAME
\*(n) \- replace \&.so requests within *roff sources
.XX "roffpp(1)" "replace .so requests within *roff sources"
.SH SYNOPSIS
.B \*(n)
[
.IR option ...
][
.I infile
[
.I outfile
]]
.br
.B \*(n)
.B -Help
.br
.B \*(n)
.B -VERSion
.SH DESCRIPTION
The
.I \*(n)
command may be used to
copies the input file to the output file,
including files named using
.I \&.so
directives along the way,
and removing the
.I \&.so
directives.
.PP
This is useful when processing large multi-file documents
with filters such as
.IR tbl (1)
or
.IR eqn (1)
which do not understand the
.I .so
directive.
The
.I \&.nx
directive is not understood.
The
.I \*(n)
program is not a general *roff interpreter,
so many constructs will be beyond it,
fortunately, most of them have nothing to do with include files.
Include files which cannot be found,
probably from uninterpreted *roff constructs,
if the files really does exist,
will simply be passed through unchanged,
for *roff to interpret at a later time.
.PP
The
.I \*(n)
program also allows the user to specify an include search path.
This allows, for example, common files to be kept in a central location.
.PP
Only directives of the form
.RS
.B \&.so
.I filename
.RE
are processed.
If the directive is introduced using the single quote form,
or the dot is not the first character of the line,
the directive will be ignored.
.PP
Any extra arguments on the line are ignored,
and quoting is not understood.
All characters are interpreted literally.
.PP
Examples of directives which will be ignored include
.RS
.nf
\&'so /usr/lib/tmac/tmac.an
\&.if n .so yuck
.fi
.RE
This list is not exhaustive.
.PP
The special file name
.RB ` \- '
on the command line
means the standard input or standard output,
as appropriate.
Files which are omitted are also assumed to be
the standard input or standard output,
as appropriate.
.PP
The output attempts to keep file names and line numbers in sync
by using the
.B \&.lf
directive.
The
.B \&.lf
directive is also understood as input.
This is compatible with
.IR groff (1)
and the other GNU text utilities included in the groff package.
.br
.ne 1i
.SH OPTIONS
The following options are understood.
.TP 8n
.BI -I path
.br
Specify include path, a la
.IR cc (1).
Include paths are searched in the order specified.
The include search path defaults to the current directory
if and only if the user does not specify any include search paths.
.TP 8n
.B -Help
.br
Give information on how to use
.IR \*(n) .
.TP 8n
.B -VERSion
.br
Tell what version of
.I \*(n)
is being run.
.PP
Any other option will generate a diagnostic error.
.so o__rules.so
.so z_exit.so
.so copyright.so
 |