From 5f1752fa417f32956827825d4cc4f09941d029b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Thu, 24 Jun 2021 16:17:23 +0200 Subject: README.t: Add minor changes --- README.t | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'README.t') 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 -- cgit v1.2.3