Chapter 5
Output Formats
TeX4ht
supports following output formats:
- HTML 5
-
used by default, when you don’t provide the
-f
option. - XHTML
-
alternative if you don’t want to use new HTML elements.
- ODT
-
suitable for LibreOffice or MS Word.
There are also historicaly other formats with more limited support. Basic structures, like sections or lists should work, but specific formatting for most of LaTeX packages can be missing.
- DocBook
-
- TEI
-
- JATS
Additionally, you can create e-book formats such as EPUB or MOBI. For
historical reasons, these formats are created using separate tool, tex4ebook
. It
supports the folowing formats:
- AZW
-
- AZW 3
-
- EPUB
-
- EPUB 3
-
- MOBI
To convert your file to any of these formats, use it as a lowercase name, without
spaces, in the -f
option of make4ht
: