aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mdoc.7
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-10-26 04:09:45 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-10-26 04:09:45 +0000
commitbf91378aa0490e0917301c7a0525831c1ffcc6b0 (patch)
treee8b11962f7e13765ec8428c9657488d47bda1469 /mdoc.7
parenta431e0577bc752f93c6b97e47de59c843d59bd96 (diff)
downloadmandoc-bf91378aa0490e0917301c7a0525831c1ffcc6b0.tar.gz
mandoc-bf91378aa0490e0917301c7a0525831c1ffcc6b0.tar.zst
mandoc-bf91378aa0490e0917301c7a0525831c1ffcc6b0.zip
Full `%U' support.
`Lk' display fixed. Renamed arg2xxxx as a2xxxx for consistency. Renamed print_foot to print_man_foot for consistency. Removed default printing of `~' when `Lk' not provided (not sure where I got that from).
Diffstat (limited to 'mdoc.7')
-rw-r--r--mdoc.719
1 files changed, 16 insertions, 3 deletions
diff --git a/mdoc.7 b/mdoc.7
index 47410dc5..c0de1e0a 100644
--- a/mdoc.7
+++ b/mdoc.7
@@ -1,4 +1,4 @@
-.\" $Id: mdoc.7,v 1.69 2009/10/24 05:52:13 kristaps Exp $
+.\" $Id: mdoc.7,v 1.70 2009/10/26 04:09:45 kristaps Exp $
.\"
.\" Copyright (c) 2009 Kristaps Dzonsons <kristaps@kth.se>
.\"
@@ -14,7 +14,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: October 24 2009 $
+.Dd $Mdocdate: October 26 2009 $
.Dt MDOC 7
.Os
.
@@ -759,7 +759,7 @@ block. This macro may also be used in a non-bibliographical context
when referring to article titles.
.
.Ss \&%U
-URI of current document.
+URI of reference document.
.
.Ss \&%V
Volume number of an
@@ -1451,6 +1451,19 @@ and
.Ss \&Lb
.Ss \&Li
.Ss \&Lk
+Format a hyperlink. The calling syntax is as follows:
+.Pp
+.D1 \. Ns Sx \&Lk Cm uri Op Cm name
+.Pp
+Examples:
+.Bd -literal -offset indent
+\&.Lk http://bsd.lv "The BSD.lv Project"
+\&.Lk http://bsd.lv
+.Ed
+.Pp
+See also
+.Sx \&Mt .
+.
.Ss \&Lp
.Ss \&Ms
.Ss \&Mt