[latex3-commits] [git/LaTeX3-latex3-latex3] fix-xetex-links: linklast for xdvipdfmx: correct int name, increase, avoid obj name clash (50fa30421)
Ulrike Fischer
fischer at troubleshooting-tex.de
Sun Dec 27 00:00:16 CET 2020
Repository : https://github.com/latex3/latex3
On branch : fix-xetex-links
Link : https://github.com/latex3/latex3/commit/50fa30421ef7314726543ad7dfb367ab54a063ab
>---------------------------------------------------------------
commit 50fa30421ef7314726543ad7dfb367ab54a063ab
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date: Sun Dec 27 00:00:16 2020 +0100
linklast for xdvipdfmx: correct int name, increase, avoid obj name clash
>---------------------------------------------------------------
50fa30421ef7314726543ad7dfb367ab54a063ab
l3backend/l3backend-pdf.dtx | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/l3backend/l3backend-pdf.dtx b/l3backend/l3backend-pdf.dtx
index 6607ead69..2df2be340 100644
--- a/l3backend/l3backend-pdf.dtx
+++ b/l3backend/l3backend-pdf.dtx
@@ -1423,13 +1423,17 @@
{ \@@_backend_link_begin:n {#1#2} }
\cs_new_protected:Npx \@@_backend_link_begin:n #1
{
- \@@_backend:n
+ \int_compare:nNnF \c__kernel_sys_dvipdfmx_version_int < { 20201111 }
+ {
+ \exp_not:N \int_gincr:N \exp_not:N \g_@@_backend_link_int
+ }
+ \@@_backend:x
{
bann ~
\int_compare:nNnF \c__kernel_sys_dvipdfmx_version_int < { 20201111 }
{
- @pdf.obj
- \exp_not:N \int_use:N \exp_not:N \g_@@_backend_object_int
+ @pdf.lnk
+ \exp_not:N \int_use:N \exp_not:N \g_@@_backend_link_int
\c_space_tl
}
<<
@@ -1453,7 +1457,7 @@
{
\int_compare:nNnF \c__kernel_sys_dvipdfmx_version_int < { 20201111 }
{
- @pdf.obj
+ @pdf.lnk
\exp_not:N \int_use:N \exp_not:N \g_@@_backend_link_int
}
}
More information about the latex3-commits
mailing list.