summaryrefslogtreecommitdiff
path: root/tmac/groff_mdoc.man
diff options
context:
space:
mode:
authorwl <wl>2009-10-26 07:51:02 +0000
committerwl <wl>2009-10-26 07:51:02 +0000
commit9a3077537ff25f40e75ca051b434274f6385ba46 (patch)
treefe5fd39971c64047ec208dc7b4e0870109745216 /tmac/groff_mdoc.man
parent1e21b91be301eedfc871c75707c4aeda1470a6ae (diff)
downloadgroff-9a3077537ff25f40e75ca051b434274f6385ba46.tar.gz
Implement `%U' in mdoc for URL references.
* tmac/doc-common (%U): New register. (Rd): Handle `doc-url-count' and `doc-url-name'. * tmac/doc.tmac (doc-url-count, doc-url-name): New registers. (doc-save-global-vars, doc-restore-global-vars, doc-reset-reference, doc-print-reference): Handle `doc-url-count' and `doc-url-name'. (%U): New macro. * NEWS, tmac/groff_mdoc.man: Document `%U' macro.
Diffstat (limited to 'tmac/groff_mdoc.man')
-rw-r--r--tmac/groff_mdoc.man2
1 files changed, 2 insertions, 0 deletions
diff --git a/tmac/groff_mdoc.man b/tmac/groff_mdoc.man
index e217a5b8..174030b8 100644
--- a/tmac/groff_mdoc.man
+++ b/tmac/groff_mdoc.man
@@ -2556,6 +2556,8 @@ Corporate or foreign author.
Report name.
.It Li .%T
Title of article.
+.It Li .%U
+Optional hypertext reference.
.It Li .%V
Volume.
.El