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

Marcel Fabian Krüger tex at 2krueger.de
Sun Aug 29 14:39:39 CEST 2021


Repository : https://github.com/latex3/l3build
On branch  : parenid
Link       : https://github.com/latex3/l3build/commit/d8e5adcd70dfbb2560e2c989740d8bde2b1ac6bb

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

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

    Normalize paren based PDF IDs


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

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

diff --git a/l3build-check.lua b/l3build-check.lua
index f83dee4..8f4862f 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.