From: Michael Wagner Date: Fri, 26 Mar 2021 21:16:42 +0000 (+0100) Subject: antix19 X-Git-Tag: mdoku_0.1-0~3 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=0e6ed7bad17df68df198dd47e8f8c6b38fb420e0;p=mDoc.git antix19 --- diff --git a/Test/.dummy b/Test/.dummy new file mode 100644 index 0000000..e69de29 diff --git a/debian/.dummy b/debian/.dummy new file mode 100644 index 0000000..e69de29 diff --git a/doc/mdoc-extract.1 b/doc/mdoc-extract.1 new file mode 100644 index 0000000..2d95034 --- /dev/null +++ b/doc/mdoc-extract.1 @@ -0,0 +1,38 @@ +.\" Manpage for mdoc-extract. +.\" Contact mail@wagnertech.de to correct errors or typos. +.TH MDOC-EXTRACT 1 "27 Jan 2020" Linux "Linux Manual" +.SH NAME +mdoc-extract \- mdoc extraction tool +.SH SYNOPSIS +.B mdoc-extract +INPUT CLASS +.SH DESCRIPTION +.PP +mdoc-extract reads an input xml file and builds an output tex file. Elements in the input file can be +labeled by +.I include +or +.I exclude +tags. The value of these tags is the class name from which on this advise is valid. Advices are inherited +to subclasses. Subclasses are named by "base.sub". Advices for "base.sub" are valid for CLASS=base.sub, +CLASS=base.sub.subsub and so on, but not for CLASS=base. +.TP +\fBINPUT\fR +Input xml file name +.TP +\fBCLASS\fR +Production class name +.SH FILES +Input file is expected with this format: +.nf + + This text is always used + This text appears only in "base.sub" + and its subclasses + This text does not appear in "base.sub" + and its subclasses + +.fi +.SH AUTHOR +Michael Wagner (michael@wagnertech.de) + diff --git a/doc/mdoku.7 b/doc/mdoku.7 new file mode 100644 index 0000000..38cc2a5 --- /dev/null +++ b/doc/mdoku.7 @@ -0,0 +1,17 @@ +.\" Manpage for mdoc. +.\" Contact mail@wagnertech.de to correct errors or typos. +.TH MDOKU 7 "27 Jan 2020" Linux "Linux Manual" +.SH NAME +mdoku \- Documentation Suite +.SH SYNOPSIS +.B mdoku +.SH DESCRIPTION +mdoku documentation suite brings some useful tools: +.TP +mdoc-extract +extracts documentation parts in some object oriented manner. +.SH SEE ALSO +mdoc-extract (1) +.SH AUTHOR +Michael Wagner (michael@wagnertech.de) +