aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2021-06-23 21:42:34 +0200
committerJohn Ankarström <john@ankarstrom.se>2021-06-23 21:42:34 +0200
commitc80c11c2e2d984a0f313f8a23ea979b73b24f98e (patch)
tree60346e1a559037fbd7c6932279d686d8fb95dda2
parent3cadfe3a5d1580e70ca2f4321a64f6a399e78b06 (diff)
downloadmk-c80c11c2e2d984a0f313f8a23ea979b73b24f98e.tar.gz
README.t: Reflect new toc behavior
-rw-r--r--README.pdfbin91600 -> 91181 bytes
-rw-r--r--README.t23
2 files changed, 4 insertions, 19 deletions
diff --git a/README.pdf b/README.pdf
index 1810564..c373b6b 100644
--- a/README.pdf
+++ b/README.pdf
Binary files differ
diff --git a/README.t b/README.t
index 2d61d15..fef5c88 100644
--- a/README.t
+++ b/README.t
@@ -647,10 +647,6 @@ macros
a script that invokes troff in three passes
in order to allow a table of contents to be generated
.n
-.i gtoc ,
-an alias of
-.i toc
-that invokes groff instead of troff
.p
Use
.c te
@@ -693,14 +689,11 @@ Wherever you want the table of contents to be inserted,
you may simply invoke
.c to .
.p
-Just remember to run
-.c toc /\c
-.c gtoc
-instead of
-.c troff /\c
-.c groff :
+Just remember to use
+.c toc
+to run your processing pipeline:
.l
-gtoc -Tps example.t > example.ps
+<example.t toc refer \\| troff -Tps >example.ps
.p
Thanks to the multiple passes performed by
.i toc ,
@@ -709,14 +702,6 @@ can be invoked at any place in the document,
including the beginning.
The macros listed above are the ones used to generate
the table of contents of this document.
-.p
-Note that you can invoke a custom program instead of troff
-by setting the
-.i TROFF
-environment variable.
-This may be useful if you need to combine
-.i toc
-with certain troff post-pocessors.
.
.se How do I create a reference to a later page?
.p