summaryrefslogtreecommitdiff
path: root/tmac
diff options
context:
space:
mode:
authorwl <wl>2005-08-09 18:02:48 +0000
committerwl <wl>2005-08-09 18:02:48 +0000
commit8367ab7cbb3cdfb1148f8bb764ab84d88cfde471 (patch)
treeb69d4afdd7398e45edd83a27cd3b6e8d4c79c314 /tmac
parentb8d58cef7fffc764d9f537721531c2afb2ccc70d (diff)
downloadgroff-8367ab7cbb3cdfb1148f8bb764ab84d88cfde471.tar.gz
* tmac/www.tmac (URL, MTO): Use bold series if color support is
deactivated.
Diffstat (limited to 'tmac')
-rw-r--r--tmac/www.tmac32
1 files changed, 24 insertions, 8 deletions
diff --git a/tmac/www.tmac b/tmac/www.tmac
index bfb22de0..4ba75c3c 100644
--- a/tmac/www.tmac
+++ b/tmac/www.tmac
@@ -338,10 +338,18 @@ www functionality. It should work with any macro set.
. \}
. el \{\
. if !r ps4html .ad l
-. ie '\\$2'' \
-. nop \%\[la]\m[blue]\f[C]\\*[\\$0:adr]\f[]\m[]\[ra]\\$3
-. el \
-. nop \m[blue]\\$2\m[] \%\[la]\f[C]\\*[\\$0:adr]\f[]\[ra]\\$3
+. ie '\\$2'' \{\
+. ie \\n[.color] \
+. nop \%\[la]\m[blue]\f[C]\\*[\\$0:adr]\f[]\m[]\[ra]\\$3
+. el \
+. nop \%\[la]\f[CB]\\*[\\$0:adr]\f[]\[ra]\\$3
+. \}
+. el \{\
+. ie \\n[.color] \
+. nop \m[blue]\\$2\m[] \%\[la]\f[C]\\*[\\$0:adr]\f[]\[ra]\\$3
+. el \
+. nop \f[B]\\$2\f[] \%\[la]\f[C]\\*[\\$0:adr]\f[]\[ra]\\$3
+. \}
. if !r ps4html .ad
. \}
. rm \\$0:adr
@@ -376,10 +384,18 @@ www functionality. It should work with any macro set.
. URL mailto:\\$1 "\\$2" "\\$3"
. \}
. el \{\
-. ie '\\$2'' \
-. nop \%\m[blue]\f[C]\\$1\f[]\m[]\\$3
-. el \
-. nop \m[blue]\\$2\m[] \%\[la]\f[C]\\$1\f[]\[ra]\\$3
+. ie '\\$2'' \{\
+. ie \\n[.color] \
+. nop \%\m[blue]\f[C]\\$1\f[]\m[]\\$3
+. el \
+. nop \%\f[CB]\\$1\f[]\\$3
+. \}
+. el \{\
+. ie \\n[.color] \
+. nop \m[blue]\\$2\m[] \%\[la]\f[C]\\$1\f[]\[ra]\\$3
+. el
+. nop \f[B]\\$2\f[] \%\[la]\f[C]\\$1\f[]\[ra]\\$3
+. \}
. \}
..
.\" --------------------------------------------------------------------