[latex3-commits] [git/LaTeX3-latex3-latex3] master: linklast for xdvipdfmx: correct int name, increase, avoid obj name clash (189189dbe)

Joseph Wright joseph.wright at morningstar2.co.uk
Mon Dec 28 11:45:28 CET 2020


Repository : https://github.com/latex3/latex3
On branch  : master
Link       : https://github.com/latex3/latex3/commit/189189dbe6cacd56c06ed32ddd0965b6417fc569

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

commit 189189dbe6cacd56c06ed32ddd0965b6417fc569
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


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

189189dbe6cacd56c06ed32ddd0965b6417fc569
 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.