Skip to content

Commit

Permalink
Update l3kernel and l3backend to 2024-01-04
Browse files Browse the repository at this point in the history
  • Loading branch information
josephwright committed Jan 4, 2024
1 parent 3c67ca5 commit 39d5ee5
Show file tree
Hide file tree
Showing 35 changed files with 604 additions and 620 deletions.
8 changes: 1 addition & 7 deletions base/testfiles-search/tlb-metadata-000.tlg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
This is a generated file for the LaTeX2e validation system.
Don't change this file in any respect.
(documentmetadata-support.ltx (../pdfmanagement-testphase.sty
(../documentmetadata-support.ltx (../pdfmanagement-testphase.sty
Package: pdfmanagement-testphase ....-..-.. v... LaTeX PDF management testphase bundle
(../tagpdf-base.sty
Package: tagpdf-base ....-..-.. v... part of tagpdf - provide base, no-op versions of the user commands
Expand All @@ -9,15 +9,9 @@ Package: tagpdf-base ....-..-.. v... part of tagpdf - provide base, no-op versio
) (../pdfmanagement-testphase.ltx
File: pdfmanagement-testphase.ltx ....-..-.. v... PDF management code (testphase)
\g__pdfmanagement_EmbeddedFiles_int=\count...
(../l3bitset.sty
Package: l3bitset ....-..-.. L3 Experimental bitset support
)
\l__pdfmeta_xmp_indent_int=\count...
))) (../l3backend-testphase-pdftex.def
File: l3backend-testphase-pdftex.def ....-..-.. LaTeX PDF management testphase bundle backend support:PDFoutput(pdfTeX)
(../l3ref-tmp.sty
Package: l3ref-tmp ....-..-.. L3 Experimental cross-referencing
)
\l__pdf_backend_tmpa_box=\box...
\l__pdf_backend_tmpb_box=\box...
\g__pdf_backend_resourceid_int=\count...
Expand Down
8 changes: 1 addition & 7 deletions base/testfiles-search/tlb-metadata-000.xetex.tlg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
This is a generated file for the LaTeX2e validation system.
Don't change this file in any respect.
(documentmetadata-support.ltx (../pdfmanagement-testphase.sty
(../documentmetadata-support.ltx (../pdfmanagement-testphase.sty
Package: pdfmanagement-testphase ....-..-.. v... LaTeX PDF management testphase bundle
(../tagpdf-base.sty
Package: tagpdf-base ....-..-.. v... part of tagpdf - provide base, no-op versions of the user commands
Expand All @@ -9,15 +9,9 @@ Package: tagpdf-base ....-..-.. v... part of tagpdf - provide base, no-op versio
) (../pdfmanagement-testphase.ltx
File: pdfmanagement-testphase.ltx ....-..-.. v... PDF management code (testphase)
\g__pdfmanagement_EmbeddedFiles_int=\count...
(../l3bitset.sty
Package: l3bitset ....-..-.. L3 Experimental bitset support
)
\l__pdfmeta_xmp_indent_int=\count...
))) (../l3backend-testphase-xetex.def
File: l3backend-testphase-xetex.def ....-..-.. LaTeX PDF management testphase bundle backend support:XeTeX
(../l3ref-tmp.sty
Package: l3ref-tmp ....-..-.. L3 Experimental cross-referencing
)
\l__pdf_backend_tmpa_box=\box...
\l__pdf_backend_tmpb_box=\box...
\g__pdf_backend_resourceid_int=\count...
Expand Down
2 changes: 1 addition & 1 deletion base/testfiles/github-0944.tlg
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ LaTeX Warning: Reference `unknown' on page 1 undefined on input line ....
] (github-0944.aux)
***********
-formatname- <-formatversion->
L3 programming layer <2023-12-11>
L3 programming layer <2024-01-04>
***********
*File List*
-show the file list here-
Expand Down
148 changes: 74 additions & 74 deletions texmf/dvips/l3backend/l3backend-dvips.pro
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
%%
%% l3backend-header.dtx (with options: `header,dvips')
%%
%% Copyright (C) 2019-2023 The LaTeX Project
%% Copyright (C) 2019-2024 The LaTeX Project
%%
%% It may be distributed and/or modified under the conditions of
%% the LaTeX Project Public License (LPPL), either version 1.3c of
Expand Down Expand Up @@ -100,8 +100,8 @@ false setglobal
pdf.dest.y pdf.tmpc mul add
pdf.dev.x add
pdf.dest.x pdf.tmpb mul
pdf.dest.y pdf.tmpd mul add
pdf.dev.y add
pdf.dest.y pdf.tmpd mul add
pdf.dev.y add
}
def
/pdf.bordertracking false def
Expand Down Expand Up @@ -249,83 +249,83 @@ false setglobal
{
counttomark /pdf.count exch def
{
pdf.count 0 eq { exit } if
counttomark 2 roll
1 index /Rect eq
{
dup 4 array copy
dup dup
1 get
pdf.outerbox pdf.rect.ht
pdf.linkmargin 2 mul add sub
3 exch put
dup
pdf.outerbox 2 get
pdf.linkmargin add
2 exch put
dup dup
3 get
pdf.outerbox pdf.rect.ht
pdf.linkmargin 2 mul add add
1 exch put
/pdf.currentrect exch def
pdf.breaklink.write
{
pdf.currentrect
dup
pdf.outerbox 0 get
pdf.linkmargin sub
0 exch put
dup
pdf.outerbox 2 get
pdf.linkmargin add
2 exch put
dup dup
1 get
pdf.baselineskip add
1 exch put
dup dup
3 get
pdf.baselineskip add
3 exch put
/pdf.currentrect exch def
pdf.breaklink.write
pdf.count 0 eq { exit } if
counttomark 2 roll
1 index /Rect eq
{
dup 4 array copy
dup dup
1 get
pdf.outerbox pdf.rect.ht
pdf.linkmargin 2 mul add sub
3 exch put
dup
pdf.outerbox 2 get
pdf.linkmargin add
2 exch put
dup dup
3 get
pdf.outerbox pdf.rect.ht
pdf.linkmargin 2 mul add add
1 exch put
/pdf.currentrect exch def
pdf.breaklink.write
{
pdf.currentrect
dup
pdf.outerbox 0 get
pdf.linkmargin sub
0 exch put
dup
pdf.outerbox 2 get
pdf.linkmargin add
2 exch put
dup dup
1 get
pdf.baselineskip add
1 exch put
dup dup
3 get
pdf.baselineskip add
3 exch put
/pdf.currentrect exch def
pdf.breaklink.write
}
1 index 3 get
pdf.linkmargin 2 mul add
pdf.outerbox pdf.rect.ht add
2 index 1 get sub
pdf.baselineskip div round cvi 1 sub
exch
repeat
pdf.currentrect
dup
pdf.outerbox 0 get
pdf.linkmargin sub
0 exch put
dup dup
1 get
pdf.baselineskip add
1 exch put
dup dup
3 get
pdf.baselineskip add
3 exch put
dup 2 index 2 get 2 exch put
/pdf.currentrect exch def
pdf.breaklink.write
SDict /pdf.pdfmark.good false put
exit
}
{ pdf.count 2 sub /pdf.count exch def }
ifelse
}
loop
}
if
/ANN
}
def
exch
repeat
pdf.currentrect
dup
pdf.outerbox 0 get
pdf.linkmargin sub
0 exch put
dup dup
1 get
pdf.baselineskip add
1 exch put
dup dup
3 get
pdf.baselineskip add
3 exch put
dup 2 index 2 get 2 exch put
/pdf.currentrect exch def
pdf.breaklink.write
SDict /pdf.pdfmark.good false put
exit
}
{ pdf.count 2 sub /pdf.count exch def }
ifelse
}
loop
}
if
/ANN
}
def
/pdf.breaklink.write
{
counttomark 1 sub
Expand Down
60 changes: 30 additions & 30 deletions texmf/tex/latex/l3backend/l3backend-dvipdfmx.def
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
%% l3backend-pdf.dtx (with options: `package,dvipdfmx')
%% l3backend-opacity.dtx (with options: `package,dvipdfmx')
%%
%% Copyright (C) 2019-2023 The LaTeX Project
%% Copyright (C) 2019-2024 The LaTeX Project
%%
%% It may be distributed and/or modified under the conditions of
%% the LaTeX Project Public License (LPPL), either version 1.3c of
Expand All @@ -26,7 +26,7 @@
%%
%% File: l3backend-basics.dtx
\ProvidesExplFile
{l3backend-dvipdfmx.def}{2023-11-09}{}
{l3backend-dvipdfmx.def}{2024-01-04}{}
{L3 backend support: dvipdfmx}
\cs_if_exist:NTF \__kernel_dependency_version_check:nn
{
Expand Down Expand Up @@ -147,9 +147,9 @@
{
/Lab ~
<<
/WhitePoint ~
[ \tl_use:c { c__color_model_whitepoint_CIELAB_ #1 _tl } ]
/Range ~ [ \c__color_model_range_CIELAB_tl ]
/WhitePoint ~
[ \tl_use:c { c__color_model_whitepoint_CIELAB_ #1 _tl } ]
/Range ~ [ \c__color_model_range_CIELAB_tl ]
>>
}
}
Expand Down Expand Up @@ -183,7 +183,7 @@
]
}
{ {#3} }
}
}
\use:e
{
\pdf_object_new:n { color \int_use:N \g__color_model_int }
Expand Down Expand Up @@ -332,10 +332,10 @@
\dim_to_decimal_in_bp:n {#5} ~ \dim_to_decimal_in_bp:n {#6} ~
c
}
}
}
\cs_new_protected:Npn \__draw_backend_rectangle:nnnn #1#2#3#4
{
\__draw_backend_literal:e
\__draw_backend_literal:e
{
\dim_to_decimal_in_bp:n {#1} ~ \dim_to_decimal_in_bp:n {#2} ~
\dim_to_decimal_in_bp:n {#3} ~ \dim_to_decimal_in_bp:n {#4} ~
Expand Down Expand Up @@ -452,7 +452,7 @@
{ \fp_eval:n { atand ( #3 , #2 ) } }
{ \fp_eval:n { atand ( #4 , #1 ) } }
}
#5
#5
}
\cs_new_protected:Npn \__draw_backend_cm_decompose_auxii:nnnnN #1#2#3#4#5
{
Expand Down Expand Up @@ -497,7 +497,7 @@
{
\seq_set_from_clist:Nn \l_graphics_search_ext_seq
{ .pdf , .eps , .ps , .png , .jpg , .jpeg , .bmp }
}
}
\__graphics_backend_loaded:n
{
\cs_new_eq:NN \__graphics_backend_getbb_eps:n \__graphics_read_bb:n
Expand Down Expand Up @@ -549,7 +549,7 @@
\tl_if_empty:NF \l__graphics_decodearray_str
{ :D \l__graphics_decodearray_str }
\bool_if:NT \l__graphics_interpolate_bool
{ :I }
{ :I }
}
{#1} {#2}
}
Expand Down Expand Up @@ -655,7 +655,7 @@
}
\cs_generate_variant:Nn \__pdf_backend_object_now:nn { ne }
\cs_new:Npn \__pdf_backend_object_last:
{ @pdf.obj \int_use:N \g__pdf_backend_object_int }
{ @pdf.obj \int_use:N \g__pdf_backend_object_int }
\cs_new:Npn \__pdf_backend_pageobject_ref:n #1
{ @page #1 }
\int_new:N \g__pdf_backend_annotation_int
Expand All @@ -673,7 +673,7 @@
}
}
\cs_new:Npn \__pdf_backend_annotation_last:
{ @pdf.obj \int_use:N \g__pdf_backend_annotation_int }
{ @pdf.obj \int_use:N \g__pdf_backend_annotation_int }
\int_new:N \g__pdf_backend_link_int
\cs_new_protected:Npn \__pdf_backend_link_begin_goto:nnw #1#2
{ \__pdf_backend_link_begin:n { #1 /Subtype /Link /A << /S /GoTo /D ( #2 ) >> } }
Expand All @@ -684,14 +684,14 @@
\exp_not:N \int_gincr:N \exp_not:N \g__pdf_backend_link_int
\__pdf_backend:e
{
bann ~
@pdf.lnk
\exp_not:N \int_use:N \exp_not:N \g__pdf_backend_link_int
\c_space_tl
<<
/Type /Annot
#1
>>
bann ~
@pdf.lnk
\exp_not:N \int_use:N \exp_not:N \g__pdf_backend_link_int
\c_space_tl
<<
/Type /Annot
#1
>>
}
}
\cs_new_protected:Npn \__pdf_backend_link_end:
Expand Down Expand Up @@ -806,10 +806,10 @@
\tl_new:N \l__opacity_backend_fill_tl
\tl_new:N \l__opacity_backend_stroke_tl
\cs_new_protected:Npn \__opacity_backend_select:n #1
{
\exp_args:Ne \__opacity_backend_select_aux:n
{ \fp_eval:n { min(max(0,#1),1) } }
}
{
\exp_args:Ne \__opacity_backend_select_aux:n
{ \fp_eval:n { min(max(0,#1),1) } }
}
\cs_new_protected:Npn \__opacity_backend_select_aux:n #1
{
\tl_set:Nn \l__opacity_backend_fill_tl {#1}
Expand All @@ -828,10 +828,10 @@
\cs_gset_protected:Npn \__opacity_backend_select_aux:n #1 { }
}
\cs_new_protected:Npn \__opacity_backend_reset:
{
\__kernel_backend_literal_pdf:n
{
\__kernel_backend_literal_pdf:n
{ /opacity1 ~ gs }
}
}
\cs_new_protected:Npn \__opacity_backend_fill:n #1
{
\__opacity_backend_fill_stroke:ee
Expand All @@ -857,8 +857,8 @@
\pdfmanagement_add:nnn { Page / Resources / ExtGState }
{ opacity.stroke #1 }
{ << /CA ~ #2 >> }
\__kernel_backend_literal_pdf:n
{ /opacity.fill #1 ~ gs /opacity.stroke #2 ~ gs }
\__kernel_backend_literal_pdf:n
{ /opacity.fill #1 ~ gs /opacity.stroke #2 ~ gs }
\group_insert_after:N \__opacity_backend_reset:
}
}
Expand Down
Loading

0 comments on commit 39d5ee5

Please sign in to comment.