[BACK]Return to docbook2mdoc.1 CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / docbook2mdoc

Diff for /docbook2mdoc/docbook2mdoc.1 between version 1.5 and 1.9

version 1.5, 2014/04/30 13:21:07 version 1.9, 2019/03/17 13:53:42
Line 22 
Line 22 
 .Nd Convert DocBook refentry to mdoc  .Nd Convert DocBook refentry to mdoc
 .Sh SYNOPSIS  .Sh SYNOPSIS
 .Nm docbook2mdoc  .Nm docbook2mdoc
   .Op Fl W
 .Op Ar file  .Op Ar file
 .Sh DESCRIPTION  .Sh DESCRIPTION
 The  The
 .Nm  .Nm
 utility reads  utility reads
 .Ar file  .Ar file
 and  and generates
 generates  
 .Xr mdoc 7  .Xr mdoc 7
 from the  and
 .Aq refentry  .Xr eqn 7
 section of DocBook source, ignoring other sections.  from the <refentry> section of DocBook source, ignoring other sections.
 If unspecified or  If unspecified or
 .Ar \&- ,  .Sq Cm \- ,
 .Ar file  .Ar file
 is taken to be standard input.  is taken to be standard input.
   .Pp
 The arguments are as follows:  The arguments are as follows:
 .Bl -tag -width Ds  .Bl -tag -width Ds
 .It Fl W  .It Fl W
Line 50  Some earlier DocBook constructs are accepted as well.
Line 51  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 constructs recognised are <xi:include\ />
 .Aq xi:include \(sl .  .Pq which is discarded
   and <mml:*>, which is accepted and converted to
   .Xr eqn 7 .
 .Sh EXIT STATUS  .Sh EXIT STATUS
 .Ex -std  .Ex -std
 .Sh EXAMPLES  .Sh EXAMPLES
Line 61  through
Line 64  through
 .Xr mandoc 1  .Xr mandoc 1
 and a pager:  and a pager:
 .Pp  .Pp
 .Dl % docbook2mdoc foo.xml | mandoc | more  .Dl $ docbook2mdoc foo.xml | mandoc -l
 .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
 was written by  was written by
 .Ar Kristaps Dzonsons ,  .An Kristaps Dzonsons Aq Mt kristaps@bsd.lv .
 .Mt kristaps@bsd.lv .  
 .Sh CAVEATS  .Sh CAVEATS
 The  The
 .Nm  .Nm
 utility is experimental.  utility is experimental.
 As such, only a modest subset of the  As such, only a modest subset of the <refentry> domain is accepted.
 .Aq refentry  
 domain is accepted.  
 .Pp  .Pp
 The output  The output
 .Xr mdoc 7  .Xr mdoc 7

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.9

CVSweb