Hello, On Wed, 10 May 2006, Frank Küster wrote: > Package: tex4ht > Version: 20060312-0bpo1 > Severity: wishlist > > A run of tex4ht creates numerous intermediate files. It would be nice > if they could automatically deleted - I suggest to do this without > asking, but provide a commandline option for people who want to keep > them.
There is an option to send output files (.html,.css,.png) files to
a directory other than the current directory. For example
htlatex sample2e "" "" "-d~/home_page/test"
will send the output files to ~/home_page/test.
This can be combined with temporary directory creation to solve
this problem by creating a shell script as follows that has the same
arguments as "htlatex".
================
#!/bin/sh
CURDIR=$PWD
TMPDIR=$(mktemp -d /tmp/tex4ht.XXXXXX)
cd $TMPDIR
ln -s $CURDIR/. .
htlatex "$1" "$2" "$3" "$4 -d$CURDIR"
================
But perhaps you knew this and meant that this should be included as an
option for mk4ht?
Thanks and regards,
Kapil.
--
signature.asc
Description: Digital signature

