]> wagnertech.de Git - mDoc.git/blob - doc/mdoc-extract.1
antix19
[mDoc.git] / doc / mdoc-extract.1
1 .\" Manpage for mdoc-extract.
2 .\" Contact mail@wagnertech.de to correct errors or typos.
3 .TH MDOC-EXTRACT 1 "27 Jan 2020" Linux "Linux Manual"
4 .SH NAME
5 mdoc-extract \- mdoc extraction tool
6 .SH SYNOPSIS
7 .B mdoc-extract
8 INPUT CLASS
9 .SH DESCRIPTION
10 .PP
11 mdoc-extract reads an input xml file and builds an output tex file. Elements in the input file can be
12 labeled by 
13 .I include
14 or
15 .I exclude
16 tags. The value of these tags is the class name from which on this advise is valid. Advices are inherited 
17 to subclasses. Subclasses are named by "base.sub". Advices for "base.sub" are valid for CLASS=base.sub, 
18 CLASS=base.sub.subsub and so on, but not for CLASS=base.
19 .TP
20 \fBINPUT\fR
21 Input xml file name
22 .TP
23 \fBCLASS\fR
24 Production class name
25 .SH FILES
26 Input file is expected with this format:
27 .nf
28 <document>
29   <text>This text is always used</text>
30   <text include="base.sub">This text appears only in "base.sub" 
31      and its subclasses</text>
32   <text exclude="base.sub">This text does not appear in "base.sub"
33      and its subclasses</text>
34 </document>
35 .fi
36 .SH AUTHOR
37 Michael Wagner (michael@wagnertech.de)
38