aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mandoc.1
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2015-02-07 15:15:20 +0000
committerIngo Schwarze <schwarze@openbsd.org>2015-02-07 15:15:20 +0000
commitebac9369c3dc60420d12f61a60ee5e9c9d55cdd1 (patch)
treeb225b3e160b59c88d64985723cef7705c19353fa /mandoc.1
parent94c329c7b90cd56adb990e8344e2d957c561e240 (diff)
downloadmandoc-ebac9369c3dc60420d12f61a60ee5e9c9d55cdd1.tar.gz
mandoc-ebac9369c3dc60420d12f61a60ee5e9c9d55cdd1.tar.zst
mandoc-ebac9369c3dc60420d12f61a60ee5e9c9d55cdd1.zip
some tweaks to the DIAGNOSTICS section
Diffstat (limited to 'mandoc.1')
-rw-r--r--mandoc.125
1 files changed, 11 insertions, 14 deletions
diff --git a/mandoc.1 b/mandoc.1
index c30c210d..ec5119b0 100644
--- a/mandoc.1
+++ b/mandoc.1
@@ -1,4 +1,4 @@
-.\" $Id: mandoc.1,v 1.151 2015/02/06 16:06:25 schwarze Exp $
+.\" $Id: mandoc.1,v 1.152 2015/02/07 15:15:20 schwarze Exp $
.\"
.\" Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
.\" Copyright (c) 2012, 2014, 2015 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: February 6 2015 $
+.Dd $Mdocdate: February 7 2015 $
.Dt MANDOC 1
.Os
.Sh NAME
@@ -729,9 +729,9 @@ macro occurs after some non-prologue macro, but still takes effect.
.Pq mdoc
The
.Ic \&Dt
-macro can only occur before the first non-prologue macro
-because traditional formatters write the page header
-before parsing the document body.
+macro appears after the first non-prologue macro.
+Traditional formatters cannot handle this because
+they write the page header before parsing the document body.
Even though this technical restriction does not apply to
.Nm ,
traditional semantics is preserved.
@@ -836,7 +836,7 @@ manual for replacements.
.Pq mdoc
The name of a macro that is not callable appears on a macro line.
It is printed verbatim.
-If the intention is to call it, move it to its own line;
+If the intention is to call it, move it to its own input line;
otherwise, escape it by prepending
.Sq \e& .
.It Sy "skipping paragraph macro"
@@ -1080,21 +1080,18 @@ list, an
.Ic \&It
block is empty.
An empty list item is shown.
-.It Sy "missing font type"
+.It Sy "missing font type, using \efR"
.Pq mdoc
A
.Ic \&Bf
macro has no argument.
-It switches to the default font,
-.Cm \efR .
-.It Sy "unknown font type"
+It switches to the default font.
+.It Sy "unknown font type, using \efR"
.Pq mdoc
The
.Ic \&Bf
argument is invalid.
-The default font
-.Cm \efR
-is used instead.
+The default font is used instead.
.It Sy "nothing follows prefix"
.Pq mdoc
A
@@ -1503,7 +1500,7 @@ macros as well as tables require explicit closing by dedicated macros.
A block that doesn't support bad nesting
ends before all of its children are properly closed.
The open child nodes are closed implicitly.
-.It Sy "scope open on exit"
+.It Sy "appending missing end of block"
.Pq mdoc , man , eqn , tbl , roff
At the end of the document, an explicit
.Xr mdoc 7