diff options
author | John Ankarström <john@ankarstrom.se> | 2021-06-23 21:42:34 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2021-06-23 21:42:34 +0200 |
commit | c80c11c2e2d984a0f313f8a23ea979b73b24f98e (patch) | |
tree | 60346e1a559037fbd7c6932279d686d8fb95dda2 /README.t | |
parent | 3cadfe3a5d1580e70ca2f4321a64f6a399e78b06 (diff) | |
download | mk-c80c11c2e2d984a0f313f8a23ea979b73b24f98e.tar.gz |
README.t: Reflect new toc behavior
Diffstat (limited to 'README.t')
-rw-r--r-- | README.t | 23 |
1 files changed, 4 insertions, 19 deletions
@@ -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 |