summaryrefslogtreecommitdiffstats
path: root/mandoc.1
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-06-29 15:22:17 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-06-29 15:22:17 +0000
commit16ab65c3e3a699cbb2591d1d913f77b9ee7e25ef (patch)
tree6f1418434fcac4f2d96c367c6d84443f2d226ed5 /mandoc.1
parent6ada7b83e842fe7b40ac2db5443c847045455474 (diff)
downloadmandoc-16ab65c3e3a699cbb2591d1d913f77b9ee7e25ef.tar.gz
warn about some non-portable idioms in .Bl -column;
triggered by a question from Yuri Pankov (illumos)
Diffstat (limited to 'mandoc.1')
-rw-r--r--mandoc.117
1 files changed, 17 insertions, 0 deletions
diff --git a/mandoc.1 b/mandoc.1
index 4d5eeb94..1981cc4a 100644
--- a/mandoc.1
+++ b/mandoc.1
@@ -1218,6 +1218,12 @@ list block contains text or macros before the first
.Ic \&It
macro.
The offending children are moved before the beginning of the list.
+.It Sy "first macro on line"
+Inside a
+.Ic \&Bl Fl column
+list, a
+.Ic \&Ta
+macro occurs as the first macro on a line, which is not portable.
.It Sy "fill mode already enabled, skipping"
.Pq man
A
@@ -1363,6 +1369,17 @@ list, an
.Ic \&It
block is empty.
An empty list item is shown.
+.It Sy "missing argument, using next line"
+.Pq mdoc
+An
+.Ic \&It
+macro in a
+.Ic \&Bd Fl column
+list has no arguments.
+While
+.Nm
+uses the text or macros of the following line, if any, for the cell,
+other formatters may misformat the list.
.It Sy "missing font type, using \efR"
.Pq mdoc
A