[tex4ht] Conversion to ODT missing several features
paulo at matos-sorge.com
Tue Jan 8 16:38:34 CET 2019
On 08/01/2019 15:57, Michal Hoftich wrote:
> Hi Paulo,
>> If you look at the results there are a few issues:
>> 1. Strange image artifacts at beginning of document;
>> 2. No colors
>> 3. Chapter heading lacking proper formatting
>> Also, I noticed a few issues on the command line:
>> Execute script `test.lg'
>> I couldn't find much documentation on oolatex part specifically. Is
>> there anything out there maybe explaining how to improve the conversion?
> thanks for your interest in tex4ht. For the ODT conversion, it is
> recommended to use
> make4ht -f odt test.tex
> This command fix some issues with oolatex, most importantly the issues
> with Xtpipes, that you seems to experience.
Thanks, I will try that.
> I can see some issues:
> - missing tex4ht support for the ḿathabx package and the fonts. It
> seems that the package has wrong PFB files, they contain incorrect
> glyph names so it is not possible to automatically generate tex4ht
> support files. This causes wrong translation of the < and > characters
> in the title. As a temporary fix, I would disable loading of the
> mathabx package with tex4ht. Something like
Is this something I should put in a tex4ht config file?
> - the commands for code listings will need to be configured, in order
> to get correct colors and to get correct vertical spacing. Your test
> file has huge preamble. As I understand, it is automatically
> generated. Is it possible to put the command definitions in a custom
> .sty file? That would enable us to write custom configurations for
Probably not unless I preprocess the output of the generator before
sending it into tex4ht. What would custom configurations look like?
Would these be tex macros?
> - I am not sure whether margin notes are even possible to support in
> the ODT format. It may be necessary to use footnotes instead.
Yes, I did some research and came to the same conclusion. It doesn't
seem there's support for margin notes in OpenDocument (I am surprised!
to say the least).
> - The chapter formatting seems OK to me.
Yes, you're right!
> Best regards,
More information about the tex4ht