diff --git a/doc/XSL.md b/doc/XSL.md index 9a25fa7..a4641c5 100644 --- a/doc/XSL.md +++ b/doc/XSL.md @@ -10,14 +10,35 @@ element of a publication is part ([tei2eoatex-parts.xsl](https://github.molgen.m ([tei2eoatex-noparts.xsl](https://github.molgen.mpg.de/EditionOpenAccess/EOASkripts/blob/master/data/tei2eoatex-noparts.xsl)). Both scripts then import [tei2eoatex-common.xsl](https://github.molgen.mpg.de/EditionOpenAccess/EOASkripts/blob/master/data/tei2eoatex-common.xsl) which contains the rest of the templates. -There is command line parameter available which toggles the creation -and inclusion of a List of Contributors (mainly used in edited books). -It is set to `false` by default. Enable it by adding +## Command line switches +Four command line switches are available +### Document structure (required) +This switch is required and tells if the document structure contains parts or not. + +Use value `1` if there are parts. + + parts=1 + +Use value `0` if there are no parts. + + parts=0 +### List of contributors (optional) +Toggles the creation and inclusion of a List of Contributors (mainly +used in edited books). It is optional set to `false` by default. +Enable it by adding contributors=1 to the command line. +### Verbosity (optional) +Selects the amount of output messages during runtime. Possible values are `0`, `1`, `2`. Example: + + verbosity=1 +### Frontmatter +Toggles the creation and inclusion of a frontmatter, which is +generated from the TEI header. Default: `false`. To enable it, use +frontmatter=1 ## Output The transformation will create a number of files that closely