1 .\" Manpage for mdoc-extract.
2 .\" Contact mail@wagnertech.de to correct errors or typos.
3 .TH MDOC-EXTRACT 1 "08 Dez 2021" Linux "Linux Manual"
5 mdoc-extract \- mdoc extraction tool
11 mdoc-extract reads an input xml file and builds an output tex file. Elements in the input file can be
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. There can also be more than one class in an advice.
19 These classes are separated by ":".
27 Input file is expected with this format:
30 <text>This text is always used</text>
31 <text include="base.sub:otherbase">This text appears only in "base.sub"
32 and its subclasses as well as for "otherbase" and its subclasses.</text>
33 <text exclude="base.sub">This text does not appear in "base.sub"
34 and its subclasses</text>
38 Michael Wagner (michael@wagnertech.de)