[latex3-commits] [git/LaTeX3-latex3-l3build] main: Normalize paren based PDF IDs (adc1416)

Joseph Wright joseph.wright at morningstar2.co.uk
Tue Aug 31 12:31:39 CEST 2021


Repository : https://github.com/latex3/l3build
On branch  : main
Link       : https://github.com/latex3/l3build/commit/adc1416c930264b975a954e2fe2779a39f608050

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

commit adc1416c930264b975a954e2fe2779a39f608050
Author: Marcel Fabian Krüger <tex at 2krueger.de>
Date:   Sun Aug 29 14:39:39 2021 +0200

    Normalize paren based PDF IDs


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

adc1416c930264b975a954e2fe2779a39f608050
 l3build-check.lua | 1 +
 1 file changed, 1 insertion(+)

diff --git a/l3build-check.lua b/l3build-check.lua
index 7215da6..3e80899 100644
--- a/l3build-check.lua
+++ b/l3build-check.lua
@@ -548,6 +548,7 @@ local function normalize_pdf(content)
       not match(line,"^%%%%Invocation") and
       not match(line,"^%%%%%+") then
       line = gsub(line,"%/ID( ?)%[<[^>]+><[^>]+>]","/ID%1[<ID-STRING><ID-STRING>]")
+      line = gsub(line,"%/ID( ?)%[(%b())%2%]","/ID%1[<ID-STRING><ID-STRING>]")
       new_content = new_content .. line .. os_newline
     end
   end





More information about the latex3-commits mailing list.