diff options
author | wl <wl> | 2011-03-04 12:38:22 +0000 |
---|---|---|
committer | wl <wl> | 2011-03-04 12:38:22 +0000 |
commit | 421215b09e3efaf7c76369162bf49ab99181c728 (patch) | |
tree | 25a465aa3652b7bb838800e072d9019f7aeaecce /tmac | |
parent | fb2efb5a392bf2a62dccae2062211938e136dd25 (diff) | |
download | groff-421215b09e3efaf7c76369162bf49ab99181c728.tar.gz |
[mdoc] Within .An, .Aq, .Ao, and .Ac now use `<' and `>'.
Problem reported by Ulrich Spörlein <uqs@spoerlein.net>
* tmac/doc.tmac (Aq, Ao, Ac): Implement it to follow RFC 822 and RFC
2822.
Diffstat (limited to 'tmac')
-rw-r--r-- | tmac/doc.tmac | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/tmac/doc.tmac b/tmac/doc.tmac index 017835e0..c1c32dc2 100644 --- a/tmac/doc.tmac +++ b/tmac/doc.tmac @@ -1197,8 +1197,14 @@ . if !\n[doc-arg-limit] \ . ds doc-macro-name Aq . -. ds doc-quote-left \[la] -. ds doc-quote-right \[ra] +. ie "\*[doc-macro-name]"An" \{\ +. ds doc-quote-left < +. ds doc-quote-right > +. \} +. el \{\ +. ds doc-quote-left \[la] +. ds doc-quote-right \[ra] +. \} . . doc-enclose-string \$@ .. @@ -1527,7 +1533,10 @@ . if !\n[doc-arg-limit] \ . ds doc-macro-name Ao . -. ds doc-quote-left \[la] +. ie "\*[doc-macro-name]"An" \ +. ds doc-quote-left < +. el \ +. ds doc-quote-left \[la] . . doc-enclose-open \$@ .. @@ -1546,7 +1555,10 @@ . if !\n[doc-arg-limit] \ . ds doc-macro-name Ac . -. ds doc-quote-right \[ra] +. ie "\*[doc-macro-name]"An" \ +. ds doc-quote-right > +. el \ +. ds doc-quote-right \[ra] . . doc-enclose-close \$@ .. |