michal-h21 / make4ht

Build system for tex4ht
137 stars 15 forks source link

Add --odt-template option to make4ht #17

Closed denismaier closed 5 years ago

denismaier commented 5 years ago

Would it be possible to add a command line option --odt-template to make4ht. Right now, this is already possible as was demonstrated here on TeX.se. I guess it might be useful if this was integrated in make4ht so that it could be used without an additional build file.

michal-h21 commented 5 years ago

I've added the odttemplate extension. It can be used without extension in this way:

  make4ht -um draft -f odt+odttemplate sample.tex "odttemplate=template.odt"

It is not easy to add new command line options to make4ht, because they need to provide also short, one letter version and their number is limited (by the alphabet).

denismaier commented 5 years ago

Amazing. This looks great. For me it won't matter if this is an extension or a command line option.

michal-h21 commented 5 years ago

great, I should make a release to CTAN soon.