[latex3-commits] [git/LaTeX3-latex3-pdfresources] renamedict77: rename lua functions (3d08ee4)
Ulrike Fischer
fischer at troubleshooting-tex.de
Sun Apr 12 16:04:20 CEST 2020
Repository : https://github.com/latex3/pdfresources
On branch : renamedict77
Link : https://github.com/latex3/pdfresources/commit/3d08ee4ac6d72b6c5c795d5870f56b361dd1627f
>---------------------------------------------------------------
commit 3d08ee4ac6d72b6c5c795d5870f56b361dd1627f
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date: Sun Apr 12 16:04:20 2020 +0200
rename lua functions
>---------------------------------------------------------------
3d08ee4ac6d72b6c5c795d5870f56b361dd1627f
pdfresources.dtx | 16 ++++++++--------
testfiles/pagelabels-log.luatex.tlg | 20 ++++++++++----------
testfiles/show.luatex.tlg | 4 ++--
testfiles/version-compare.luatex.tlg | 4 ++--
4 files changed, 22 insertions(+), 22 deletions(-)
diff --git a/pdfresources.dtx b/pdfresources.dtx
index b670425..81ced74 100644
--- a/pdfresources.dtx
+++ b/pdfresources.dtx
@@ -1139,13 +1139,13 @@
{
\tex_latelua:D
{
- l3kernel.@@.backend_PageN_gput
+ l3kernel.@@.backend_ThisPage_gput
(
tex.count["g_@@_abspage_int"],
\@@_backend_luastring:n { #1 },
\@@_backend_luastring:n { #2 }
)
- l3kernel.@@.backend_PageN_gpush (tex.count["g_@@_abspage_int"])
+ l3kernel.@@.backend_ThisPage_gpush (tex.count["g_@@_abspage_int"])
}
}
%the code to push the values, used in shipout
@@ -1156,7 +1156,7 @@
{
\tex_latelua:D
{
- l3kernel.@@.backend_PageN_gpush (tex.count["g_@@_abspage_int"])
+ l3kernel.@@.backend_ThisPage_gpush (tex.count["g_@@_abspage_int"])
}
}
}
@@ -3598,11 +3598,11 @@ local function @@_backend_ThisPage_gpush (page)
return token
end
-function l3kernel.@@.backend_PageN_gput (page,name,value) -- tex.count["g_@@_abspage_int"]
+function l3kernel.@@.backend_ThisPage_gput (page,name,value) -- tex.count["g_@@_abspage_int"]
@@_backend_ThisPage_gput (page,name,value)
end
-function l3kernel.@@.backend_PageN_gpush (page)
+function l3kernel.@@.backend_ThisPage_gpush (page)
pdf.setpageattributes(@@_backend_ThisPage_gpush (page))
end
@@ -3621,7 +3621,7 @@ end
local Properties = l3kernel.@@.Page.Resources.Properties
local ResourceList= l3kernel.@@.Page.Resources.List
-local function @@_backend_PageN_Resources_gpush (page)
+local function @@_backend_PageResources_gpush (page)
local token=""
if Properties[page] then
-- we sort the table, so that the pdf test works
@@ -3647,11 +3647,11 @@ end
function l3kernel.pdf.Page_Resources_Properties_gput (page,name,value) -- tex.count["g_@@_abspage_int"]
Properties[page] = Properties[page] or {}
Properties[page][name]=value
- pdf.setpageresources(@@_backend_PageN_Resources_gpush (page))
+ pdf.setpageresources(@@_backend_PageResources_gpush (page))
end
function l3kernel.pdf.Page_Resources_gpush(page)
- pdf.setpageresources(@@_backend_PageN_Resources_gpush (page))
+ pdf.setpageresources(@@_backend_PageResources_gpush (page))
end
function l3kernel.pdf.object_ref (objname)
diff --git a/testfiles/pagelabels-log.luatex.tlg b/testfiles/pagelabels-log.luatex.tlg
index 526d335..21e52b1 100644
--- a/testfiles/pagelabels-log.luatex.tlg
+++ b/testfiles/pagelabels-log.luatex.tlg
@@ -4,8 +4,8 @@ Completed box being shipped out [1]
\vbox(633.0+0.0)x407.0, direction TLT
.\hbox(0.0+0.0)x0.0, direction TLT
.\hbox(0.0+0.0)x0.0, direction TLT
-..\latelua0{l3kernel.__pdf.backend_PageN_gpush(tex.count["g__pdf_abspage_int"])
-}
+..\latelua0{l3kernel.__pdf.backend_ThisPage_gpush(tex.count["g__pdf_abspage_int
+"]\ETC.}
.\vbox(0.0+0.0)x0.0, glue set - 14.99626fil, direction TLT
..\kern0.0
..\kern16.0
@@ -68,8 +68,8 @@ Missing character: There is no γ (U+03B3) in font [lmroman10-regular]:+tlig;!
Completed box being shipped out [2]
\vbox(633.0+0.0)x407.0, direction TLT
.\hbox(0.0+0.0)x0.0, direction TLT
-..\latelua0{l3kernel.__pdf.backend_PageN_gpush(tex.count["g__pdf_abspage_int"])
-}
+..\latelua0{l3kernel.__pdf.backend_ThisPage_gpush(tex.count["g__pdf_abspage_int
+"]\ETC.}
.\vbox(0.0+0.0)x0.0, glue set - 14.99626fil, direction TLT
..\kern0.0
..\kern16.0
@@ -129,8 +129,8 @@ Missing character: There is no γ (U+03B3) in font [lmroman10-regular]:+tlig;!
Completed box being shipped out [3]
\vbox(633.0+0.22)x407.0, direction TLT
.\hbox(0.0+0.0)x0.0, direction TLT
-..\latelua0{l3kernel.__pdf.backend_PageN_gpush(tex.count["g__pdf_abspage_int"])
-}
+..\latelua0{l3kernel.__pdf.backend_ThisPage_gpush(tex.count["g__pdf_abspage_int
+"]\ETC.}
.\vbox(0.0+0.0)x0.0, glue set - 14.99626fil, direction TLT
..\kern0.0
..\kern16.0
@@ -190,8 +190,8 @@ Missing character: There is no γ (U+03B3) in font [lmroman10-regular]:+tlig;!
Completed box being shipped out [1]
\vbox(633.0+0.0)x407.0, direction TLT
.\hbox(0.0+0.0)x0.0, direction TLT
-..\latelua0{l3kernel.__pdf.backend_PageN_gpush(tex.count["g__pdf_abspage_int"])
-}
+..\latelua0{l3kernel.__pdf.backend_ThisPage_gpush(tex.count["g__pdf_abspage_int
+"]\ETC.}
.\vbox(0.0+0.0)x0.0, glue set - 14.99626fil, direction TLT
..\kern0.0
..\kern16.0
@@ -242,8 +242,8 @@ Completed box being shipped out [1]
Completed box being shipped out [5]
\vbox(633.0+0.22)x407.0, direction TLT
.\hbox(0.0+0.0)x0.0, direction TLT
-..\latelua0{l3kernel.__pdf.backend_PageN_gpush(tex.count["g__pdf_abspage_int"])
-}
+..\latelua0{l3kernel.__pdf.backend_ThisPage_gpush(tex.count["g__pdf_abspage_int
+"]\ETC.}
.\vbox(0.0+0.0)x0.0, glue set - 14.99626fil, direction TLT
..\kern0.0
..\kern16.0
diff --git a/testfiles/show.luatex.tlg b/testfiles/show.luatex.tlg
index 6776f2a..d46181d 100644
--- a/testfiles/show.luatex.tlg
+++ b/testfiles/show.luatex.tlg
@@ -33,8 +33,8 @@ Completed box being shipped out [1]
.\glue(\lineskip) 0.0
.\vbox(633.0+0.0)x407.0, direction TLT
..\hbox(0.0+0.0)x0.0, direction TLT
-...\latelua0{l3kernel.__pdf.backend_PageN_gpush(tex.count["g__pdf_abspage_int"]
-)}
+...\latelua0{l3kernel.__pdf.backend_ThisPage_gpush(tex.count["g__pdf_abspage_in
+t"]\ETC.}
..\glue 16.0
..\vbox(617.0+0.0)x345.0, shifted 62.0, direction TLT
...\vbox(12.0+0.0)x345.0, glue set 12.0fil, direction TLT
diff --git a/testfiles/version-compare.luatex.tlg b/testfiles/version-compare.luatex.tlg
index d31efa7..f85391d 100644
--- a/testfiles/version-compare.luatex.tlg
+++ b/testfiles/version-compare.luatex.tlg
@@ -7,8 +7,8 @@ LaTeX Font Info: External font `cmex10' loaded for size
Completed box being shipped out [1]
\vbox(633.0+0.0)x407.0, direction TLT
.\hbox(0.0+0.0)x0.0, direction TLT
-..\latelua0{l3kernel.__pdf.backend_PageN_gpush(tex.count["g__pdf_abspage_int"])
-}
+..\latelua0{l3kernel.__pdf.backend_ThisPage_gpush(tex.count["g__pdf_abspage_int
+"]\ETC.}
.\glue 16.0
.\vbox(617.0+0.0)x345.0, shifted 62.0, direction TLT
..\vbox(12.0+0.0)x345.0, glue set 12.0fil, direction TLT
More information about the latex3-commits
mailing list.