aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/man.7
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-12-28 15:23:33 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-12-28 15:23:33 +0000
commitf2bf5036897e1d0088721388e2ec0801bebfa074 (patch)
tree90c0c2e1b85dce0046f1fdc53e738b30d07f2a77 /man.7
parent6d601f57d01308c8dcd7d348a05eaf33f9f1b9ce (diff)
downloadmandoc-f2bf5036897e1d0088721388e2ec0801bebfa074.tar.gz
mandoc-f2bf5036897e1d0088721388e2ec0801bebfa074.tar.zst
mandoc-f2bf5036897e1d0088721388e2ec0801bebfa074.zip
Improve documentation of the header/footer macros .Dt, .Os, .TH:
* State the defaults for .Os and the fourth .TH argument. * Sync the section titles, and stop advertising obscure sections that aren't actually fully supported and certainly not recommended for use.
Diffstat (limited to 'man.7')
-rw-r--r--man.712
1 files changed, 9 insertions, 3 deletions
diff --git a/man.7 b/man.7
index 4b64d7f4..5cccd328 100644
--- a/man.7
+++ b/man.7
@@ -1,4 +1,4 @@
-.\" $Id: man.7,v 1.127 2014/06/22 16:39:45 schwarze Exp $
+.\" $Id: man.7,v 1.128 2014/12/28 15:23:33 schwarze Exp $
.\"
.\" Copyright (c) 2009, 2010, 2011, 2012 Kristaps Dzonsons <kristaps@bsd.lv>
.\" Copyright (c) 2011, 2012, 2013 Ingo Schwarze <schwarze@openbsd.org>
@@ -16,7 +16,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: June 22 2014 $
+.Dd $Mdocdate: December 28 2014 $
.Dt MAN 7
.Os
.Sh NAME
@@ -607,7 +607,8 @@ The scope of a sub-section is closed by a subsequent sub-section,
section, or end of file.
The paragraph left-margin width is reset to the default.
.Ss \&TH
-Sets the title of the manual page with the following syntax:
+Sets the title of the manual page for use in the page header
+and footer with the following syntax:
.Bd -filled -offset indent
.Pf \. Sx \&TH
.Ar title section date
@@ -629,6 +630,11 @@ is empty or not specified, the current date is used.
The optional
.Ar source
string specifies the organisation providing the utility.
+When unspecified,
+.Xr mandoc 1
+uses its
+.Fl Ios
+argument.
The
.Ar volume
string replaces the default rendered volume, which is dictated by the