version 1.4, 2014/04/30 12:54:26 |
version 1.7, 2014/10/19 19:11:29 |
|
|
and |
and |
generates |
generates |
.Xr mdoc 7 |
.Xr mdoc 7 |
|
and |
|
.Xr eqn 7 |
from the |
from the |
.Aq refentry |
.Aq refentry |
section of DocBook source, ignoring other sections. |
section of DocBook source, ignoring other sections. |
Line 46 Output non-fatal warning messages. |
|
Line 48 Output non-fatal warning messages. |
|
.Pp |
.Pp |
.Nm |
.Nm |
supports only well-formed XML DocBook V4.x until V5.1. |
supports only well-formed XML DocBook V4.x until V5.1. |
|
Some earlier DocBook constructs are accepted as well. |
SGML DocBook documents may be parsed unless they contain SGML-specific |
SGML DocBook documents may be parsed unless they contain SGML-specific |
constructs, such as empty end tags |
constructs, such as empty end tags |
.Li </> . |
.Li </> . |
The only non-DocBook construct recognised (and discarded) is |
The only non-DocBook construct recognised are |
.Aq xi:include \(sl . |
.Aq xi:include \(sl |
|
.Pq which is discarded |
|
and |
|
.Aq mml:* , |
|
which is accepted and converted to |
|
.Xr eqn 7 . |
.Sh EXIT STATUS |
.Sh EXIT STATUS |
.Ex -std |
.Ex -std |
.Sh EXAMPLES |
.Sh EXAMPLES |
|
|
.Dl % docbook2mdoc foo.xml | mandoc | more |
.Dl % docbook2mdoc foo.xml | mandoc | more |
.Sh SEE ALSO |
.Sh SEE ALSO |
.Xr mandoc 1 , |
.Xr mandoc 1 , |
|
.Xr eqn 7 , |
.Xr mdoc 7 |
.Xr mdoc 7 |
.Sh AUTHORS |
.Sh AUTHORS |
.Nm |
.Nm |