diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2017-06-29 15:22:17 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2017-06-29 15:22:17 +0000 |
commit | 16ab65c3e3a699cbb2591d1d913f77b9ee7e25ef (patch) | |
tree | 6f1418434fcac4f2d96c367c6d84443f2d226ed5 /mandoc.1 | |
parent | 6ada7b83e842fe7b40ac2db5443c847045455474 (diff) | |
download | mandoc-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.1 | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -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 |