[latex3-commits] [git/LaTeX3-latex3-l3build] master: Normalize lua data references (#107) (ae6b694)

Joseph Wright joseph.wright at morningstar2.co.uk
Fri Nov 1 18:49:19 CET 2019


Repository : https://github.com/latex3/l3build
On branch  : master
Link       : https://github.com/latex3/l3build/commit/ae6b694c6c912bb82a9ac166a79ad72433fbefb1

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

commit ae6b694c6c912bb82a9ac166a79ad72433fbefb1
Author: Marcel Krüger <tex at 2krueger.de>
Date:   Fri Nov 1 18:49:19 2019 +0100

    Normalize lua data references (#107)
    
    * Normalize lua data references
    
    * Mention Lua data reference normalization in docs


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

ae6b694c6c912bb82a9ac166a79ad72433fbefb1
 l3build-check.lua | 3 +++
 l3build.dtx       | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/l3build-check.lua b/l3build-check.lua
index 0f7eff7..fdb1e18 100644
--- a/l3build-check.lua
+++ b/l3build-check.lua
@@ -251,6 +251,9 @@ local function normalize_log(content,engine,errlevels)
     line = gsub(line, "save cache:", "load cache:")
     -- A tidy-up to keep LuaTeX and other engines in sync
     line = gsub(line, utf8_char(127), "^^?")
+    -- Remove lua data reference ids
+    line = gsub(line, "<lua data reference [0-9]+>",
+                      "<lua data reference ...>")
     -- Unicode engines display chars in the upper half of the 8-bit range:
     -- tidy up to match pdfTeX if an ASCII engine is in use
     if next(asciiengines) then
diff --git a/l3build.dtx b/l3build.dtx
index e48fd8b..8cc7534 100644
--- a/l3build.dtx
+++ b/l3build.dtx
@@ -845,6 +845,9 @@
 %     \texttt{\cs{\meta{type}}\meta{...}}
 %   \item Conversion of box numbers in |\show| lines
 %     \texttt{>~\cs{box}\meta{number}=} to \texttt{>~\cs{box}...=}
+%   \item Conversion of Lua data reference ids
+%     \texttt{<lua data reference \meta{number}>} to
+%     \texttt{<lua data reference ...>}
 %   \item Removal of some (u)p\TeX{} data where it is equivalent to
 %     \pdfTeX{} (|yoko direction|, |\displace 0.0|)
 % \end{itemize}





More information about the latex3-commits mailing list