summaryrefslogtreecommitdiffstats
path: root/mandoc.1
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-03-21 13:09:29 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-03-21 13:09:29 +0000
commitd4084afea5b60ca8b2d5f4e09e97c52c8330a55f (patch)
treeb902c7b99b4008cf2a68fbed3ae2e04775161b24 /mandoc.1
parent86bb8c0e30ab857dae5be0086e8c7cd444afd2af (diff)
downloadmandoc-d4084afea5b60ca8b2d5f4e09e97c52c8330a55f.tar.gz
`Em' accepts empty tokens.
Punctuation fully fixed (per-reserved-word). Sm enabled.
Diffstat (limited to 'mandoc.1')
-rw-r--r--mandoc.143
1 files changed, 39 insertions, 4 deletions
diff --git a/mandoc.1 b/mandoc.1
index d6a44002..4b4d8740 100644
--- a/mandoc.1
+++ b/mandoc.1
@@ -88,6 +88,45 @@ were provided.
.Pp
.Ex -std mandoc
.\" SUB-SECTION
+.Ss Reserved Words
+The reserved words described in
+.Xr mdoc 7
+are handled according to the following rules:
+.Bl -enum -offset XXX
+.It
+Opening delimiters
+.Po
+.Sq \&( ,
+.Sq \&[ ,
+and
+.Sq \&{
+.Pc are not followed by whitespace.
+.It
+Closing delimiters
+.Po
+.Sq \&. ,
+.Sq \&, ,
+.Sq \&; ,
+.Sq \&: ,
+.Sq \&? ,
+.Sq \&! ,
+.Sq \&) ,
+.Sq \&]
+and
+.Sq \&}
+.Pc are not preceeded by whitespace.
+.El
+.\" PARAGRAPH
+.Pp
+Note that reserved words may occur in streams of text, so the following:
+.Bd -literal -offset XXXX
+this self is not that of the waking , empirically real man
+.Ed
+.\" PARAGRAPH
+.Pp
+\&...correctly adjusts the comma spacing to
+.Qq this self is not that of the waking , empirically real man .
+.\" SUB-SECTION
.Ss Output Formats
The
.Nm
@@ -160,10 +199,6 @@ displays types are synonyms, as are \-filled and \-ragged.
The
.Sq \&Xo/Xc
pair isn't supported.
-.It
-The
-.Sq \&Sm
-macro has no effect, yet.
.El
.Pp
Other macros still aren't supported by virtue of nobody complaining