diff options
Diffstat (limited to 'macros/latex/contrib/l3build/l3build-typesetting.lua')
-rw-r--r-- | macros/latex/contrib/l3build/l3build-typesetting.lua | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/macros/latex/contrib/l3build/l3build-typesetting.lua b/macros/latex/contrib/l3build/l3build-typesetting.lua index 8de57f3718..eaffbe6ae9 100644 --- a/macros/latex/contrib/l3build/l3build-typesetting.lua +++ b/macros/latex/contrib/l3build/l3build-typesetting.lua @@ -181,7 +181,10 @@ function docinit_hook() return 0 end -- Typeset all required documents -- Uses a set of dedicated auxiliaries that need to be available to others function doc(files) - local errorlevel = docinit() + local errorlevel = 0 + if not options["rerun"] then + errorlevel = docinit() + end if errorlevel ~= 0 then return errorlevel end local done = {} local files_unknown = {} |