=================================================================== RCS file: /cvs/mandoc/mandoc.1,v retrieving revision 1.161 retrieving revision 1.166 diff -u -p -r1.161 -r1.166 --- mandoc/mandoc.1 2015/09/26 12:56:04 1.161 +++ mandoc/mandoc.1 2016/12/28 21:51:15 1.166 @@ -1,4 +1,4 @@ -.\" $Id: mandoc.1,v 1.161 2015/09/26 12:56:04 schwarze Exp $ +.\" $Id: mandoc.1,v 1.166 2016/12/28 21:51:15 schwarze Exp $ .\" .\" Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons .\" Copyright (c) 2012, 2014, 2015 Ingo Schwarze @@ -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: September 26 2015 $ +.Dd $Mdocdate: December 28 2016 $ .Dt MANDOC 1 .Os .Sh NAME @@ -349,7 +349,7 @@ Equations rendered from blocks use MathML. .Pp The -.Pa example.style.css +.Pa mandoc.css file documents style-sheet classes available for customising output. If a style-sheet is not specified with .Fl O Cm style , @@ -497,7 +497,7 @@ Use .Fl T Cm tree to show a human readable representation of the syntax tree. It is useful for debugging the source code of manual pages. -The exact format is subject to change, don't write parsers for it. +The exact format is subject to change, so don't write parsers for it. Each output line shows one syntax tree node. Child nodes are indented with respect to their parent node. The columns are: @@ -506,7 +506,8 @@ The columns are: .It For macro nodes, the macro name; for text and .Xr tbl 7 -nodes, the content. There is a special format for +nodes, the content. +There is a special format for .Xr eqn 7 nodes. .It @@ -600,10 +601,10 @@ To page manuals to the terminal: .Dl $ mandoc mandoc.1 mdoc.3 mdoc.7 | less .Pp To produce HTML manuals with -.Ar style.css +.Pa mandoc.css as the style-sheet: .Pp -.Dl $ mandoc \-T html -O style=style.css mdoc.7 \*(Gt mdoc.7.html +.Dl $ mandoc \-T html -O style=mandoc.css mdoc.7 \*(Gt mdoc.7.html .Pp To check over a large set of manuals: .Pp @@ -1146,6 +1147,13 @@ macro is immediately followed by an .Ic \&Re macro on the next input line. Such an empty block does not produce any output. +.It Sy "missing section argument" +.Pq mdoc +An +.Ic \&Xr +macro lacks its second, section number argument. +The first argument, i.e. the name, is printed, but without subsequent +parentheses. .It Sy "missing -std argument, adding it" .Pq mdoc An @@ -1599,6 +1607,13 @@ By requesting the inclusion of a sensitive file, a mal might otherwise trick a privileged user into inadvertently displaying the file on the screen, revealing the file content to bystanders. The argument is ignored including the file name following it. +.It Sy "skipping display without arguments" +.Pq mdoc +A +.Ic \&Bd +block macro does not have any arguments. +The block is discarded, and the block content is displayed in +whatever mode was active before the block. .It Sy "missing list type, using -item" .Pq mdoc A