summaryrefslogtreecommitdiffstatshomepage
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
commit4b515cc1c732973fff47667ddd244dfb1d18d4ca (patch)
tree673f8debb1dae6ee806117d3b1335495057f502d /mandoc.1
parent577cad2e4ebeb9c39fdbcd98f6fd5cc1ad59eb3b (diff)
downloadmandoc-4b515cc1c732973fff47667ddd244dfb1d18d4ca.tar.gz
mandoc-4b515cc1c732973fff47667ddd244dfb1d18d4ca.tar.zst
mandoc-4b515cc1c732973fff47667ddd244dfb1d18d4ca.zip
`Em' accepts empty tokens.
Punctuation fully fixed (per-reserved-word). Sm enabled.
Diffstat (limited to 'mandoc.1')
-rw-r--r--mandoc.147
1 files changed, 41 insertions, 6 deletions
diff --git a/mandoc.1 b/mandoc.1
index 6a188325..0fec9b82 100644
--- a/mandoc.1
+++ b/mandoc.1
@@ -1,4 +1,4 @@
-.\" $Id: mandoc.1,v 1.3 2009/03/20 15:14:01 kristaps Exp $
+.\" $Id: mandoc.1,v 1.4 2009/03/21 13:09:29 kristaps Exp $
.\"
.\" Copyright (c) 2009 Kristaps Dzonsons <kristaps@openbsd.org>
.\"
@@ -16,7 +16,7 @@
.\" TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
.\" PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: March 20 2009 $
+.Dd $Mdocdate: March 21 2009 $
.Dt mandoc 1
.Os
.\" SECTION
@@ -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