[tex4ht] latexmk instead of 3 systematic compilations?

Denis Bitouzé dbitouze at wanadoo.fr
Mon Sep 17 16:45:04 CEST 2012


Hello,

I didn't look at the reasons htlatex runs systematically 3 times the
underlying compilation :

        latex $5
        '\makeatletter\def\HCode{\futurelet\HCode\HChar}\def\HChar{\ifx"\HCode\def\HCode"##1"{\Link##1}\expandafter\HCode\else\expandafter\Link\fi}\def\Link#1.a.b.c.{\g at addto@macro\@documentclasshook{\RequirePackage[#1,html]{tex4ht}}\let\HCode\documentstyle\def\documentstyle{\let\documentstyle\HCode\expandafter\def\csname
        tex4ht\endcsname{#1,html}\def\HCode####1{\documentstyle[tex4ht,}\@ifnextchar[{\HCode}{\documentstyle[tex4ht]}}}\makeatother\HCode
        '$2'.a.b.c.\input ' $1

but, to be sure enough compilations have been done, wouldn't it be
possible to use a makefile instead, the much powerful I know being
latexmk?

Thanks.
-- 
Denis


More information about the tex4ht mailing list