[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug#337787: .MTO produces email addresses with stray whitespace
From: |
Werner LEMBERG |
Subject: |
Re: Bug#337787: .MTO produces email addresses with stray whitespace |
Date: |
Thu, 25 Feb 2010 21:11:53 +0100 (CET) |
>> Also, these brackets are special UTF-8 chars and cannot be simply
>> C&Ped into a mail program.
>
> I never understood why www.tmac's defaults were this way. It just
> does not make sense to delimit Internet e-mail addresses using
> characters other than those specified by RFC822 and successors to
> enclose mailbox addresses. Why don't we just use < and > here
> rather than \[la] and \[ra]?
Well, it happens that I like it that way, coming from TeX where you
have angle brackets which look very nice.
> The same style is used for .URL and .IMG too, so the choice would be
> between changing all of them and separating out the styles. To be
> honest I don't think it would be all that bad to just use ASCII <>
> for everything; they don't seem particularly less typographically
> sound than the Unicode MATHEMATICAL LEFT ANGLE BRACKET and
> MATHEMATICAL RIGHT ANGLE BRACKET characters we're using right now.
What about this patch:
--- www.tmac.old 2010-02-08 17:20:37.000000000 +0100
+++ www.tmac 2010-02-25 21:11:15.000000000 +0100
@@ -1599,7 +1599,16 @@
.\" final setup
.\" --------------------------------------------------------------------
.
-.LINKSTYLE blue C \[la] \[ra]
+.\" only DVI output has nice angle brackets and a not too wide
+.\" fixed-width font which harmonize well
+.ie '\*[.T]'dvi' \
+. LINKSTYLE blue C \[la] \[ra]
+.el \{\
+. ie n \
+. LINKSTYLE blue C < >
+. el \
+. LINKSTYLE blue R \[la] \[ra]
+.\}
.
.if \n[www-html] \{\
. nh
Werner