From 1f4514749cf24d0bff87323fb504b2f0c6f6ef1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcel=20Fabian=20Kr=C3=BCger?= Date: Sun, 18 Feb 2024 22:52:22 +0100 Subject: [PATCH 1/2] Avoid issues when object number reaches 2^16 Fixes #97. --- tagpdf-backend.dtx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tagpdf-backend.dtx b/tagpdf-backend.dtx index b85ea8a9..c1c1d580 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 From 1e75d36f6ac72ba123a85eaec773b90e491e760c Mon Sep 17 00:00:00 2001 From: Ulrike Fischer Date: Sun, 18 Feb 2024 23:26:18 +0100 Subject: [PATCH 2/2] changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index d12fa75f..58c7547b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ this project uses date-based 'snapshot' version identifiers. ## [Unreleased] ### Fixed - missing slashes in dvilualatex backend, issue #96 + - lua error with large object numbers, issue #97 ### Changed - speed gain by using linked properties