aboutsummaryrefslogtreecommitdiff
path: root/README.t
diff options
context:
space:
mode:
Diffstat (limited to 'README.t')
-rw-r--r--README.t16
1 files changed, 13 insertions, 3 deletions
diff --git a/README.t b/README.t
index a9ba29d..f040334 100644
--- a/README.t
+++ b/README.t
@@ -4,6 +4,7 @@
.mediasize letter
.fp 0 M DejaVuSansMono ttf
.
+.\" configure table of contents
.eo
.de he
. bp
@@ -23,10 +24,17 @@
. br
. sp -1
\$*
+. if '\$1 \$2 \$3'How do I' \{\
+. nr hdi +1
+. if \n[hdi]>1 \{\
+. shift 3
+. te .the \na \n% \\h'36p'"\\h'20.4p'\$*
+. return
+. \}
+. \}
. te .the \na \n% \\h'18p'\$*
..
.
-.\" the -- toc entry
.de the
. nr _a \$1
. nr _p \$2
@@ -696,12 +704,14 @@ Use
to register a line to be inserted into the table of contents.
Use
.c to
-to insert the table of contents.
+to insert the lines registered by
+.c te
+into the document.
Note that the argument given to
.c te
will be interpreted as a troff input line.
.p
-The following definitions provide a good basis:
+The following definitions provide a good starting point:
.l
\&.eo
\&.de he