summaryrefslogtreecommitdiff
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
parent38e28d03847abd182bcff0bac874de930c14e79d (diff)
downloadgroff-4fad3d713673778e99bc3740db5328cc66c4154f.tar.gz
Formatting, copyright year, minor fixes.
-rw-r--r--ChangeLog6
-rw-r--r--src/devices/grops/grops.man7
-rw-r--r--tmac/groff_www.man3
-rw-r--r--tmac/www.tmac10
4 files changed, 14 insertions, 12 deletions
diff --git a/ChangeLog b/ChangeLog
index 33f46ef2..cfda1f8d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,8 +1,8 @@
2006-01-15 Gaius Mulley <gaius@glam.ac.uk>
- * tmac/www.tmac: New macro LINKSTYLE which allows users
- to set various typographical url attributes for non HTML
- devices.
+ * tmac/www.tmac: New macro LINKSTYLE which allows users to set
+ various typographical URL attributes for non-HTML devices.
+
* tmac/groff_www.man: Document LINKSTYLE.
2006-01-11 Werner LEMBERG <wl@gnu.org>
diff --git a/src/devices/grops/grops.man b/src/devices/grops/grops.man
index 0ff2579d..117a0b60 100644
--- a/src/devices/grops/grops.man
+++ b/src/devices/grops/grops.man
@@ -1,5 +1,5 @@
.ig
-Copyright (C) 1989-2000, 2001, 2002, 2003, 2004, 2005
+Copyright (C) 1989-2000, 2001, 2002, 2003, 2004, 2005, 2006
Free Software Foundation, Inc.
Permission is granted to make and distribute verbatim copies of
@@ -1050,14 +1050,13 @@ groff -P-b16 foo > foo.ps
gs -dNOPAUSE -sDEVICE=bbox -- foo.ps 2> foo.bbox
.br
.B
-cat foo.ps | sed \-e '/%%Orientation/rfoo.bbx' > foo.eps
+cat foo.ps | sed \-e '/^%%Orientation/rfoo.bbox' > foo.eps
.br
.B
-rm foo.bbx
+rm foo.bbox
.br
.
.
-.
.SS TrueType fonts
TrueType fonts can be used with
.B grops
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) \