[latex3-commits] [git/LaTeX3-latex3-latex3] master: Some renames (9d09f2e)

Joseph Wright joseph.wright at morningstar2.co.uk
Tue Apr 30 15:22:30 CEST 2019


Repository : https://github.com/latex3/latex3
On branch  : master
Link       : https://github.com/latex3/latex3/commit/9d09f2e8fe0a3e81be0ff28185205a0cb045feba

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

commit 9d09f2e8fe0a3e81be0ff28185205a0cb045feba
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Tue Apr 30 14:20:46 2019 +0100

    Some renames


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

9d09f2e8fe0a3e81be0ff28185205a0cb045feba
 l3kernel/l3drivers-pdf.dtx |   42 +++++++++++++++++++++++-------------------
 1 file changed, 23 insertions(+), 19 deletions(-)

diff --git a/l3kernel/l3drivers-pdf.dtx b/l3kernel/l3drivers-pdf.dtx
index c12daca..d5e04ba 100644
--- a/l3kernel/l3drivers-pdf.dtx
+++ b/l3kernel/l3drivers-pdf.dtx
@@ -257,11 +257,15 @@
 %
 % \begin{macro}
 %   {
-%     driver.annotation.border ,
-%     driver.annotation.ll     ,
-%     driver.annotation.ur     ,
-%     driver.link.ll           ,
-%     driver.link.ur           ,
+%     driver.rect        ,
+%     driver.save.ll     ,
+%     driver.save.ur     ,
+%     driver.save.linkll ,
+%     driver.save.linkur ,
+%     driver.llx         ,
+%     driver.lly         ,
+%     driver.urx         ,
+%     driver.ury
 %   }
 %   Functions for marking the limits of an annotation/link, plus drawing the
 %   border. We separate links for generic annotations to support adding a
@@ -269,23 +273,23 @@
 %    \begin{macrocode}
 \@@_postscript_header:n
   {
-    /driver.annotation.border
+    /driver.rect
       { /Rect [ driver.llx ~ driver.lly ~ driver.urx ~ driver.ury ] } def
-    /driver.annotation.ll
+    /driver.save.ll
       {
         currentpoint
         /driver.lly ~ exch ~ def
         /driver.llx ~ exch ~ def
       }
         def
-    /driver.annotation.ur
+    /driver.save.ur
       {
         currentpoint
         /driver.ury ~ exch ~ def
         /driver.urx ~ exch ~ def
       }
         def
-    /driver.link.ll
+    /driver.save.linkll
       {
         currentpoint ~
         driver.linkmargin ~ add ~
@@ -295,7 +299,7 @@
         /driver.llx ~ exch ~ def
       }
         def
-    /driver.link.ur
+    /driver.save.linkur
       {
         currentpoint ~
         driver.linkmargin ~ sub ~
@@ -465,7 +469,7 @@
                 currentpoint ~ driver.originy ~ ne ~ exch ~
                   driver.originx ~ ne ~ or
                   {
-                    driver.link.ll
+                    driver.save.linkll
                     /driver.lly ~
                       driver.lly ~ driver.outerbox ~ 1 ~ get ~ sub ~ def ~
                     driver.bordertracking.begin
@@ -486,7 +490,7 @@
                 currentpoint ~
                 driver.originy ~ ne ~ exch ~ driver.originx ~ ne ~ or
                   {
-                    driver.link.ll
+                    driver.save.linkll
                     /driver.lly ~
                       driver.lly ~ driver.outerbox ~ 1 ~ get ~ sub ~ def ~
                     driver.bordertracking.begin
@@ -734,7 +738,7 @@
       {
       
         /_objdef { driver.obj \int_use:N \g_@@_pdf_object_int }
-        driver.annotation.border ~
+        driver.rect ~
         #4 ~
         /ANN
       }
@@ -742,14 +746,14 @@
 \cs_new_protected:Npn \@@_pdf_annotation:nnnn #1#2#3#4
   {
     \box_move_down:nn {#3}
-      { \hbox:n { \@@_postscript:n { driver.annotation.ll } } }
+      { \hbox:n { \@@_postscript:n { driver.save.ll } } }
     \hbox:n {#4}
     \box_move_up:nn {#2}
       {
         \hbox:n
           {
             \tex_kern:D \dim_eval:n {#1} \scan_stop:
-            \@@_postscript:n { driver.annotation.ur }
+            \@@_postscript:n { driver.save.ur }
           }
       }
     \int_gincr:N \g_@@_pdf_object_int
@@ -757,7 +761,7 @@
     \@@_pdfmark:x
       {
         /_objdef { driver.obj \int_use:N \g_@@_pdf_object_int }
-        driver.annotation.border ~
+        driver.rect ~
         \c_@@_pdf_AR_fix_tl
         /ANN
       }
@@ -909,20 +913,20 @@
 %</package>
       }
     \box_move_down:nn { \box_dp:N \l_@@_pdf_content_box }
-      { \hbox:n { \@@_postscript:n { driver.link.ll } } }
+      { \hbox:n { \@@_postscript:n { driver.save.linkll } } }
     \@@_postscript:n { driver.bordertracking.begin }
     \hbox_unpack:N \l_@@_pdf_content_box
     \@@_postscript:n { driver.bordertracking.end }
     \box_move_up:nn { \box_ht:N \l_@@_pdf_content_box }
       {
         \hbox:n
-          { \@@_postscript:n { driver.link.ur } }
+          { \@@_postscript:n { driver.save.linkur } }
       }
     \@@_postscript:x
       {
         mark
         \g_@@_pdf_link_dict_tl /Subtype /Link ~
-        driver.annotation.border
+        driver.rect
         /ANN ~ driver.pdfmark
       }
     \@@_pdf_link_sf_restore:





More information about the latex3-commits mailing list