[latex3-commits] [git/LaTeX3-latex3-latex3] scan-quark: Generate format also for "doc" target (7056f8435)

PhelypeOleinik tex.phelype at gmail.com
Mon Mar 23 22:08:23 CET 2020


Repository : https://github.com/latex3/latex3
On branch  : scan-quark
Link       : https://github.com/latex3/latex3/commit/7056f843558d3dc0ef3cc7d47370b9954670e666

>---------------------------------------------------------------

commit 7056f843558d3dc0ef3cc7d47370b9954670e666
Author: PhelypeOleinik <tex.phelype at gmail.com>
Date:   Mon Mar 23 18:08:23 2020 -0300

    Generate format also for "doc" target
    
    This ensures that the version of the kernel used for typesetting is the same as the one whose doc is being built.


>---------------------------------------------------------------

7056f843558d3dc0ef3cc7d47370b9954670e666
 build-config.lua | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/build-config.lua b/build-config.lua
index 70fbf6d3b..4ecd37f76 100644
--- a/build-config.lua
+++ b/build-config.lua
@@ -28,6 +28,9 @@ packtdszip  = true
 
 typesetcmds = typesetcmds or "\\AtBeginDocument{\\csname DisableImplementation\\endcsname}"
 
+typesetexe = "pdftex"
+typesetopts = "--fmt=pdflatex -interaction=nonstopmode"
+
 if checksearch == nil then
   checksearch = false
 end
@@ -126,3 +129,7 @@ end
 function checkinit_hook()
   return fmt(options["engine"] or checkengines,testdir)
 end
+
+function docinit_hook()
+  return fmt({typesetexe},typesetdir)
+end





More information about the latex3-commits mailing list.