Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/distrib/notes/common Don't emit page numbers in TOC for HTML...



details:   https://anonhg.NetBSD.org/src/rev/eb2e0695773f
branches:  trunk
changeset: 461508:eb2e0695773f
user:      uwe <uwe%NetBSD.org@localhost>
date:      Thu Nov 28 19:59:48 2019 +0000

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

diffstat:

 distrib/notes/common/macros |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r e5a087f188b9 -r eb2e0695773f distrib/notes/common/macros
--- a/distrib/notes/common/macros       Thu Nov 28 19:53:04 2019 +0000
+++ b/distrib/notes/common/macros       Thu Nov 28 19:59:48 2019 +0000
@@ -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
 ..



Home | Main Index | Thread Index | Old Index