summaryrefslogtreecommitdiff
path: root/tmac
diff options
context:
space:
mode:
authorwl <wl>2006-01-18 08:24:40 +0000
committerwl <wl>2006-01-18 08:24:40 +0000
commit4fad3d713673778e99bc3740db5328cc66c4154f (patch)
tree8d2d578a1b5f80ef5dbd41db9b70ca115745f30f /tmac
parent38e28d03847abd182bcff0bac874de930c14e79d (diff)
downloadgroff-4fad3d713673778e99bc3740db5328cc66c4154f.tar.gz
Formatting, copyright year, minor fixes.
Diffstat (limited to 'tmac')
-rw-r--r--tmac/groff_www.man3
-rw-r--r--tmac/www.tmac10
2 files changed, 8 insertions, 5 deletions
diff --git a/tmac/groff_www.man b/tmac/groff_www.man
index 2e5cb9f8..b26db402 100644
--- a/tmac/groff_www.man
+++ b/tmac/groff_www.man
@@ -515,7 +515,7 @@ This should be called at the end of the document if .ALN was used.
.
.TP
.B ".LINKSTYLE color [ fontstyle [ openglyph closeglyph ] ]"
-Initialize default url attributes to be used when this macro set is not used
+Initialize default url attributes to be used if this macro set is not used
with the HTML device.
The macro set initializes itself with the following call
.RS
@@ -526,6 +526,7 @@ The macro set initializes itself with the following call
.ft P
.fi
.RE
+.IP
but these values will be superseded by a user call to LINKSTYLE.
.
.SH SECTION HEADING LINKS
diff --git a/tmac/www.tmac b/tmac/www.tmac
index 93aa66a8..b4621758 100644
--- a/tmac/www.tmac
+++ b/tmac/www.tmac
@@ -10,7 +10,8 @@ Installed position: groff's main macro directory.
This file is part of groff, the GNU roff type-setting system.
-Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
+Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006
+ Free Software Foundation, Inc.
written by Gaius Mulley <gaius@glam.ac.uk>, with additions by
Werner Lemberg <wl@gnu.org> and Bernd Warken <bwarken@mayn.de>.
@@ -1325,10 +1326,10 @@ www functionality. It should work with any macro set.
..
.
.\" --------------------------------------------------------------------
-.\" LINKSTYLE color [ fontstyle [ openglyph closeglyph ] ]
+.\" LINKSTYLE color [fontstyle [openglyph closeglyph]]
.\"
.\" Initializes www.tmac so that when this macro set is used with
-.\" non html devices the urls are rendered the user defined attributes.
+.\" non-HTML devices the urls are rendered the user defined attributes.
.\" For example:
.\"
.\" LINKSTYLE blue CR < >
@@ -1338,7 +1339,8 @@ www functionality. It should work with any macro set.
. www:error .\\$0 expects at least 1 argument.
. ds www:color \\$1
. shift
-. if (\\n[.$] < 1) .return
+. if (\\n[.$] < 1) \
+. return
. ds www:fontstyle \\$1
. shift
. if (\\n[.$] < 1) \