aboutsummaryrefslogtreecommitdiff
path: root/man/man1/deroff.1
diff options
context:
space:
mode:
authorRuss Cox <rsc@swtch.com>2020-08-13 23:41:59 -0400
committerRuss Cox <rsc@swtch.com>2020-08-13 23:43:43 -0400
commit977b25a76ae8263e53fb4eb1abfc395769f23e3d (patch)
treeb04cc1be9205fd85f588e9434642e8aed8a8a4fd /man/man1/deroff.1
parenta1c4307800c7f1ef9c5d71ba4c6c3642837e2877 (diff)
downloadplan9port-977b25a76ae8263e53fb4eb1abfc395769f23e3d.tar.gz
plan9port-977b25a76ae8263e53fb4eb1abfc395769f23e3d.tar.bz2
plan9port-977b25a76ae8263e53fb4eb1abfc395769f23e3d.zip
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.
Diffstat (limited to 'man/man1/deroff.1')
-rw-r--r--man/man1/deroff.116
1 files changed, 8 insertions, 8 deletions
diff --git a/man/man1/deroff.1 b/man/man1/deroff.1
index 9d159f9e..90fba52d 100644
--- a/man/man1/deroff.1
+++ b/man/man1/deroff.1
@@ -16,13 +16,13 @@ reads each file in sequence
and removes all
.I nroff
and
-.IR troff (1)
+.IM troff (1)
requests and non-text arguments, backslash constructions,
and constructs of preprocessors such as
-.IR eqn (1),
-.IR pic (1),
+.IM eqn (1) ,
+.IM pic (1) ,
and
-.IR tbl (1).
+.IM tbl (1) .
Remaining text is written on the standard output.
.I Deroff
follows files included by
@@ -67,7 +67,7 @@ requests.
Remove titles, attachments, etc., as well as ordinary
.IR troff
constructs, from
-.IR ms (7)
+.IM ms (7)
or
.I mm
documents.
@@ -84,7 +84,7 @@ does for
and
.I latex
(see
-.IR tex (1))
+.IM tex (1) )
files what
.B deroff -wi
does for
@@ -96,8 +96,8 @@ files.
.B \*9/src/cmd/delatex.lx
.SH "SEE ALSO"
.IR troff (1),
-.IR tex (1),
-.IR spell (1)
+.IM tex (1) ,
+.IM spell (1)
.SH BUGS
These filters are not complete interpreters of
.I troff