=================================================================== RCS file: /cvs/docbook2mdoc/docbook2mdoc.1,v retrieving revision 1.2 retrieving revision 1.6 diff -u -p -r1.2 -r1.6 --- docbook2mdoc/docbook2mdoc.1 2014/04/02 12:27:05 1.2 +++ docbook2mdoc/docbook2mdoc.1 2014/10/12 15:08:45 1.6 @@ -1,4 +1,4 @@ -.\" $Id: docbook2mdoc.1,v 1.2 2014/04/02 12:27:05 kristaps Exp $ +.\" $Id: docbook2mdoc.1,v 1.6 2014/10/12 15:08:45 kristaps Exp $ .\" .\" Copyright (c) 2014 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: April 2 2014 $ +.Dd $Mdocdate: October 12 2014 $ .Dt DOCBOOK2MDOC 1 .Os .Sh NAME @@ -31,6 +31,8 @@ utility reads and generates .Xr mdoc 7 +and +.Xr eqn 7 from the .Aq refentry section of DocBook source, ignoring other sections. @@ -38,13 +40,25 @@ If unspecified or .Ar \&- , .Ar file is taken to be standard input. -It accepts no arguments. +The arguments are as follows: +.Bl -tag -width Ds +.It Fl W +Output non-fatal warning messages. +.El .Pp .Nm 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 constructs, such as empty end tags .Li . +The only non-DocBook construct recognised are +.Aq xi:include \(sl +.Pq which is discarded +and +.Aq mml:* , +which is accepted and converted to +.Xr eqn 7 . .Sh EXIT STATUS .Ex -std .Sh EXAMPLES