diff options
author | wl <wl> | 2007-01-22 07:52:18 +0000 |
---|---|---|
committer | wl <wl> | 2007-01-22 07:52:18 +0000 |
commit | e2e4e2b07189038307156ff79037e866ab7b4908 (patch) | |
tree | e5b00eef4bf80d38b6859d3d19093a67301c15b1 /tmac | |
parent | cb4a7158246d97d6532b81efaa53f0d9dffab16b (diff) | |
download | groff-e2e4e2b07189038307156ff79037e866ab7b4908.tar.gz |
* tmac/an-ext.tmac: Protect against being sourced twice.
(URL, EE): Use always two backslashes.
(MTO): New macro.
Diffstat (limited to 'tmac')
-rw-r--r-- | tmac/an-ext.tmac | 28 |
1 files changed, 23 insertions, 5 deletions
diff --git a/tmac/an-ext.tmac b/tmac/an-ext.tmac index b3a76453..c126a20a 100644 --- a/tmac/an-ext.tmac +++ b/tmac/an-ext.tmac @@ -3,7 +3,7 @@ .\" Written by Eric S. Raymond <esr@thyrsus.com> .\" Werner Lemberg <wl@gnu.org> .\" -.\" Version 2006-Jan-16 +.\" Version 2006-Jan-22 .\" .\" This file is explicitly placed into the public domain. .\" @@ -17,6 +17,12 @@ .\" used macros directly to the prologue of the man page(s). . . +.\" Protect against being sourced twice. +.nr EX +1 +.if \n(EX>1 \ +. nx +. +. .\" Map mono-width fonts to standard fonts for groff's TTY device .if n \{\ . do ftr CR R @@ -80,10 +86,22 @@ .de URL . nh . ie \\n(.$-1 \ -\\$2 \*(laURL:\\$1\*(ra\" +\\$2 \\*(laURL:\\$1\\*(ra\" +. el \ +\\*(la\\$1\\*(ra\" +. hy \\n(HY +.. +. +. +.\" Email address. +.\" XXX to be modified +.de MTO +. nh +. ie \\n(.$-1 \ +\\$2 \\*(la\\$1\\*(ra\" . el \ -\*(la\\$1\*(ra\" -. hy \n(HY +\\*(la\\$1\\*(ra\" +. hy \\n(HY .. . . @@ -108,7 +126,7 @@ .de EE . ft . fi -. hy \n(HY +. hy \\n(HY . sp 0.5 .. . |