2 .TH @g@soelim @MAN1EXT@ "@MDATE@" "groff @VERSION@"
4 @g@soelim \- recursively interpolate source requests in
9 .\" ====================================================================
11 .\" ====================================================================
13 .\" Copyright (C) 1989-2020 Free Software Foundation, Inc.
15 .\" Permission is granted to make and distribute verbatim copies of this
16 .\" manual provided the copyright notice and this permission notice are
17 .\" preserved on all copies.
19 .\" Permission is granted to copy and distribute modified versions of
20 .\" this manual under the conditions for verbatim copying, provided that
21 .\" the entire resulting derived work is distributed under the terms of
22 .\" a permission notice identical to this one.
24 .\" Permission is granted to copy and distribute translations of this
25 .\" manual into another language, under the above conditions for
26 .\" modified versions, except that this permission notice may be
27 .\" included in translations approved by the Free Software Foundation
28 .\" instead of in the original English.
31 .\" Save and disable compatibility mode (for, e.g., Solaris 10/11).
32 .do nr *groff_soelim_1_man_C \n[.cp]
35 .\" Define fallback for groff 1.23's MR macro if the system lacks it.
37 .if !\n(.f .nr do-fallback 1 \" mandoc
38 .if \n(.g .if !d MR .nr do-fallback 1 \" older groff
39 .if !\n(.g .nr do-fallback 1 \" non-groff *roff
40 .if \n[do-fallback] \{\
45 . IR \%\\$1 (\\$2)\\$3
49 .\" Man pages are seldom preprocessed with pic(1).
53 .\" ====================================================================
55 .\" ====================================================================
57 .ie t .ds tx T\h'-.1667m'\v'.224m'E\v'-.224m'\h'-.125m'X
61 .\" ====================================================================
63 .\" ====================================================================
69 .RI [ input-file\~ .\|.\|.]
86 .\" ====================================================================
88 .\" ====================================================================
92 is a preprocessor for the
94 document formatting system.
97 works as a filter to eliminate source requests in
101 it replaces lines of the form
103 .IR included-file \[rq]
113 requests as well to record the name and line number of each
117 so that any diagnostics produced by later processing can be accurately
118 traced to the original input.
120 Options allow this information to be suppressed
122 or supplied in \*[tx] comments instead
129 reads the standard input stream.
131 Output is written to the standard output stream.
137 contains a backslash,
146 .RB \[lq] \[rs]\~ \[rq]
147 (backslash followed by a space).
149 Any other escape sequence in
152 .RB \[lq] \[rs][rs] \[rq],
155 from replacing the source request.
159 The dot must be at the beginning of a line and must be followed by
161 without intervening spaces or tabs for
165 This convention allows source requests to be \[lq]protected\[rq] from
168 for instance as part of macro definitions or
174 There must also be at least one space between
182 option overrides this requirement.
186 The foregoing is the limit of
193 replace the input line
197 \&.if 1 .so otherfile
209 can be used to process text files in general,
210 to flatten a tree of input documents.
215 was designed to handle situations where the target of a
217 source request requires a preprocessor such as
218 .MR @g@eqn @MAN1EXT@ ,
219 .MR @g@pic @MAN1EXT@ ,
220 .MR @g@refer @MAN1EXT@ ,
222 .MR @g@tbl @MAN1EXT@ .
224 The usual processing sequence of
228 .\" Does this groff installation use a command prefix? In installed
229 .\" pages, this comparison will not look like it needs to be dynamically
232 .\" This is done so that the box sizes (in the pic(1) diagram) and arrow
233 .\" alignments (in the text alternative) can remain fixed.
235 In the diagrams below,
236 the traditional names for
242 the GNU versions are installed as
254 box invisible width 0.5 height 0.4 "input" "file";
255 move to last box .bottom;
258 box invisible width 0.8 height 0.2 "preprocessor";
259 move to last box .right
262 A: box invisible width 0.35 height 0.2 "troff";
263 move to last box .top;
266 box invisible width 0.6 height 0.4 "sourced" "file";
267 line <- up 0.3 from A.top;
271 box invisible width 0.85 height 0.2 "postprocessor";
272 move to last box .bottom;
275 box invisible width 0.5 height 0.4 "output" "file"
286 preprocessor \[an]\[->] troff \[an]\[->] postprocessor
311 If a file to be sourced should also be preprocessed,
312 it must already be read
314 the input file passes through the preprocessor.
329 box invisible width 0.5 height 0.4 "input" "file";
330 move to last box .bottom;
333 A: box invisible width 0.5 height 0.2 "soelim";
335 box invisible width 0.5 height 0.4 "sourced" "file";
339 box invisible width 0.8 height 0.2 "preprocessor";
341 box invisible width 0.35 height 0.2 "troff";
343 box invisible width 0.85 height 0.2 "postprocessor";
344 move to last box .bottom;
347 box invisible width 0.5 height 0.4 "output" "file"
358 soelim \[an]\[->] preprocessor \[an]\[->] troff \[an]\[->] \
368 .\" ====================================================================
370 .\" ====================================================================
373 displays a usage message,
378 show version information;
384 Recognize an input line starting with
386 even if a character other than a space or newline follows.
398 may be specified more than once;
401 is searched in the given order.
403 To search the current working directory before others,
405 .RB \[lq] "\-I .\&" \[rq]
406 at the desired place;
407 it is otherwise searched last.
412 Write files \[lq]raw\[rq];
420 Emit \*[tx] comment lines starting with
422 indicating the current file and line number,
425 requests for the same purpose.
434 the last one specified controls.
437 .\" ====================================================================
439 .\" ====================================================================
447 .\" Restore compatibility mode (for, e.g., Solaris 10/11).
448 .cp \n[*groff_soelim_1_man_C]
449 .do rr *groff_soelim_1_man_C
456 .\" vim: set filetype=groff textwidth=72: