diff options
author | Norbert Preining <norbert@preining.info> | 2020-03-17 03:02:12 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2020-03-17 03:02:12 +0000 |
commit | 35730d4ce115914408c09833060f86cc84fc0d14 (patch) | |
tree | 232b6bce7565f31a777d6659e948963ee3211ef7 /macros/latex/contrib/l3build/l3build-check.lua | |
parent | d50a41b6ab3d05fe5605a3a3b50ff68f61059296 (diff) |
CTAN sync 202003170302
Diffstat (limited to 'macros/latex/contrib/l3build/l3build-check.lua')
-rw-r--r-- | macros/latex/contrib/l3build/l3build-check.lua | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/macros/latex/contrib/l3build/l3build-check.lua b/macros/latex/contrib/l3build/l3build-check.lua index 1487d37254..9f83b93412 100644 --- a/macros/latex/contrib/l3build/l3build-check.lua +++ b/macros/latex/contrib/l3build/l3build-check.lua @@ -225,7 +225,9 @@ local function normalize_log(content,engine,errlevels) end end -- Remove the \special line that in DVI mode keeps PDFs comparable - if match(line, "^%.*\\special%{pdf: docinfo << /Creator") then + if match(line, "^%.*\\special%{pdf: docinfo << /Creator") or + match(line, "^%.*\\special%{ps: /setdistillerparams") or + match(line, "^%.*\\special%{! <</........UUID") then return "" end -- Remove \special lines for DVI .pro files @@ -540,7 +542,7 @@ local function normalize_pdf(content) elseif not match(line, "^ *$") and not match(line,"^%%%%Invocation") and not match(line,"^%%%%%+") then - line = gsub(line,"%/ID %[<[^>]+><[^>]+>]","/ID [<ID-STRING><ID-STRING>]") + line = gsub(line,"%/ID( ?)%[<[^>]+><[^>]+>]","/ID%1[<ID-STRING><ID-STRING>]") new_content = new_content .. line .. os_newline end end |