X-Git-Url: https://git.cameronkatri.com/mandoc.git/blobdiff_plain/34dca748dc29fb6f67ea985a67a6cb4b8ef2c127..b9ac7e789aa2c1bf358e1d967a0b87ef2322744b:/man.3?ds=sidebyside diff --git a/man.3 b/man.3 index fa3f6866..00ec8b28 100644 --- a/man.3 +++ b/man.3 @@ -1,4 +1,4 @@ -.\" $Id: man.3,v 1.7 2009/07/20 13:45:11 kristaps Exp $ +.\" $Id: man.3,v 1.10 2009/10/03 16:36:06 kristaps Exp $ .\" .\" Copyright (c) 2009 Kristaps Dzonsons .\" @@ -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 20 2009 $ +.Dd $Mdocdate: October 3 2009 $ .Dt MAN 3 .Os .\" SECTION @@ -29,7 +29,7 @@ .Nd man macro compiler library .\" SECTION .Sh SYNOPSIS -.Fd #include +.In man.h .Vt extern const char * const * man_macronames; .Ft "struct man *" .Fn man_alloc "void *data" "int pflags" "const struct man_cb *cb" @@ -220,7 +220,13 @@ where capitalised non-terminals represent nodes. .It ROOT \(<- mnode+ .It mnode -\(<- ELEMENT | TEXT +\(<- ELEMENT | TEXT | BLOCK +.It BLOCK +\(<- HEAD BODY +.It HEAD +\(<- mnode* +.It BODY +\(<- mnode* .It ELEMENT \(<- ELEMENT | TEXT* .It TEXT