Re: [tex4ht] How to control/optimize the number of times make4ht runs dvilualatex?

2022-04-18 Thread Nasser M. Abbasi
On 4/18/2022 5:21 PM, Michal Hoftich wrote: You can of course change that using a build file, where you can declare your own modes and declare commands to be executed. The default is this: if mode=="draft" then Make:htlatex{} else Make:htlatex{} Make:htlatex{} Make:htlatex{} end

Re: [tex4ht] How to control/optimize the number of times make4ht runs dvilualatex?

2022-04-18 Thread Michal Hoftich
Hi Nasser, > For tex4ht, it seems to always run 3 times. Even for the most > simple files. Here is an example Yes, make4ht runs latex three times, same as htlatex did. > > Running the command (all on one line) > > time make4ht -ulm default -a debug report.tex "mathjax,htm" User the -ulm draft

[tex4ht] How to control/optimize the number of times make4ht runs dvilualatex?

2022-04-18 Thread Nasser M. Abbasi
Since some of my files take long time to compile for PDF and HTML, I've been trying to optimize the number of times needed to compile them. With lualatex, I now check in the log file and decided if there is a need to run lualatex one more time or not. For tex4ht, it seems to always run 3 times.