Module Name:    src
Committed By:   uwe
Date:           Thu Nov 28 19:59:48 UTC 2019

Modified Files:
        src/distrib/notes/common: macros

Log Message:
Don't emit page numbers in TOC for HTML, they are meaningless.


To generate a diff of this commit:
cvs rdiff -u -r1.50 -r1.51 src/distrib/notes/common/macros

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/distrib/notes/common/macros
diff -u src/distrib/notes/common/macros:1.50 src/distrib/notes/common/macros:1.51
--- src/distrib/notes/common/macros:1.50	Thu Nov 28 19:53:04 2019
+++ src/distrib/notes/common/macros	Thu Nov 28 19:59:48 2019
@@ -1,4 +1,4 @@
-.\"	$NetBSD: macros,v 1.50 2019/11/28 19:53:04 uwe Exp $
+.\"	$NetBSD: macros,v 1.51 2019/11/28 19:59:48 uwe Exp $
 .\"
 .\" Copyright (c) 1999-2004 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -343,8 +343,8 @@
 .if dTOC .mktoc \\n[To-toc-level] \\$@
 ..
 .de Ti
-.ie rHTML \{.ta (\n(.lu+\w'<a href="#\\$3"></a>'u)R
-\h'3n*\\$1u' <a href="#\\$3">\\$3</a>\a\\$2
+.ie rHTML \{\
+\h'3n*\\$1u' <a href="#\\$3">\\$3</a>
 .\}
 .el \h'3n*\\$1u' \\$3\a\\$2
 ..

Reply via email to