[latex3-commits] [git/LaTeX3-latex3-pdfresources] main: rename bdc_obj to bdcobject (5f789ee)

Ulrike Fischer fischer at troubleshooting-tex.de
Sun Feb 14 21:06:27 CET 2021


Repository : https://github.com/latex3/pdfresources
On branch  : main
Link       : https://github.com/latex3/pdfresources/commit/5f789ee2c2daee71326f53531592c8ad0eedb810

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

commit 5f789ee2c2daee71326f53531592c8ad0eedb810
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Sun Feb 14 21:06:27 2021 +0100

    rename bdc_obj to bdcobject


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

5f789ee2c2daee71326f53531592c8ad0eedb810
 hyperref-generic.dtx               |  4 ++--
 l3backend-pdf-extra.dtx            | 32 ++++++++++++++++----------------
 l3pdftools.dtx                     | 20 ++++++++++----------
 testfiles-dvips/bdc-properties.pvt |  8 ++++----
 testfiles/bdc-properties.pvt       |  8 ++++----
 5 files changed, 36 insertions(+), 36 deletions(-)

diff --git a/hyperref-generic.dtx b/hyperref-generic.dtx
index 430836c..72ce4d3 100644
--- a/hyperref-generic.dtx
+++ b/hyperref-generic.dtx
@@ -2412,10 +2412,10 @@
              \hbox_set_end:
                \mbox
                  {
-                   \pdf_bdc_obj:nn {OC}{l_@@_ocg_print_dict_obj}
+                   \pdf_bdcobject:nn {OC}{l_@@_ocg_print_dict_obj}
                    \hbox_overlap_right:n { \box_use:N \l_@@_tmpa_box }
                    \pdf_emc:
-                   \pdf_bdc_obj:nn {OC}{l_@@_ocg_view_dict_obj}
+                   \pdf_bdcobject:nn {OC}{l_@@_ocg_view_dict_obj}
                    \group_begin:
                    \color_select:n { hyp/color/#1 }
                    \box_use_drop:N \l_@@_tmpa_box
diff --git a/l3backend-pdf-extra.dtx b/l3backend-pdf-extra.dtx
index a32c30f..1b61371 100644
--- a/l3backend-pdf-extra.dtx
+++ b/l3backend-pdf-extra.dtx
@@ -659,13 +659,13 @@
 % \begin{macro}
 %   {
 %     \@@_backend_bdc:nn,
-%     \@@_backend_bdc_obj:nn,
-%     \@@_backend_bdc_obj:n,
+%     \@@_backend_bdcobject:nn,
+%     \@@_backend_bdcobject:n,
 %     \@@_backend_bmc:n,
 %     \@@_backend_emc:,
 %     \@@_backend_PageResources_gpush:n
 %   }
-% \cs{@@_backend_bdc:nn}, \cs{@@_backend_bdc_obj:nn}, \cs{@@_backend_bdc_obj:n},
+% \cs{@@_backend_bdc:nn}, \cs{@@_backend_bdcobject:nn}, \cs{@@_backend_bdcobject:n},
 % \cs{@@_backend_bmc:n} and \cs{@@_backend_emc:}
 %  are the backend command that
 %  create the bdc/emc marker and store the properties.
@@ -688,11 +688,11 @@
   {
     \__pdf_backend_pdfmark:x{/#1~<<#2>>~/BDC}
   }
-\cs_set_protected:Npn \@@_backend_bdc_obj:nn #1 #2 % #1 eg. Span, #2: object name
+\cs_set_protected:Npn \@@_backend_bdcobject:nn #1 #2 % #1 eg. Span, #2: object name
   {
     \__pdf_backend_pdfmark:x{/#1~\@@_backend_object_ref:n{#2}~/BDC}
   }
-\cs_set_protected:Npn \@@_backend_bdc_obj:n #1  % #1 eg. Span,
+\cs_set_protected:Npn \@@_backend_bdcobject:n #1  % #1 eg. Span,
   {
     \__pdf_backend_pdfmark:x{/#1~\@@_backend_object_last:~/BDC}
   }
@@ -712,9 +712,9 @@
 %
 \cs_set_protected:Npn \@@_backend_bdc:nn #1 #2 % #1 eg. Span, #2: dict_content
   {}
-\cs_set_protected:Npn \@@_backend_bdc_obj:nn #1 #2 % #1 eg. Span, #2: object name
+\cs_set_protected:Npn \@@_backend_bdcobject:nn #1 #2 % #1 eg. Span, #2: object name
   {}
-\cs_set_protected:Npn \@@_backend_bdc_obj:n #1  % #1 eg. Span,
+\cs_set_protected:Npn \@@_backend_bdcobject:n #1  % #1 eg. Span,
   {}
 \cs_set_protected:Npn \@@_backend_emc:
   {}
@@ -731,7 +731,7 @@
 % the property is added to xform resources automatically,
 % no need to worry about it.
 %<*dvipdfmx|xdvipdfmx>
- \cs_set_protected:Npn \@@_backend_bdc_obj:nn #1 #2 % #1 eg. Span, #2: object name
+ \cs_set_protected:Npn \@@_backend_bdcobject:nn #1 #2 % #1 eg. Span, #2: object name
    {
      \int_gincr:N \g_@@_backend_name_int
      \__kernel_backend_literal:x
@@ -750,7 +750,7 @@
            >>
        }
    }
- \cs_set_protected:Npn \@@_backend_bdc_obj:n #1  % #1 eg. Span
+ \cs_set_protected:Npn \@@_backend_bdcobject:n #1  % #1 eg. Span
    {
      \int_gincr:N \g_@@_backend_name_int
      \__kernel_backend_literal:x
@@ -778,7 +778,7 @@
 \cs_set_protected:Npn \@@_backend_bdc_contobj:nn #1 #2
   {
     \pdf_object_now:nn { dict }{ #2 }
-    \@@_backend_bdc_obj:n { #1 }
+    \@@_backend_bdcobject:n { #1 }
   }
 
 \cs_set_protected:Npn \@@_backend_bdc_contstream:nn #1 #2
@@ -816,7 +816,7 @@
 %</dvipdfmx|xdvipdfmx>
 % luatex + pdftex
 %<*luatex>
-\cs_set_protected:Npn \@@_backend_bdc_obj:nn #1 #2 % #1 eg. Span, #2: object name
+\cs_set_protected:Npn \@@_backend_bdcobject:nn #1 #2 % #1 eg. Span, #2: object name
   {
     \int_gincr:N \g_@@_backend_name_int
     \exp_args:Nx\__kernel_backend_literal_page:n
@@ -840,7 +840,7 @@
           }
       }
   }
-\cs_set_protected:Npn \@@_backend_bdc_obj:n #1% #1 eg. Span
+\cs_set_protected:Npn \@@_backend_bdcobject:n #1% #1 eg. Span
   {
     \int_gincr:N \g_@@_backend_name_int
     \exp_args:Nx\__kernel_backend_literal_page:n
@@ -871,7 +871,7 @@
 \cs_set_protected:Npn \@@_backend_bdc_contobj:nn #1 #2
   {
     \pdf_object_now:nn { dict } { #2 }
-    \@@_backend_bdc_obj:n { #1 }
+    \@@_backend_bdcobject:n { #1 }
   }
 \cs_set_protected:Npn \@@_backend_bdc_contstream:nn #1 #2
   {
@@ -894,7 +894,7 @@
 %<*pdftex>
 % pdflatex is the most complicated as it has to go through the aux ...
 % the push command is extended to take other resources too
-\cs_set_protected:Npn \@@_backend_bdc_obj:nn #1 #2 % #1 eg. Span, #2: object name
+\cs_set_protected:Npn \@@_backend_bdcobject:nn #1 #2 % #1 eg. Span, #2: object name
   {
     \int_gincr:N \g_@@_backend_name_int
     \exp_args:Nx\__kernel_backend_literal_page:n
@@ -933,7 +933,7 @@
           { \@@_backend_object_ref:n{#2} }
       }
   }
-\cs_set_protected:Npn \@@_backend_bdc_obj:n #1% #1 eg. Span
+\cs_set_protected:Npn \@@_backend_bdcobject:n #1% #1 eg. Span
   {
     \int_gincr:N \g_@@_backend_name_int
     \exp_args:Nx\__kernel_backend_literal_page:n
@@ -980,7 +980,7 @@
 \cs_set_protected:Npn \@@_backend_bdc_contobj:nn #1 #2
    {
      \pdf_object_now:nn { dict } { #2 }
-     \@@_backend_bdc_obj:n { #1 }
+     \@@_backend_bdcobject:n { #1 }
    }
 \cs_set_protected:Npn \@@_backend_bdc_contstream:nn #1 #2
    {
diff --git a/l3pdftools.dtx b/l3pdftools.dtx
index 3ffbe74..a5081a2 100644
--- a/l3pdftools.dtx
+++ b/l3pdftools.dtx
@@ -130,7 +130,7 @@
 % dvips/ghostscript will automatically create the necessary objects and names.
 % To get a sensible abstraction the code does the same for the other backends if the
 % core management code has been activated. This means that the behaviour
-% of the command is different then. The \cs{pdf_bdc_obj:..} should only be used
+% of the command is different then. The \cs{pdf_bdcobject:..} should only be used
 % if the management is active.
 % \begin{function}[updated = 2020-07-03]
 %   {
@@ -151,10 +151,10 @@
 % \end{function}
 % \begin{function}[added = 2020-07-03]
 %   {
-%     \pdf_bdc_obj:nn
+%     \pdf_bdcobject:nn
 %   }
 %   \begin{syntax}
-%     \cs{pdf_bdc_obj:nn} \Arg{tag} \Arg{object name}
+%     \cs{pdf_bdcobject:nn} \Arg{tag} \Arg{object name}
 %   \end{syntax}
 %   This command adds a BDC marked content operator to the current page stream.
 %   \meta{tag} is the tag of this operator (without the leading slash),
@@ -167,16 +167,16 @@
 % \end{function}
 % \begin{function}[updated = 2020-07-03]
 %   {
-%     \pdf_bdc_obj:n
+%     \pdf_bdcobject:n
 %   }
 %   \begin{syntax}
-%     \cs{pdf_bdc_obj:n} \Arg{tag}
+%     \cs{pdf_bdcobject:n} \Arg{tag}
 %   \end{syntax}
 %    This command adds a BDC marked content operator to the current page stream.
 %   \meta{tag} is the tag of this operator (without the leading slash).
 %   As object this commands uses the last anonymous dictionary object created with
 %   \cs{pdf_object_now:nn}. It lies in the responsibility of the user that the last
-%   object is the wanted one. Like with \cs{pdf_bdc_obj:nn} the command works correctly
+%   object is the wanted one. Like with \cs{pdf_bdcobject:nn} the command works correctly
 %   only if the resources management has been activated and should be used only
 %   if this can be ensured.
 % \end{function}
@@ -425,15 +425,15 @@
 %
 % \subsubsection{BDC  operator commands}
 % \begin{macro}{\pdf_bdc:nn}
-% \begin{macro}{\pdf_bdc_obj:nn}
-% \begin{macro}{\pdf_bdc_obj:n}
+% \begin{macro}{\pdf_bdcobject:nn}
+% \begin{macro}{\pdf_bdcobject:n}
 % \begin{macro}{\pdf_bmc:n}
 % \begin{macro}{\pdf_emc:}
 %    \begin{macrocode}
 %<*package>
 \cs_new_protected:Npn  \pdf_bdc:nn #1 #2 { \@@_backend_bdc:nn { #1 }{ #2 } }
-\cs_new_protected:Npn  \pdf_bdc_obj:nn #1 #2 { \@@_backend_bdc_obj:nn { #1 }{ #2 } }
-\cs_new_protected:Npn  \pdf_bdc_obj:n #1     { \@@_backend_bdc_obj:n  { #1 } }
+\cs_new_protected:Npn  \pdf_bdcobject:nn #1 #2 { \@@_backend_bdcobject:nn { #1 }{ #2 } }
+\cs_new_protected:Npn  \pdf_bdcobject:n #1     { \@@_backend_bdcobject:n  { #1 } }
 \cs_new_protected:Npn  \pdf_bmc:n #1     { \@@_backend_bmc:n  { #1 } }
 \cs_new_protected:Npn  \pdf_emc:         { \@@_backend_emc: }
 %</package>
diff --git a/testfiles-dvips/bdc-properties.pvt b/testfiles-dvips/bdc-properties.pvt
index b2350d2..910c7eb 100644
--- a/testfiles-dvips/bdc-properties.pvt
+++ b/testfiles-dvips/bdc-properties.pvt
@@ -14,17 +14,17 @@
 \pdf_object_write:nn {objB}{/ActualText~(abc)}
 
 \vspace*{44\baselineskip}
-\pdf_bdc_obj:nn {Span}{objA}xxx
+\pdf_bdcobject:nn {Span}{objA}xxx
 \pdf_emc:
 \\
-\pdf_bdc_obj:nn {Span}{objA}xxx
+\pdf_bdcobject:nn {Span}{objA}xxx
 \pdf_emc:
 \\
-\pdf_bdc_obj:nn {Span}{objB}xxx
+\pdf_bdcobject:nn {Span}{objB}xxx
 \pdf_emc:
 
 \pdf_object_now:nn {dict}{/ActualText~(xyz)}
-\pdf_bdc_obj:n {Span}xx3
+\pdf_bdcobject:n {Span}xx3
 \pdf_emc:
 
 \ExplSyntaxOff
diff --git a/testfiles/bdc-properties.pvt b/testfiles/bdc-properties.pvt
index b2350d2..910c7eb 100644
--- a/testfiles/bdc-properties.pvt
+++ b/testfiles/bdc-properties.pvt
@@ -14,17 +14,17 @@
 \pdf_object_write:nn {objB}{/ActualText~(abc)}
 
 \vspace*{44\baselineskip}
-\pdf_bdc_obj:nn {Span}{objA}xxx
+\pdf_bdcobject:nn {Span}{objA}xxx
 \pdf_emc:
 \\
-\pdf_bdc_obj:nn {Span}{objA}xxx
+\pdf_bdcobject:nn {Span}{objA}xxx
 \pdf_emc:
 \\
-\pdf_bdc_obj:nn {Span}{objB}xxx
+\pdf_bdcobject:nn {Span}{objB}xxx
 \pdf_emc:
 
 \pdf_object_now:nn {dict}{/ActualText~(xyz)}
-\pdf_bdc_obj:n {Span}xx3
+\pdf_bdcobject:n {Span}xx3
 \pdf_emc:
 
 \ExplSyntaxOff





More information about the latex3-commits mailing list.