[latex3-commits] [git/LaTeX3-latex3-l3build] master: Normalise out DVI .pro header lines (a3c0c10)

Joseph Wright joseph.wright at morningstar2.co.uk
Mon Feb 3 23:00:50 CET 2020


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

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

commit a3c0c10669b80dc7e6f5d976f6fb0828788c70c2
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Mon Feb 3 22:00:50 2020 +0000

    Normalise out DVI .pro header lines


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

a3c0c10669b80dc7e6f5d976f6fb0828788c70c2
 CHANGELOG.md      | 3 +++
 l3build-check.lua | 4 ++++
 l3build.dtx       | 2 ++
 3 files changed, 9 insertions(+)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 49e0647..b433cca 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,9 @@ this project uses date-based 'snapshot' version identifiers.
 
 ## [Unreleased]
 
+### Changed
+- Normalise out DVI header lines
+
 ### Fixed
 - Allow announcement field to be empty
   (with a warning this suppresses the CTAN announcement)
diff --git a/l3build-check.lua b/l3build-check.lua
index ea55032..8bafe05 100644
--- a/l3build-check.lua
+++ b/l3build-check.lua
@@ -228,6 +228,10 @@ local function normalize_log(content,engine,errlevels)
     if match(line, "^%.*\\special%{pdf: docinfo << /Creator") then
       return ""
     end
+     -- Remove \special lines for DVI .pro files
+    if match(line, "^%.*\\special%{header=") then
+      return ""
+    end
     if match(line, "^%.*\\special%{dvipdfmx:config") then
       return ""
     end
diff --git a/l3build.dtx b/l3build.dtx
index c63a4bf..5a77d6d 100644
--- a/l3build.dtx
+++ b/l3build.dtx
@@ -850,6 +850,8 @@
 %     \texttt{<lua data reference ...>}
 %   \item Removal of some (u)p\TeX{} data where it is equivalent to
 %     \pdfTeX{} (|yoko direction|, |\displace 0.0|)
+%   \item Removal of various |\special| lines inserted due to the build
+%     process
 % \end{itemize}
 %
 % \LuaTeX{} makes several additional changes to the log file. As normalising





More information about the latex3-commits mailing list.