User Manual
This dm
user manual explains the use of the tool and how to configure a processing pipeline.
Command Line Parameters
Pipeline Definition
Structure of a Task
Each task can have a number of parts: a tag, a list of attributes, a number of (child-)elements and a text content:
Structure of a task definition
tagname: attribute2="v2"
element1: attribute="v3" "value"
Text content.
Tasks
The following table provides an overview over the tasks that are available to build processing pipelines:
Task/Tag name | Description |
---|---|
code-highlight |
adds syntax highlighting to <code> tags |
copy |
copies the content of a file |
diagram-to-svg |
transforms a diagram to an SVG element |
dump |
displays the output on the console |
embed-svg |
transforms an element to an embedded PNG image |
file |
creates an input document from within a pipeline |
if |
conditionally executes tasks |
include |
combines several input files |
klartext-to-xml |
converts klartext to XML |
load |
loads a single input file |
markdown-include |
processes a markdown include file |
markdown-to-xhtml |
converts markdown to xhtml |
pdf-to-png |
converts a PDF file to a set of images |
pngs-to-pptx |
converts a set of images to a pptx file |
save |
saves the output to a file |
sequence |
executes child tasks |
xhtml-to-docx |
converts an xhtml file to docx |
xhtml-to-pdf |
converts an xhtml file to PDF with a stylesheet transformation |
xml-tidy |
pretty-prints an XML-file |
xml-transform |
transforms an XML document with an XSLT transformation |
xml-validate |
validates an XML-file |