Re: [tex4ht] Bug identified: tex4ht to .odt (also identifying bugs in MiKTeX's setup)

2016-06-06 Thread Karl Berry
The path depends obviously on installation and the "%%~" for $SELFAUTOPARENT seems not to work in miktex. Well, maybe that is the crucial problem. That %%~ that I had Eitan add is the whole reason that tex4ht can be installable in TL. Requiring a hardwired installation path is not feasib

Re: [tex4ht] Bug identified: tex4ht to .odt (also identifying bugs in MiKTeX's setup)

2016-06-06 Thread Ulrike Fischer
Am Sat, 4 Jun 2016 11:21:28 +0800 schrieb 吳聰敏: > Before describing where is this error from, I first discuss some bugs in > current MiKTeX's setup of tex4ht. The first set of bugs is about subdirectory > specfication. > > Open tex4ht.env (in MiKTeX's subdirectory) with an editor, > > Replace

Re: [tex4ht] Bug identified: tex4ht to .odt (also identifying bugs in MiKTeX's setup)

2016-06-04 Thread Karl Berry
Thank you for the detailed report. I hope we (Michal ...?) can look into the tex4ht stuff. As for the miktex bug: the first command line above needs a space after "xhtml,": 1. htlatex test "xhtml, ooffice" "ooffice/! -cmozhtf" "-coo -cvalidate" If you don't leave a space, MiKTeX's la

[tex4ht] Bug identified: tex4ht to .odt (also identifying bugs in MiKTeX's setup)

2016-06-04 Thread 吳聰敏
MWE (test.tex): \documentclass{article} \begin{document} Hello World! Some math: $\alpha$ and $\beta$ \end{document} Commands: 1. htlatex test "xhtml,ooffice" "ooffice/! -cmozhtf" "-coo -cvalidate" 2. Use LibreOffice to open the test.odt. Save as .docx if you want to read it with Windows Wor