aboutsummaryrefslogtreecommitdiff
path: root/toc/toc.tmac
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2021-06-23 12:02:47 +0200
committerJohn Ankarström <john@ankarstrom.se>2021-06-23 12:22:30 +0200
commit6711a42d6175984a029e7af7a4886ed44c998e4c (patch)
tree503e5f24c8845184b165126035674808cb703baf /toc/toc.tmac
parent4f8e74e9d2183e894dddad9995616d474dc1e07a (diff)
downloadmk-6711a42d6175984a029e7af7a4886ed44c998e4c.tar.gz
toc: Add (toc) prefix to .te output
The original troff cannot disable error output. This patch disambiguates .te's output from troff's normal errors. The (toc) prefix is removed by sed in the toc script.
Diffstat (limited to 'toc/toc.tmac')
-rw-r--r--toc/toc.tmac2
1 files changed, 1 insertions, 1 deletions
diff --git a/toc/toc.tmac b/toc/toc.tmac
index 143994e..8431e06 100644
--- a/toc/toc.tmac
+++ b/toc/toc.tmac
@@ -15,7 +15,7 @@
.
.\" te -- collect line
.de te
-. if \n(te=1 .tm \$*
+. if \n(te=1 .tm (toc)\$*
..
.
.ec