aboutsummaryrefslogtreecommitdiff
path: root/README.t
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2021-06-28 19:00:02 +0200
committerJohn Ankarström <john@ankarstrom.se>2021-06-28 19:00:02 +0200
commitcb9b9ac3de7c47b303398dcf6458aa443caf349c (patch)
tree10681ce26a4de9699b754c655fc896c02bf6fa30 /README.t
parent6e603db0d71a49b499313eca7bb7d8e7ef9c492e (diff)
downloadmk-cb9b9ac3de7c47b303398dcf6458aa443caf349c.tar.gz
README.t: Document 'list' utility
Diffstat (limited to 'README.t')
-rw-r--r--README.t28
1 files changed, 28 insertions, 0 deletions
diff --git a/README.t b/README.t
index f49637a..3c6c2be 100644
--- a/README.t
+++ b/README.t
@@ -834,3 +834,31 @@ See page \n[&refname].
.l)
.p
(I prefer prefixing my references with an ampersand.)
+.
+.se How do I include source code without needing to escape it?
+.p
+The
+.i µ
+distribution includes a troff preprocessor called
+.i list ,
+which filters text delimited by
+.c .l(
+and
+.c .l) ,
+escaping standard troff syntax.
+.p
+To automatically add a
+.c .l
+request before each listing, set the
+.i -p
+(prefix) flag accordingly:
+.l(
+list -p.l
+.l)
+.p
+To transparently pass an input line to troff,
+prefix it with
+.c \\\\! .
+(To disable this behavior, use the
+.i -E
+flag.)