[tex4ht] Output directory

Daniel Becker d.becker at jpberlin.de
Fri Jan 15 09:49:22 CET 2010

Thanks, Radhakrishnan,

Am 15.01.2010 um 01:15 schrieb Radhakrishnan CV:

> The following command worked fine in my system (you need to have
> tex4ht directory created prior to compilation):
>  mk4ht oolatex myfile.tex "" "" " -d./tex4ht/"
> The arguments to mk4ht need to be quoted. Secondly,  '/' character
> shall be appended to your destination directory name, if not, all
> files will be copied to a file namely, "tex4ht."
> However, I noted that "t4ht" binary which does all the file parsing
> and manipulation work at the end of post-processing of the *.dvi file
> (by "tex4ht" binary), copied myfile.odt and myfile.xml to the
> destination folder where myfile.xml might be unwanted for some.
> What precisely was your problem?

I wanted to use that output directory because I am trying to convert a paper that contains a lot of math to openoffice. Especially the appendix seems to cause problems. Somehow I don *not* end up with an odt file but with a lot (several hundred) of .tmp .4om and so on files. And a directory sxw-mypaper_0.9.dir. What I wanted is that all the files produced by tex4ht (mk4ht oolatex) end up in the own directory such that I do not delete the important mypaper.tex by accident.

When I use (thanks) mk4ht oolatex mypaper_0.9.tex "" "" " -d./tex4ht/"

some of them end up in the tex4ht directory, some not. Hm.

By the way, if the paper is converted without the appendix, the result is just great and much better than that of latex2rtf. I try to isolate the problem that remains and then ask here again how to solve it.


More information about the tex4ht mailing list