From c80c11c2e2d984a0f313f8a23ea979b73b24f98e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Wed, 23 Jun 2021 21:42:34 +0200 Subject: README.t: Reflect new toc behavior --- README.pdf | Bin 91600 -> 91181 bytes README.t | 23 ++++------------------- 2 files changed, 4 insertions(+), 19 deletions(-) diff --git a/README.pdf b/README.pdf index 1810564..c373b6b 100644 Binary files a/README.pdf and b/README.pdf 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.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 -- cgit v1.2.3