summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-07-19 09:19:22 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-07-19 09:19:22 +0000
commita6b0c68a866e5ab23fcae25d5ef67a8e18cc5e26 (patch)
treee8833ba0c13f0d920e45d729760f2d5efb1c120f
parent01d048af1ebafb504ad8aa9241d189571c5099b4 (diff)
downloadmandoc-a6b0c68a866e5ab23fcae25d5ef67a8e18cc5e26.tar.gz
mandoc-a6b0c68a866e5ab23fcae25d5ef67a8e18cc5e26.tar.zst
mandoc-a6b0c68a866e5ab23fcae25d5ef67a8e18cc5e26.zip
Removed \s documentation, as we (1) never supported it, and (2) never
will. Also whack the dot-separator from the embedded man.7 manual.
-rw-r--r--man.735
-rw-r--r--mdoc.727
2 files changed, 7 insertions, 55 deletions
diff --git a/man.7 b/man.7
index 05f7bf8e..d6f970fe 100644
--- a/man.7
+++ b/man.7
@@ -1,4 +1,4 @@
-.\" $Id: man.7,v 1.75 2010/07/16 10:25:54 kristaps Exp $
+.\" $Id: man.7,v 1.76 2010/07/19 09:19:22 kristaps Exp $
.\"
.\" Copyright (c) 2009 Kristaps Dzonsons <kristaps@bsd.lv>
.\"
@@ -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: July 16 2010 $
+.Dd $Mdocdate: July 19 2010 $
.Dt MAN 7
.Os
.Sh NAME
@@ -106,32 +106,9 @@ Note that macros like
.Sx \&BR
open and close a font scope with each argument.
.Pp
-Text may also be sized with the
-.Sq \es
-escape, whose syntax is one of
-.Sq \es+-n
-for one-digit numerals;
-.Sq \es(+-nn
-or
-.Sq \es+-(nn
-for two-digit numerals; and
-.Sq \es[+-N] ,
-.Sq \es+-[N] ,
-.Sq \es'+-N' ,
-or
-.Sq \es+-'N'
-for arbitrary-digit numerals:
-.Pp
-.D1 \es+1bigger\es-1
-.D1 \es[+10]much bigger\es[-10]
-.D1 \es+(10much bigger\es-(10
-.D1 \es+'100'much much bigger\es-'100'
-.Pp
-Both
-.Sq \es
-and
+The
.Sq \ef
-attributes are forgotten when entering or exiting a macro block.
+attribute is forgotten when entering or exiting a macro block.
.Ss Whitespace
Whitespace consists of the space character.
In free-form lines, whitespace is preserved within a line; un-escaped
@@ -238,18 +215,14 @@ at least one macro or text node must appear in the document.
Documents are generally structured as follows:
.Bd -literal -offset indent
\&.TH FOO 1 2009-10-10
-\&.
\&.SH NAME
\efBfoo\efR \e(en a description goes here
\&.\e\*q The next is for sections 2 & 3 only.
\&.\e\*q .SH LIBRARY
-\&.
\&.SH SYNOPSIS
\efBfoo\efR [\efB\e-options\efR] arguments...
-\&.
\&.SH DESCRIPTION
The \efBfoo\efR utility processes files...
-\&.
\&.\e\*q .SH IMPLEMENTATION NOTES
\&.\e\*q The next is for sections 2, 3, & 9 only.
\&.\e\*q .SH RETURN VALUES
diff --git a/mdoc.7 b/mdoc.7
index 59eee39e..7aa13733 100644
--- a/mdoc.7
+++ b/mdoc.7
@@ -1,4 +1,4 @@
-.\" $Id: mdoc.7,v 1.135 2010/07/16 21:09:39 kristaps Exp $
+.\" $Id: mdoc.7,v 1.136 2010/07/19 09:19:22 kristaps Exp $
.\"
.\" Copyright (c) 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv>
.\" Copyright (c) 2010 Ingo Schwarze <schwarze@openbsd.org>
@@ -15,7 +15,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: July 16 2010 $
+.Dd $Mdocdate: July 19 2010 $
.Dt MDOC 7
.Os
.Sh NAME
@@ -135,28 +135,7 @@ If
is specified outside of any font scope, such as in unenclosed, free-form
text, it will affect the remainder of the document.
.Pp
-Text may also be sized with the
-.Sq \es
-escape, whose syntax is one of
-.Sq \es+-n
-for one-digit numerals;
-.Sq \es(+-nn
-or
-.Sq \es+-(nn
-for two-digit numerals; and
-.Sq \es[+-N] ,
-.Sq \es+-[N] ,
-.Sq \es'+-N' ,
-or
-.Sq \es+-'N'
-for arbitrary-digit numerals:
-.Pp
-.D1 \es+1bigger\es-1
-.D1 \es[+10]much bigger\es[-10]
-.D1 \es+(10much bigger\es-(10
-.D1 \es+'100'much much bigger\es-'100'
-.Pp
-Note these forms are
+Note this form is
.Em not
recommended for
.Nm ,