diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-02-09 09:05:52 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-02-09 09:05:52 +0000 |
commit | 31585348ea96dc3d531dd9a8fdbea4ad5ce4b927 (patch) | |
tree | 5ec5f6dd3a3a8484263747c3ea413fb5e90adf13 /mdoc.3 | |
parent | 39f12eb291ae2c50f721965715032dae57e1162e (diff) | |
download | mandoc-31585348ea96dc3d531dd9a8fdbea4ad5ce4b927.tar.gz |
Allow EQN data to be pushed down into libmdoc via mdoc_addeqn(). Only
the adding itself is implemented; equation data is not yet shown.
Diffstat (limited to 'mdoc.3')
-rw-r--r-- | mdoc.3 | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -34,6 +34,11 @@ .Vt extern const char * const * mdoc_macronames; .Vt extern const char * const * mdoc_argnames; .Ft int +.Fo mdoc_addeqn +.Fa "struct mdoc *mdoc" +.Fa "const struct eqn *eqn" +.Fc +.Ft int .Fo mdoc_addspan .Fa "struct mdoc *mdoc" .Fa "const struct tbl_span *span" @@ -97,6 +102,7 @@ for details. .El .Ss Functions If +.Fn mdoc_addeqn , .Fn mdoc_addspan , .Fn mdoc_parseln , or @@ -107,6 +113,9 @@ or .Fn mdoc_free will raise an assertion. .Bl -ohang +.It Fn mdoc_addeqn +Add an equation to the parsing stream. +Returns 0 on failure, 1 on success. .It Fn mdoc_addspan Add a table span to the parsing stream. Returns 0 on failure, 1 on success. |