plan9port/man/man1/soelim.1
Russ Cox 977b25a76a tmac: introduce real manual reference macro instead of overloading IR
The overloading of IR emits magic \X'...' sequences that turn into HTML manual links.
But not all such IR invocations should be manual links;
those had to be written to avoid the IR macro before.
Worse, the \X'...' ending the IR causes troff to emit only a single space after a period.

Defining a new IM macro for manual references fixes both problems.

Fixes #441.
2020-08-13 23:43:43 -04:00

29 lines
697 B
Groff
Executable file

.TH SOELIM 1
.\" .so in the NAME line confuses the ptx machinery; sorry
.SH NAME
soelim \- preprocess so inclusion commands in troff input
.SH SYNOPSIS
.B soelim
[
.I files ...
]
.SH DESCRIPTION
.I Soelim
reads the specified files or the standard input and performs
the textual inclusion implied by
.IM troff (1)
directives of the form
.TP
.B "\&.so some_file
.PP
when they appear at the beginning of input lines. This is useful when
using programs such as
.IM tbl (1)
that do not normally do this, allowing
placement of individual tables or other text objects in separate files
to be run as a part of a large document.
.SH SOURCE
.B \*9/bin/soelim
.SH "SEE ALSO"
.IM deroff (1) ,
.IM troff (1)