


The configuration in conf/conf.xml is used by default and works with the styles defined in Microsoft Word's normal.dot. docx2tex will apply the configuration to the intermediate Hub XML file and generates the LaTeX output. xml2texĭocx2tex can also be configured by means of an xml2tex configuration file. You can edit CSV files either with a simple text editor or with a spreadsheet application. The xml2tex configuration format is recommended for a deeper level of configuration but requires basic knowledge of XML and XPath.įor each MS Word style name, create a line with three semicolon separated values.The CSV-based configuration format permits a simple way to map from MS Word styles to LaTeX commands.There are two different formats to write a configuration. You can specify a custom configuration file for docx2tex. There are five major hooks for adding your own processing: CSV or xml2tex configuration XSLT that is applied between evolve-hub and xml2tex XSLT that modifies what happens in evolve-hub fontmaps. Only some of the modes are used by docx2tex, orchestrated by evolve-hub.xpl and configured in detail by evolve-hub-driver.xsl. This is a bag of XSLT modes that, among other things, transform paragraphs with list markers and hanging indentation to proper nested lists, create a nested section hierarchy, group images with their figure titles, etc. It transforms a docx file to a Hub XML representation. The docx2tex pipeline consists of 3 macroscopic steps: Calabash\calabash.bat -o result=myfile.tex -o hub=myfile.xml xpl/docx2tex.xpl docx=myfile.docx conf=conf/conf.xml
