texlive[58522] branches/branch2020.0/Master/texmf-dist: l3backend
commits+karl at tug.org
commits+karl at tug.org
Thu Mar 18 22:13:19 CET 2021
Revision: 58522
http://tug.org/svn/texlive?view=revision&revision=58522
Author: karl
Date: 2021-03-18 22:13:19 +0100 (Thu, 18 Mar 2021)
Log Message:
-----------
l3backend (18mar21) (branch)
Modified Paths:
--------------
branches/branch2020.0/Master/texmf-dist/doc/latex/l3backend/CHANGELOG.md
branches/branch2020.0/Master/texmf-dist/doc/latex/l3backend/README.md
branches/branch2020.0/Master/texmf-dist/doc/latex/l3backend/l3backend-code.pdf
branches/branch2020.0/Master/texmf-dist/source/latex/l3backend/l3backend-basics.dtx
branches/branch2020.0/Master/texmf-dist/source/latex/l3backend/l3backend-box.dtx
branches/branch2020.0/Master/texmf-dist/source/latex/l3backend/l3backend-color.dtx
branches/branch2020.0/Master/texmf-dist/source/latex/l3backend/l3backend-draw.dtx
branches/branch2020.0/Master/texmf-dist/source/latex/l3backend/l3backend-graphics.dtx
branches/branch2020.0/Master/texmf-dist/source/latex/l3backend/l3backend-header.dtx
branches/branch2020.0/Master/texmf-dist/source/latex/l3backend/l3backend-opacity.dtx
branches/branch2020.0/Master/texmf-dist/source/latex/l3backend/l3backend-pdf.dtx
branches/branch2020.0/Master/texmf-dist/tex/latex/l3backend/l3backend-dvipdfmx.def
branches/branch2020.0/Master/texmf-dist/tex/latex/l3backend/l3backend-dvips.def
branches/branch2020.0/Master/texmf-dist/tex/latex/l3backend/l3backend-dvisvgm.def
branches/branch2020.0/Master/texmf-dist/tex/latex/l3backend/l3backend-luatex.def
branches/branch2020.0/Master/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def
branches/branch2020.0/Master/texmf-dist/tex/latex/l3backend/l3backend-xetex.def
Modified: branches/branch2020.0/Master/texmf-dist/doc/latex/l3backend/CHANGELOG.md
===================================================================
--- branches/branch2020.0/Master/texmf-dist/doc/latex/l3backend/CHANGELOG.md 2021-03-18 21:13:05 UTC (rev 58521)
+++ branches/branch2020.0/Master/texmf-dist/doc/latex/l3backend/CHANGELOG.md 2021-03-18 21:13:19 UTC (rev 58522)
@@ -6,6 +6,11 @@
## [Unreleased]
+## [2021-03-18]
+
+### Fixed
+- Maintain stack color correctly with `(x)dvipdfmx`
+
## [2021-03-02]
### Changed
@@ -168,7 +173,8 @@
- Include `l3backend` in file names
- Moved backend code to internal for each 'parent' module
-[Unreleased]: https://github.com/latex3/latex3/compare/2021-03-02...HEAD
+[Unreleased]: https://github.com/latex3/latex3/compare/2021-03-18...HEAD
+[2021-03-18]: https://github.com/latex3/latex3/compare/2021-03-02...2021-03-18
[2021-03-02]: https://github.com/latex3/latex3/compare/2021-02-18...2021-03-02
[2021-02-18]: https://github.com/latex3/latex3/compare/2021-02-06...2021-02-18
[2021-02-06]: https://github.com/latex3/latex3/compare/2021-01-29...2021-02-06
Modified: branches/branch2020.0/Master/texmf-dist/doc/latex/l3backend/README.md
===================================================================
--- branches/branch2020.0/Master/texmf-dist/doc/latex/l3backend/README.md 2021-03-18 21:13:05 UTC (rev 58521)
+++ branches/branch2020.0/Master/texmf-dist/doc/latex/l3backend/README.md 2021-03-18 21:13:19 UTC (rev 58522)
@@ -1,7 +1,7 @@
LaTeX3 Backend Drivers
======================
-Release 2021-03-02
+Release 2021-03-18
This package forms parts of `expl3`, and contains the code used to interface
with backends (drivers) across the `expl3` codebase. The functions here are
Modified: branches/branch2020.0/Master/texmf-dist/doc/latex/l3backend/l3backend-code.pdf
===================================================================
(Binary files differ)
Modified: branches/branch2020.0/Master/texmf-dist/source/latex/l3backend/l3backend-basics.dtx
===================================================================
--- branches/branch2020.0/Master/texmf-dist/source/latex/l3backend/l3backend-basics.dtx 2021-03-18 21:13:05 UTC (rev 58521)
+++ branches/branch2020.0/Master/texmf-dist/source/latex/l3backend/l3backend-basics.dtx 2021-03-18 21:13:19 UTC (rev 58522)
@@ -43,7 +43,7 @@
% }^^A
% }
%
-% \date{Released 2021-03-02}
+% \date{Released 2021-03-18}
%
% \maketitle
%
@@ -70,27 +70,27 @@
% \begin{macrocode}
\ProvidesExplFile
%<*dvipdfmx>
- {l3backend-dvipdfmx.def}{2021-03-02}{}
+ {l3backend-dvipdfmx.def}{2021-03-18}{}
{L3 backend support: dvipdfmx}
%</dvipdfmx>
%<*dvips>
- {l3backend-dvips.def}{2021-03-02}{}
+ {l3backend-dvips.def}{2021-03-18}{}
{L3 backend support: dvips}
%</dvips>
%<*dvisvgm>
- {l3backend-dvisvgm.def}{2021-03-02}{}
+ {l3backend-dvisvgm.def}{2021-03-18}{}
{L3 backend support: dvisvgm}
%</dvisvgm>
%<*luatex>
- {l3backend-luatex.def}{2021-03-02}{}
+ {l3backend-luatex.def}{2021-03-18}{}
{L3 backend support: PDF output (LuaTeX)}
%</luatex>
%<*pdftex>
- {l3backend-pdftex.def}{2021-03-02}{}
+ {l3backend-pdftex.def}{2021-03-18}{}
{L3 backend support: PDF output (pdfTeX)}
%</pdftex>
%<*xetex>
- {l3backend-xetex.def}{2021-03-02}{}
+ {l3backend-xetex.def}{2021-03-18}{}
{L3 backend support: XeTeX}
%</xetex>
% \end{macrocode}
Modified: branches/branch2020.0/Master/texmf-dist/source/latex/l3backend/l3backend-box.dtx
===================================================================
--- branches/branch2020.0/Master/texmf-dist/source/latex/l3backend/l3backend-box.dtx 2021-03-18 21:13:05 UTC (rev 58521)
+++ branches/branch2020.0/Master/texmf-dist/source/latex/l3backend/l3backend-box.dtx 2021-03-18 21:13:19 UTC (rev 58522)
@@ -43,7 +43,7 @@
% }^^A
% }
%
-% \date{Released 2021-03-02}
+% \date{Released 2021-03-18}
%
% \maketitle
%
Modified: branches/branch2020.0/Master/texmf-dist/source/latex/l3backend/l3backend-color.dtx
===================================================================
--- branches/branch2020.0/Master/texmf-dist/source/latex/l3backend/l3backend-color.dtx 2021-03-18 21:13:05 UTC (rev 58521)
+++ branches/branch2020.0/Master/texmf-dist/source/latex/l3backend/l3backend-color.dtx 2021-03-18 21:13:19 UTC (rev 58522)
@@ -43,7 +43,7 @@
% }^^A
% }
%
-% \date{Released 2021-03-02}
+% \date{Released 2021-03-18}
%
% \maketitle
%
@@ -240,6 +240,17 @@
\c_@@_backend_main_stack_int
\int_const:cn { main at pdfcolorstack } { \c_@@_backend_main_stack_int }
}
+% \end{macrocode}
+% The backend automatically restores the stack color from the \enquote{classical}
+% approach (\texttt{pdf:bcolor}) after a scope. That will be an issue for us, so
+% we manually ensure that the one we are using is inserted.
+% \begin{macrocode}
+ \cs_gset_protected:Npn \__kernel_backend_scope_end:
+ {
+ \__kernel_backend_literal:n { x:grestore }
+ \__kernel_backend_literal:n
+ { pdfcolorstack ~ \g_@@_backend_stack_int current }
+ }
}
% \end{macrocode}
% \end{variable}
Modified: branches/branch2020.0/Master/texmf-dist/source/latex/l3backend/l3backend-draw.dtx
===================================================================
--- branches/branch2020.0/Master/texmf-dist/source/latex/l3backend/l3backend-draw.dtx 2021-03-18 21:13:05 UTC (rev 58521)
+++ branches/branch2020.0/Master/texmf-dist/source/latex/l3backend/l3backend-draw.dtx 2021-03-18 21:13:19 UTC (rev 58522)
@@ -43,7 +43,7 @@
% }^^A
% }
%
-% \date{Released 2021-03-02}
+% \date{Released 2021-03-18}
%
% \maketitle
%
Modified: branches/branch2020.0/Master/texmf-dist/source/latex/l3backend/l3backend-graphics.dtx
===================================================================
--- branches/branch2020.0/Master/texmf-dist/source/latex/l3backend/l3backend-graphics.dtx 2021-03-18 21:13:05 UTC (rev 58521)
+++ branches/branch2020.0/Master/texmf-dist/source/latex/l3backend/l3backend-graphics.dtx 2021-03-18 21:13:19 UTC (rev 58522)
@@ -43,7 +43,7 @@
% }^^A
% }
%
-% \date{Released 2021-03-02}
+% \date{Released 2021-03-18}
%
% \maketitle
%
Modified: branches/branch2020.0/Master/texmf-dist/source/latex/l3backend/l3backend-header.dtx
===================================================================
--- branches/branch2020.0/Master/texmf-dist/source/latex/l3backend/l3backend-header.dtx 2021-03-18 21:13:05 UTC (rev 58521)
+++ branches/branch2020.0/Master/texmf-dist/source/latex/l3backend/l3backend-header.dtx 2021-03-18 21:13:19 UTC (rev 58522)
@@ -43,7 +43,7 @@
% }^^A
% }
%
-% \date{Released 2021-03-02}
+% \date{Released 2021-03-18}
%
% \maketitle
%
Modified: branches/branch2020.0/Master/texmf-dist/source/latex/l3backend/l3backend-opacity.dtx
===================================================================
--- branches/branch2020.0/Master/texmf-dist/source/latex/l3backend/l3backend-opacity.dtx 2021-03-18 21:13:05 UTC (rev 58521)
+++ branches/branch2020.0/Master/texmf-dist/source/latex/l3backend/l3backend-opacity.dtx 2021-03-18 21:13:19 UTC (rev 58522)
@@ -43,7 +43,7 @@
% }^^A
% }
%
-% \date{Released 2021-03-02}
+% \date{Released 2021-03-18}
%
% \maketitle
%
Modified: branches/branch2020.0/Master/texmf-dist/source/latex/l3backend/l3backend-pdf.dtx
===================================================================
--- branches/branch2020.0/Master/texmf-dist/source/latex/l3backend/l3backend-pdf.dtx 2021-03-18 21:13:05 UTC (rev 58521)
+++ branches/branch2020.0/Master/texmf-dist/source/latex/l3backend/l3backend-pdf.dtx 2021-03-18 21:13:19 UTC (rev 58522)
@@ -43,7 +43,7 @@
% }^^A
% }
%
-% \date{Released 2021-03-02}
+% \date{Released 2021-03-18}
%
% \maketitle
%
Modified: branches/branch2020.0/Master/texmf-dist/tex/latex/l3backend/l3backend-dvipdfmx.def
===================================================================
--- branches/branch2020.0/Master/texmf-dist/tex/latex/l3backend/l3backend-dvipdfmx.def 2021-03-18 21:13:05 UTC (rev 58521)
+++ branches/branch2020.0/Master/texmf-dist/tex/latex/l3backend/l3backend-dvipdfmx.def 2021-03-18 21:13:19 UTC (rev 58522)
@@ -26,7 +26,7 @@
%%
%% File: l3backend-basics.dtx
\ProvidesExplFile
- {l3backend-dvipdfmx.def}{2021-03-02}{}
+ {l3backend-dvipdfmx.def}{2021-03-18}{}
{L3 backend support: dvipdfmx}
\cs_if_exist:NTF \__kernel_dependency_version_check:nn
{
@@ -129,6 +129,12 @@
\c__color_backend_main_stack_int
\int_const:cn { main at pdfcolorstack } { \c__color_backend_main_stack_int }
}
+ \cs_gset_protected:Npn \__kernel_backend_scope_end:
+ {
+ \__kernel_backend_literal:n { x:grestore }
+ \__kernel_backend_literal:n
+ { pdfcolorstack ~ \g__color_backend_stack_int current }
+ }
}
\int_compare:nNnF \c__kernel_sys_dvipdfmx_version_int < { 20201111 }
{
Modified: branches/branch2020.0/Master/texmf-dist/tex/latex/l3backend/l3backend-dvips.def
===================================================================
--- branches/branch2020.0/Master/texmf-dist/tex/latex/l3backend/l3backend-dvips.def 2021-03-18 21:13:05 UTC (rev 58521)
+++ branches/branch2020.0/Master/texmf-dist/tex/latex/l3backend/l3backend-dvips.def 2021-03-18 21:13:19 UTC (rev 58522)
@@ -26,7 +26,7 @@
%%
%% File: l3backend-basics.dtx
\ProvidesExplFile
- {l3backend-dvips.def}{2021-03-02}{}
+ {l3backend-dvips.def}{2021-03-18}{}
{L3 backend support: dvips}
\cs_if_exist:NTF \__kernel_dependency_version_check:nn
{
Modified: branches/branch2020.0/Master/texmf-dist/tex/latex/l3backend/l3backend-dvisvgm.def
===================================================================
--- branches/branch2020.0/Master/texmf-dist/tex/latex/l3backend/l3backend-dvisvgm.def 2021-03-18 21:13:05 UTC (rev 58521)
+++ branches/branch2020.0/Master/texmf-dist/tex/latex/l3backend/l3backend-dvisvgm.def 2021-03-18 21:13:19 UTC (rev 58522)
@@ -26,7 +26,7 @@
%%
%% File: l3backend-basics.dtx
\ProvidesExplFile
- {l3backend-dvisvgm.def}{2021-03-02}{}
+ {l3backend-dvisvgm.def}{2021-03-18}{}
{L3 backend support: dvisvgm}
\cs_if_exist:NTF \__kernel_dependency_version_check:nn
{
Modified: branches/branch2020.0/Master/texmf-dist/tex/latex/l3backend/l3backend-luatex.def
===================================================================
--- branches/branch2020.0/Master/texmf-dist/tex/latex/l3backend/l3backend-luatex.def 2021-03-18 21:13:05 UTC (rev 58521)
+++ branches/branch2020.0/Master/texmf-dist/tex/latex/l3backend/l3backend-luatex.def 2021-03-18 21:13:19 UTC (rev 58522)
@@ -26,7 +26,7 @@
%%
%% File: l3backend-basics.dtx
\ProvidesExplFile
- {l3backend-luatex.def}{2021-03-02}{}
+ {l3backend-luatex.def}{2021-03-18}{}
{L3 backend support: PDF output (LuaTeX)}
\cs_if_exist:NTF \__kernel_dependency_version_check:nn
{
Modified: branches/branch2020.0/Master/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def
===================================================================
--- branches/branch2020.0/Master/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def 2021-03-18 21:13:05 UTC (rev 58521)
+++ branches/branch2020.0/Master/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def 2021-03-18 21:13:19 UTC (rev 58522)
@@ -26,7 +26,7 @@
%%
%% File: l3backend-basics.dtx
\ProvidesExplFile
- {l3backend-pdftex.def}{2021-03-02}{}
+ {l3backend-pdftex.def}{2021-03-18}{}
{L3 backend support: PDF output (pdfTeX)}
\cs_if_exist:NTF \__kernel_dependency_version_check:nn
{
Modified: branches/branch2020.0/Master/texmf-dist/tex/latex/l3backend/l3backend-xetex.def
===================================================================
--- branches/branch2020.0/Master/texmf-dist/tex/latex/l3backend/l3backend-xetex.def 2021-03-18 21:13:05 UTC (rev 58521)
+++ branches/branch2020.0/Master/texmf-dist/tex/latex/l3backend/l3backend-xetex.def 2021-03-18 21:13:19 UTC (rev 58522)
@@ -26,7 +26,7 @@
%%
%% File: l3backend-basics.dtx
\ProvidesExplFile
- {l3backend-xetex.def}{2021-03-02}{}
+ {l3backend-xetex.def}{2021-03-18}{}
{L3 backend support: XeTeX}
\cs_if_exist:NTF \__kernel_dependency_version_check:nn
{
@@ -129,6 +129,12 @@
\c__color_backend_main_stack_int
\int_const:cn { main at pdfcolorstack } { \c__color_backend_main_stack_int }
}
+ \cs_gset_protected:Npn \__kernel_backend_scope_end:
+ {
+ \__kernel_backend_literal:n { x:grestore }
+ \__kernel_backend_literal:n
+ { pdfcolorstack ~ \g__color_backend_stack_int current }
+ }
}
\int_compare:nNnF \c__kernel_sys_dvipdfmx_version_int < { 20201111 }
{
More information about the tex-live-commits
mailing list.