version 1.12, 2019/04/12 19:14:50 |
version 1.15, 2019/05/01 09:02:25 |
|
|
.Sh SYNOPSIS |
.Sh SYNOPSIS |
.Nm docbook2mdoc |
.Nm docbook2mdoc |
.Op Fl W |
.Op Fl W |
|
.Op Fl s Ar section |
.Op Fl T Cm mdoc | tree | lint |
.Op Fl T Cm mdoc | tree | lint |
.Op Ar file |
.Op Ar file |
.Sh DESCRIPTION |
.Sh DESCRIPTION |
Line 43 or omitted, standard input is used. |
|
Line 44 or omitted, standard input is used. |
|
.Pp |
.Pp |
The options are as follows: |
The options are as follows: |
.Bl -tag -width 2n |
.Bl -tag -width 2n |
|
.It Fl s |
|
Specify the manual page |
|
.Ar section |
|
to be used as the second argument of the |
|
.Ic \&Dt |
|
macro. |
|
Defaults to the content of the first |
|
.Eo < Ic manvolnum Ec > |
|
element in the first |
|
.Eo < Ic refmeta Ec > |
|
block, if any, or to |
|
.Qq 1 |
|
otherwise. |
.It Fl T |
.It Fl T |
Select the output mode. |
Select the output mode. |
The following arguments are supported: |
The following arguments are supported: |
Line 58 Child nodes are indented with respect to their parent |
|
Line 72 Child nodes are indented with respect to their parent |
|
The columns are: |
The columns are: |
.Bl -enum -width 2n |
.Bl -enum -width 2n |
.It |
.It |
A hyphen if the node follows the previous node |
An asterisk if the node starts a new text line, |
|
or a hyphen if the node follows the previous node |
without intervening whitespace. |
without intervening whitespace. |
.It |
.It |
The node type. |
The node type. |
Line 101 Internal subset declaration to define an XML entity. |
|
Line 116 Internal subset declaration to define an XML entity. |
|
.Ec > |
.Ec > |
Internal subset declaration to define an XML entity using an external |
Internal subset declaration to define an XML entity using an external |
.Ar file . |
.Ar file . |
|
.It Eo <! |
|
.Ic DOCTYPE No ... |
|
.Bo |
|
.Eo " <!" Ic ENTITY No % Ar name Cm SYSTEM Qo Ar file Qc Ec > |
|
.Pf % Ar name No \& |
|
.Bc |
|
.Ec > |
|
Internal subset declaration to include an external |
|
.Ar file |
|
that is supposed to contain entity declarations. |
.It Eo < Ic mml : Ns ... Ec > |
.It Eo < Ic mml : Ns ... Ec > |
Elements from the MathML namespace. |
Elements from the MathML namespace. |
These are translated to |
These are translated to |