summaryrefslogtreecommitdiff
path: root/tmac/an-ext.tmac
diff options
context:
space:
mode:
authorWerner LEMBERG <wl@gnu.org>2007-01-22 07:52:19 +0000
committerWerner LEMBERG <wl@gnu.org>2007-01-22 07:52:19 +0000
commit8ca267dc320deef522430c097daffa3e1260fa79 (patch)
tree820740aa89592d94be72a91f529b5b2d52f22852 /tmac/an-ext.tmac
parent33a4fdd678181958c17112f31cdc3a7d926a7b34 (diff)
downloadgroff-git-8ca267dc320deef522430c097daffa3e1260fa79.tar.gz
* tmac/an-ext.tmac: Protect against being sourced twice.
(URL, EE): Use always two backslashes. (MTO): New macro.
Diffstat (limited to 'tmac/an-ext.tmac')
-rw-r--r--tmac/an-ext.tmac28
1 files changed, 23 insertions, 5 deletions
diff --git a/tmac/an-ext.tmac b/tmac/an-ext.tmac
index b3a764535..c126a20a0 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
..
.