[tex4ht] Using texfot with make4ht, how to make it stop at error in compiling?
karl at freefriends.org
Tue Jun 27 22:42:46 CEST 2023
Hi Nasser - all texfot does is run the command as specified. From your
tex.sx question and Michal's answers, it looks like the differences in
behavior are due to -a warning vs. -a debug?
It seems like there should be a way to get make4ht to keep the output
and still stop on error, but that's up to Michal. Specify -a warning
and also errorstopmode somehow? (And not need to use texfot.) Or
-a debug and errorstopmode?
In any event, it also seems like make4ht should notice the bad exit
status from the first run of htlatex and not run a second time
regardless of any warning levels. Or is htlatex not exiting with bad
I don't think this this will solve your problem, but by the way, I
suggest redirecting input from </dev/null, i.e.,
texfot make4ht ... </dev/null
make4ht ... </dev/null
just to avoid any possibility of interaction (that is, assuming you
don't want that). -k
More information about the tex4ht