# This is a replacement for htlatex from the TeX4ht package. It allows
# latexmk to be used to do the latex part of the processing.
# See TeX4ht-latexmkrc in the example-rcfiles directory of the latexmk
# distribution for how to use this.
#
# This is a shell script suitable for UNIX-like operating systems (including
# OS-X and linux, and presumably Cygwin under MS-Windows).
if [[ $# -lt 1 || $1 == "--help" || $1 == "-help" || $1 == "-h" ]]; then
echo "Convert tex file to html. Simplest usage"
echo " myhtlatex2 file"
exit 1
fi