Programs¶
Imprint comes with a set of command-line entry points to facilitate different tasks. This page is the manual for these programs.
imprint¶
The main program of Imprint, serving as the entry point to create documents.
docx2xml¶
A small utility for extracting text content out of existing Word documents.
Placeholders are inserted for every element that appears to be a table or a figure. No attempt is made to preserve the styles of those elements. Paragraph styles are preserved, as are run styles. An attempt is made to merge as many consecutive runs of the same style as possible.
This program can only operate on .docx
files, not on .doc
files.
Command¶
The same command can be run on both Linux and Windows systems. The Windows file
that provides the executable has a .bat
extension and delegates to the
extension-less Python file:
docx2xml input[.docx] [output[.xml]]