docx2tex:main generates a LaTeX text document from a DOCX file. The step can be used standalone or as library in other XProc pipelines. Provide a custom evolve-hub driver stylesheet if you like. I would strongly advise to import the standard evolve-hub-driver in ../xsl/evolve-hub-driver.xsl as it brings many improvements for the subsequent processing. There is a sample customization, xsl/custom-evolve-hub-driver-example.xsl, that treats every empty paragraph as a Heading1, that is, a \chapter{} in the generated LaTeX file. The TeX document is shipped at this port. The intermediate Hub XML format. OS path or URI of either an xml2tex mapping file or a csv configuration file. Used to switch debug mode on or off. Pass 'yes' to enable debug mode. Expects a file URI of the directory that should be used to store debug information. Expects URI where the text files containing the progress information are stored. Choose source format for MathType conversion. Permitted values are: ole (OLE object, default) wmf (MTEF code embedded in the WMF preview image) ole+wmf or wmf+ole (convert from OLE and WMF. In case they are not equal, output both versions) Whether docx2tex should convert internal references to LaTeX labels and refs. Switch for some heuristical XSLT optimizations to generate smoother TeX code. Choose the mode to detect lists. Possible values are 'indent', 'role' and 'none'. Used LaTeX package to draw tables. Possible values are 'tabular' and 'tabularx'. Draw table cell borders. Whether the pipeline should fail on some errors. Path to the docx file. How Math spaces should be treated in MathML. 'xml-space' results in more <mml:mtext> (LaTeX: $\text{ }$) whereas 'mspace' leads to more $\:$. Path to an XSLT to be applied on the intermediate Hub XML document. Path (file URI) to a directory containing fontmaps for docx2hub and the mathtype-extension. Provide a custom directory name for the image file references. If the option is set to '' or '.', just the filename will appear in the file reference. If no value is provided, the standard output path from docx2hub is used. Path to the generated CSV-based configuration template. Use filename that is passed on from http request response instead of possible filename read from URL in tr:file-uri (for example when using Gdocs URLs: https://docs.google.com/document/d/1Z5eYyjLoRhB24HYZ-d-wQKAFD3QDWZUsQH4cKHs2eiM/export?format=docx) Directory (OS path, not file: URL) to which the file will be unzipped. If option is empty string, will be '.tmp' appended to OS file path. Start docx2tex Starte docx2tex No custom-font-maps loaded. Converts DOCX to Hub XML. Retrieves all styles from the Hub document and generates a CSV-template to facilitate the writing of a custom configuration. Use the evolve-hub function library to detect lists. Conversion from DOCX to Hub XML finished Konvertierung von DOCX nach Hub XML abgeschlossen Converts the Hub XML to TeX according to the xml2tex config file. docx2tex conversion finished. docx2tex-Konvertierung abgeschlossen.