[latex3-commits] [git/LaTeX3-latex3-latex3] main: Keep UF happy ; ) (5a4ccf176)

Joseph Wright joseph.wright at morningstar2.co.uk
Tue Aug 23 22:14:49 CEST 2022


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

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

commit 5a4ccf176b8341bc177a69a6270afaa51d021882
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Tue Aug 23 21:14:49 2022 +0100

    Keep UF happy ;)


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

5a4ccf176b8341bc177a69a6270afaa51d021882
 l3kernel/l3pdf.dtx                              | 7 ++++++-
 l3kernel/testfiles-backend/m3color003.tlg       | 8 ++++++++
 l3kernel/testfiles-backend/m3color003.xetex.tlg | 8 ++++++++
 3 files changed, 22 insertions(+), 1 deletion(-)

diff --git a/l3kernel/l3pdf.dtx b/l3kernel/l3pdf.dtx
index d3254eb79..1591aac2a 100644
--- a/l3kernel/l3pdf.dtx
+++ b/l3kernel/l3pdf.dtx
@@ -350,7 +350,12 @@
 %   backend-specific name.
 %    \begin{macrocode}
 \cs_new_protected:Npn \pdf_object_new:n #1
-  { \@@_backend_object_new:n {#1} }
+  {
+    \@@_backend_object_new:n {#1}
+    \cs_new_eq:cc
+      { c_@@_backend_object_ \tl_to_str:n {#1} _int }
+      { c_@@_object_ \tl_to_str:n {#1} _int }
+  }
 \cs_new_protected:Npn \pdf_object_write:nnn #1#2#3
   {
     \@@_backend_object_write:nnn {#1} {#2} {#3}
diff --git a/l3kernel/testfiles-backend/m3color003.tlg b/l3kernel/testfiles-backend/m3color003.tlg
index 0fe16eeec..bcb288460 100644
--- a/l3kernel/testfiles-backend/m3color003.tlg
+++ b/l3kernel/testfiles-backend/m3color003.tlg
@@ -217,6 +217,7 @@ Defining \c__color_fallback_BarToneCMYK_tl on line ...
 Defining \__color_convert_BarToneCMYK_cmyk:w on line ...
 Defining \__color_convert_cmyk_BarToneCMYK:w on line ...
 Defining \c__pdf_object_color1_int on line ...
+Defining \c__pdf_backend_object_color1_int on line ...
 Defining \l__color_named_fooCMYK_tl on line ...
 Defining \l__color_named_fooCMYK_prop on line ...
 The color fooCMYK has the properties:
@@ -234,6 +235,7 @@ Defining \c__color_fallback_BarToneRGB_tl on line ...
 Defining \__color_convert_BarToneRGB_rgb:w on line ...
 Defining \__color_convert_rgb_BarToneRGB:w on line ...
 Defining \c__pdf_object_color2_int on line ...
+Defining \c__pdf_backend_object_color2_int on line ...
 Defining \l__color_named_fooRGB_tl on line ...
 Defining \l__color_named_fooRGB_prop on line ...
 The color fooRGB has the properties:
@@ -251,6 +253,7 @@ Defining \c__color_fallback_BarToneGray_tl on line ...
 Defining \__color_convert_BarToneGray_gray:w on line ...
 Defining \__color_convert_gray_BarToneGray:w on line ...
 Defining \c__pdf_object_color3_int on line ...
+Defining \c__pdf_backend_object_color3_int on line ...
 Defining \l__color_named_fooGray_tl on line ...
 Defining \l__color_named_fooGray_prop on line ...
 The color fooGray has the properties:
@@ -265,7 +268,9 @@ Defining \__color_model_BarToneCIELAB_white: on line ...
 Defining \__color_parse_mix_BarToneCIELAB:nw on line ...
 Defining \__color_parse_model_BarToneCIELAB:w on line ...
 Defining \c__pdf_object___color_illuminant_CIELAB_d65_int on line ...
+Defining \c__pdf_backend_object___color_illuminant_CIELAB_d65_int on line ..
 Defining \c__pdf_object_color4_int on line ...
+Defining \c__pdf_backend_object_color4_int on line ...
 Defining \c__color_fallback_BarToneCIELAB_tl on line ...
 Defining \__color_convert_BarToneCIELAB_gray:w on line ...
 Defining \__color_convert_gray_BarToneCIELAB:w on line ...
@@ -426,6 +431,7 @@ Defining \__color_model_TwoUp_white: on line ...
 Defining \__color_parse_model_TwoUp:w on line ...
 Defining \__color_parse_mix_TwoUp:nw on line ...
 Defining \c__pdf_object_color5_int on line ...
+Defining \c__pdf_backend_object_color5_int on line ...
 Defining \c__color_fallback_TwoUp_tl on line ...
 Defining \__color_convert_cmyk_TwoUp:w on line ...
 Defining \__color_convert_TwoUp_cmyk:w on line ...
@@ -448,6 +454,7 @@ Defining \__color_model_AllIn_white: on line ...
 Defining \__color_parse_model_AllIn:w on line ...
 Defining \__color_parse_mix_AllIn:nw on line ...
 Defining \c__pdf_object_color6_int on line ...
+Defining \c__pdf_backend_object_color6_int on line ...
 Defining \c__color_fallback_AllIn_tl on line ...
 Defining \__color_convert_cmyk_AllIn:w on line ...
 Defining \__color_convert_AllIn_cmyk:w on line ...
@@ -487,6 +494,7 @@ Defining \__color_convert_gray_ICC:w on line ...
 Defining \__color_parse_model_ICC:w on line ...
 Defining \__color_parse_mix_ICC:nw on line ...
 Defining \c__pdf_object___color_icc_sRGB_v4_ICC_preference.icc_int on line ...
+Defining \c__pdf_backend_object___color_icc_sRGB_v4_ICC_preference.icc_int on line ...
 <<sRGB_v4_ICC_preference.icc>>
 Defining \l__color_named_ICC3_tl on line ...
 Defining \l__color_named_ICC3_prop on line ...
diff --git a/l3kernel/testfiles-backend/m3color003.xetex.tlg b/l3kernel/testfiles-backend/m3color003.xetex.tlg
index 2ef8556bd..8d9acbb1c 100644
--- a/l3kernel/testfiles-backend/m3color003.xetex.tlg
+++ b/l3kernel/testfiles-backend/m3color003.xetex.tlg
@@ -217,6 +217,7 @@ Defining \c__color_fallback_BarToneCMYK_tl on line ...
 Defining \__color_convert_BarToneCMYK_cmyk:w on line ...
 Defining \__color_convert_cmyk_BarToneCMYK:w on line ...
 Defining \c__pdf_object_color1_int on line ...
+Defining \c__pdf_backend_object_color1_int on line ...
 Defining \l__color_named_fooCMYK_tl on line ...
 Defining \l__color_named_fooCMYK_prop on line ...
 The color fooCMYK has the properties:
@@ -234,6 +235,7 @@ Defining \c__color_fallback_BarToneRGB_tl on line ...
 Defining \__color_convert_BarToneRGB_rgb:w on line ...
 Defining \__color_convert_rgb_BarToneRGB:w on line ...
 Defining \c__pdf_object_color2_int on line ...
+Defining \c__pdf_backend_object_color2_int on line ...
 Defining \l__color_named_fooRGB_tl on line ...
 Defining \l__color_named_fooRGB_prop on line ...
 The color fooRGB has the properties:
@@ -251,6 +253,7 @@ Defining \c__color_fallback_BarToneGray_tl on line ...
 Defining \__color_convert_BarToneGray_gray:w on line ...
 Defining \__color_convert_gray_BarToneGray:w on line ...
 Defining \c__pdf_object_color3_int on line ...
+Defining \c__pdf_backend_object_color3_int on line ...
 Defining \l__color_named_fooGray_tl on line ...
 Defining \l__color_named_fooGray_prop on line ...
 The color fooGray has the properties:
@@ -265,7 +268,9 @@ Defining \__color_model_BarToneCIELAB_white: on line ...
 Defining \__color_parse_mix_BarToneCIELAB:nw on line ...
 Defining \__color_parse_model_BarToneCIELAB:w on line ...
 Defining \c__pdf_object___color_illuminant_CIELAB_d65_int on line ...
+Defining \c__pdf_backend_object___color_illuminant_CIELAB_d65_int on line ..
 Defining \c__pdf_object_color4_int on line ...
+Defining \c__pdf_backend_object_color4_int on line ...
 Defining \c__color_fallback_BarToneCIELAB_tl on line ...
 Defining \__color_convert_BarToneCIELAB_gray:w on line ...
 Defining \__color_convert_gray_BarToneCIELAB:w on line ...
@@ -426,6 +431,7 @@ Defining \__color_model_TwoUp_white: on line ...
 Defining \__color_parse_model_TwoUp:w on line ...
 Defining \__color_parse_mix_TwoUp:nw on line ...
 Defining \c__pdf_object_color5_int on line ...
+Defining \c__pdf_backend_object_color5_int on line ...
 Defining \c__color_fallback_TwoUp_tl on line ...
 Defining \__color_convert_cmyk_TwoUp:w on line ...
 Defining \__color_convert_TwoUp_cmyk:w on line ...
@@ -448,6 +454,7 @@ Defining \__color_model_AllIn_white: on line ...
 Defining \__color_parse_model_AllIn:w on line ...
 Defining \__color_parse_mix_AllIn:nw on line ...
 Defining \c__pdf_object_color6_int on line ...
+Defining \c__pdf_backend_object_color6_int on line ...
 Defining \c__color_fallback_AllIn_tl on line ...
 Defining \__color_convert_cmyk_AllIn:w on line ...
 Defining \__color_convert_AllIn_cmyk:w on line ...
@@ -487,6 +494,7 @@ Defining \__color_convert_gray_ICC:w on line ...
 Defining \__color_parse_model_ICC:w on line ...
 Defining \__color_parse_mix_ICC:nw on line ...
 Defining \c__pdf_object___color_icc_sRGB_v4_ICC_preference.icc_int on line ...
+Defining \c__pdf_backend_object___color_icc_sRGB_v4_ICC_preference.icc_int on line ...
 Defining \l__color_named_ICC3_tl on line ...
 Defining \l__color_named_ICC3_prop on line ...
 The color foo has the properties:





More information about the latex3-commits mailing list.