summaryrefslogtreecommitdiff
path: root/tmac/an-old.tmac
diff options
context:
space:
mode:
authorwl <wl>2009-01-02 23:16:18 +0000
committerwl <wl>2009-01-02 23:16:18 +0000
commitbebccb21d150fbb531023ed14ddf80217ce6bc6c (patch)
tree0b5e6fad186881075c9d4561099567d7c9e9e8b2 /tmac/an-old.tmac
parent700bd754b7551cc6828b81b6c1a15279e55c1e9d (diff)
downloadgroff-bebccb21d150fbb531023ed14ddf80217ce6bc6c.tar.gz
* tmac/an-old.tmac, tmac/doc.tmac: For -Tutf8, map \-, -, ', and `
conservatively to ASCII for the sake of easy cut and paste.
Diffstat (limited to 'tmac/an-old.tmac')
-rw-r--r--tmac/an-old.tmac14
1 files changed, 13 insertions, 1 deletions
diff --git a/tmac/an-old.tmac b/tmac/an-old.tmac
index ede5bb20..7c41485f 100644
--- a/tmac/an-old.tmac
+++ b/tmac/an-old.tmac
@@ -1,7 +1,7 @@
.\" an-old.tmac
.\"
.\" Copyright (C) 1989, 1990, 1991, 1992, 2001, 2002, 2003, 2004, 2005,
-.\" 2007, 2008
+.\" 2007, 2008, 2009
.\" Free Software Foundation, Inc.
.\" Written by James Clark (jjc@jclark.com)
.\"
@@ -649,6 +649,18 @@
. hy \n[HY]
.\}
.
+.\" For UTF-8, map some characters conservatively for the sake
+.\" of easy cut and paste.
+.
+.if '\*[.T]'utf8' \{\
+. rchar \- - ' `
+.
+. char \- \N'45'
+. char - \N'45'
+. char ' \N'39'
+. char ` \N'96'
+.\}
+.
.\" Load man macro extensions.
.mso an-ext.tmac
.