[latex3-commits] [latex3/tagpdf] fix-97: Avoid issues when object number reaches 2^16 (1f45147)
github at latex-project.org
github at latex-project.org
Sun Feb 18 22:53:29 CET 2024
Repository : https://github.com/latex3/tagpdf
On branch : fix-97
Link : https://github.com/latex3/tagpdf/commit/1f4514749cf24d0bff87323fb504b2f0c6f6ef1d
>---------------------------------------------------------------
commit 1f4514749cf24d0bff87323fb504b2f0c6f6ef1d
Author: Marcel Fabian Krüger <tex at 2krueger.de>
Date: Sun Feb 18 22:52:22 2024 +0100
Avoid issues when object number reaches 2^16
Fixes #97.
>---------------------------------------------------------------
1f4514749cf24d0bff87323fb504b2f0c6f6ef1d
tagpdf-backend.dtx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tagpdf-backend.dtx b/tagpdf-backend.dtx
index b85ea8a..c1c1d58 100644
--- a/tagpdf-backend.dtx
+++ b/tagpdf-backend.dtx
@@ -705,7 +705,7 @@ end
% \begin{macrocode}
local function @@_pdf_object_ref (name)
local tokenname = 'c__pdf_backend_object_'..name..'_int'
- local object = token.create(tokenname).index..' 0 R'
+ local object = token.create(tokenname).mode ..' 0 R'
return object
end
ltx.@@.func.pdf_object_ref=@@_pdf_object_ref
More information about the latex3-commits
mailing list.