Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/tmac Improve .An support: recognize -nosplit.
details: https://anonhg.NetBSD.org/src/rev/c6ad2c3f1bc5
branches: trunk
changeset: 581957:c6ad2c3f1bc5
user: wiz <wiz%NetBSD.org@localhost>
date: Sat Jun 11 23:46:57 2005 +0000
description:
Improve .An support: recognize -nosplit.
diffstat:
share/tmac/doc2html | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
diffs (32 lines):
diff -r 37b7a0b8a289 -r c6ad2c3f1bc5 share/tmac/doc2html
--- a/share/tmac/doc2html Sat Jun 11 22:59:05 2005 +0000
+++ b/share/tmac/doc2html Sat Jun 11 23:46:57 2005 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: doc2html,v 1.48 2005/02/07 01:23:02 wiz Exp $
+.\" $NetBSD: doc2html,v 1.49 2005/06/11 23:46:57 wiz Exp $
.\"
.\" Copyright (c) 1998, 1999 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -175,6 +175,9 @@
.ds close-mode
.ds open-mode
.ds doc-anchor
+.\" default EOL after .An
+.\" can be changed with .An -nosplit
+.ds an-eol <br>
.ds Nm-save
.ds T " x
.ds tN <font\ size="-1">
@@ -776,7 +779,12 @@
AT&T UNIX\\$*
..
.de An
+. if '\\$1'-nosplit' \{\
+. ds an-eol
+. shift
+. \}
. recurse \\$@
+. as doc-pcresult \\*[an-eol]
. pc-fin
..
.de Lk
Home |
Main Index |
Thread Index |
Old Index