Converters (*Experimental*) =========================== Convert HWPv5 documents into other document formats. Requirements ------------ The conversions are performed with `XSLT `_ internally and verified with `Relax NG `_ if possible. For these processing, the converters requires `lxml `_ (`homepage `_) or `libxml2 `_'s `xsltproc `_ / `xmllint `_ programs. For lxml installation:: pip install --user lxml # install to user directory pip install lxml # install with virtualenv or see `Installing lxml `_. (Currently conversions with lxml 2.3.5 is tested and verified to be working. lxml versions below that may work too, but those are not tested.) For ``xsltproc`` / ``xmllint`` installation:: sudo apt-get install xsltproc libxml2-utils # Debian/Ubuntu Optional environment variables ``PYHWP_XSLTPROC`` and ``PYHWP_XMLLINT`` specifies the paths of the each programs. (If not set, ``xsltproc`` and/or ``xmllint`` should be in the one of the directories specified in ``PATH``.) ``hwp5odt``: ODT conversion --------------------------- .. automodule:: hwp5.hwp5odt ``hwp5html``: HTML conversion ----------------------------- .. automodule:: hwp5.hwp5html ``hwp5txt``: text conversion ---------------------------- .. automodule:: hwp5.hwp5txt