texlive[63794] Master/texmf-dist: l3backend (2jul22)
commits+karl at tug.org
commits+karl at tug.org
Sat Jul 2 22:10:29 CEST 2022
Revision: 63794
http://tug.org/svn/texlive?view=revision&revision=63794
Author: karl
Date: 2022-07-02 22:10:29 +0200 (Sat, 02 Jul 2022)
Log Message:
-----------
l3backend (2jul22)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/l3backend/CHANGELOG.md
trunk/Master/texmf-dist/doc/latex/l3backend/README.md
trunk/Master/texmf-dist/doc/latex/l3backend/l3backend-code.pdf
trunk/Master/texmf-dist/source/latex/l3backend/l3backend-basics.dtx
trunk/Master/texmf-dist/source/latex/l3backend/l3backend-box.dtx
trunk/Master/texmf-dist/source/latex/l3backend/l3backend-color.dtx
trunk/Master/texmf-dist/source/latex/l3backend/l3backend-draw.dtx
trunk/Master/texmf-dist/source/latex/l3backend/l3backend-graphics.dtx
trunk/Master/texmf-dist/source/latex/l3backend/l3backend-header.dtx
trunk/Master/texmf-dist/source/latex/l3backend/l3backend-opacity.dtx
trunk/Master/texmf-dist/source/latex/l3backend/l3backend-pdf.dtx
trunk/Master/texmf-dist/tex/latex/l3backend/l3backend-dvipdfmx.def
trunk/Master/texmf-dist/tex/latex/l3backend/l3backend-dvips.def
trunk/Master/texmf-dist/tex/latex/l3backend/l3backend-dvisvgm.def
trunk/Master/texmf-dist/tex/latex/l3backend/l3backend-luatex.def
trunk/Master/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def
trunk/Master/texmf-dist/tex/latex/l3backend/l3backend-xetex.def
Modified: trunk/Master/texmf-dist/doc/latex/l3backend/CHANGELOG.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/l3backend/CHANGELOG.md 2022-07-02 20:09:55 UTC (rev 63793)
+++ trunk/Master/texmf-dist/doc/latex/l3backend/CHANGELOG.md 2022-07-02 20:10:29 UTC (rev 63794)
@@ -6,6 +6,13 @@
## [Unreleased]
+## [2022-07-01]
+
+#### Fixed
+- Do not include PDF file to count pages on pdfTeX
+- Opacity creation with `dvipdfmx`/XeTeX (issue [\#1106](https://github.com/latex3/latex3/issues/1106))
+- Reset opacity when no stack is available at the backend (issue [\#1107](https://github.com/latex3/latex3/issues/1107))
+
## [2022-04-20]
### Changed
@@ -19,7 +26,7 @@
- Support for SVG graphic inclusion by `dvisvgm`
### Fixed
-- `\color_ensure_current:` backend with DVI-based routes (issue \#1085)
+- `\color_ensure_current:` backend with DVI-based routes (issue [\#1085](https://github.com/latex3/latex3/issues/1085))
## [2022-04-10]
@@ -68,7 +75,7 @@
## [2021-07-12]
### Fixed
-- GoTo link formation for Distiller-based workflows (issue #957)
+- GoTo link formation for Distiller-based workflows (issue [\#957](https://github.com/latex3/latex3/issues/957))
- Support transparency with Distiller
## [2021-05-07]
@@ -178,8 +185,8 @@
## [2020-06-03]
### Fixed
-- Unneeded `[nobreak]` in `dvips` driver (issue #709)
-- `\__pdf_backend_object_write_fstream:nn` with `dvips` backend (issue #710)
+- Unneeded `[nobreak]` in `dvips` driver (issue [\#709](https://github.com/latex3/latex3/issues/709))
+- `\__pdf_backend_object_write_fstream:nn` with `dvips` backend (issue [\#710](https://github.com/latex3/latex3/issues/710))
- Array writing in `dvips` mode
## [2020-05-05]
@@ -245,7 +252,8 @@
- Include `l3backend` in file names
- Moved backend code to internal for each 'parent' module
-[Unreleased]: https://github.com/latex3/latex3/compare/2022-04-20...HEAD
+[Unreleased]: https://github.com/latex3/latex3/compare/2022-07-01...HEAD
+[2022-07-01]: https://github.com/latex3/latex3/compare/2022-04-20...2022-07-01
[2022-04-20]: https://github.com/latex3/latex3/compare/2022-04-14...2022-04-20
[2022-04-14]: https://github.com/latex3/latex3/compare/2022-04-10...2022-04-14
[2022-04-10]: https://github.com/latex3/latex3/compare/2022-02-07...2022-04-10
Modified: trunk/Master/texmf-dist/doc/latex/l3backend/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/l3backend/README.md 2022-07-02 20:09:55 UTC (rev 63793)
+++ trunk/Master/texmf-dist/doc/latex/l3backend/README.md 2022-07-02 20:10:29 UTC (rev 63794)
@@ -1,7 +1,7 @@
LaTeX3 Backend Drivers
======================
-Release 2022-04-20
+Release 2022-07-01
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: trunk/Master/texmf-dist/doc/latex/l3backend/l3backend-code.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/source/latex/l3backend/l3backend-basics.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/l3backend/l3backend-basics.dtx 2022-07-02 20:09:55 UTC (rev 63793)
+++ trunk/Master/texmf-dist/source/latex/l3backend/l3backend-basics.dtx 2022-07-02 20:10:29 UTC (rev 63794)
@@ -43,7 +43,7 @@
% }^^A
% }
%
-% \date{Released 2022-04-20}
+% \date{Released 2022-07-01}
%
% \maketitle
%
@@ -70,27 +70,27 @@
% \begin{macrocode}
\ProvidesExplFile
%<*dvipdfmx>
- {l3backend-dvipdfmx.def}{2022-04-20}{}
+ {l3backend-dvipdfmx.def}{2022-07-01}{}
{L3 backend support: dvipdfmx}
%</dvipdfmx>
%<*dvips>
- {l3backend-dvips.def}{2022-04-20}{}
+ {l3backend-dvips.def}{2022-07-01}{}
{L3 backend support: dvips}
%</dvips>
%<*dvisvgm>
- {l3backend-dvisvgm.def}{2022-04-20}{}
+ {l3backend-dvisvgm.def}{2022-07-01}{}
{L3 backend support: dvisvgm}
%</dvisvgm>
%<*luatex>
- {l3backend-luatex.def}{2022-04-20}{}
+ {l3backend-luatex.def}{2022-07-01}{}
{L3 backend support: PDF output (LuaTeX)}
%</luatex>
%<*pdftex>
- {l3backend-pdftex.def}{2022-04-20}{}
+ {l3backend-pdftex.def}{2022-07-01}{}
{L3 backend support: PDF output (pdfTeX)}
%</pdftex>
%<*xetex>
- {l3backend-xetex.def}{2022-04-20}{}
+ {l3backend-xetex.def}{2022-07-01}{}
{L3 backend support: XeTeX}
%</xetex>
% \end{macrocode}
Modified: trunk/Master/texmf-dist/source/latex/l3backend/l3backend-box.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/l3backend/l3backend-box.dtx 2022-07-02 20:09:55 UTC (rev 63793)
+++ trunk/Master/texmf-dist/source/latex/l3backend/l3backend-box.dtx 2022-07-02 20:10:29 UTC (rev 63794)
@@ -43,7 +43,7 @@
% }^^A
% }
%
-% \date{Released 2022-04-20}
+% \date{Released 2022-07-01}
%
% \maketitle
%
Modified: trunk/Master/texmf-dist/source/latex/l3backend/l3backend-color.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/l3backend/l3backend-color.dtx 2022-07-02 20:09:55 UTC (rev 63793)
+++ trunk/Master/texmf-dist/source/latex/l3backend/l3backend-color.dtx 2022-07-02 20:10:29 UTC (rev 63794)
@@ -43,7 +43,7 @@
% }^^A
% }
%
-% \date{Released 2022-04-20}
+% \date{Released 2022-07-01}
%
% \maketitle
%
Modified: trunk/Master/texmf-dist/source/latex/l3backend/l3backend-draw.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/l3backend/l3backend-draw.dtx 2022-07-02 20:09:55 UTC (rev 63793)
+++ trunk/Master/texmf-dist/source/latex/l3backend/l3backend-draw.dtx 2022-07-02 20:10:29 UTC (rev 63794)
@@ -43,7 +43,7 @@
% }^^A
% }
%
-% \date{Released 2022-04-20}
+% \date{Released 2022-07-01}
%
% \maketitle
%
Modified: trunk/Master/texmf-dist/source/latex/l3backend/l3backend-graphics.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/l3backend/l3backend-graphics.dtx 2022-07-02 20:09:55 UTC (rev 63793)
+++ trunk/Master/texmf-dist/source/latex/l3backend/l3backend-graphics.dtx 2022-07-02 20:10:29 UTC (rev 63794)
@@ -43,7 +43,7 @@
% }^^A
% }
%
-% \date{Released 2022-04-20}
+% \date{Released 2022-07-01}
%
% \maketitle
%
@@ -352,7 +352,7 @@
% \begin{macrocode}
\cs_new_protected:Npn \@@_backend_get_pagecount:n #1
{
- \tex_immediate:D \tex_pdfximage:D {#1}
+ \tex_pdfximage:D {#1}
\int_const:cn { c_@@_ #1 _pages_int }
{ \int_use:N \tex_pdflastximagepages:D }
}
Modified: trunk/Master/texmf-dist/source/latex/l3backend/l3backend-header.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/l3backend/l3backend-header.dtx 2022-07-02 20:09:55 UTC (rev 63793)
+++ trunk/Master/texmf-dist/source/latex/l3backend/l3backend-header.dtx 2022-07-02 20:10:29 UTC (rev 63794)
@@ -43,7 +43,7 @@
% }^^A
% }
%
-% \date{Released 2022-04-20}
+% \date{Released 2022-07-01}
%
% \maketitle
%
Modified: trunk/Master/texmf-dist/source/latex/l3backend/l3backend-opacity.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/l3backend/l3backend-opacity.dtx 2022-07-02 20:09:55 UTC (rev 63793)
+++ trunk/Master/texmf-dist/source/latex/l3backend/l3backend-opacity.dtx 2022-07-02 20:10:29 UTC (rev 63794)
@@ -43,7 +43,7 @@
% }^^A
% }
%
-% \date{Released 2022-04-20}
+% \date{Released 2022-07-01}
%
% \maketitle
%
@@ -181,7 +181,7 @@
{ opacity #1 }
{ << /ca ~ #1 /CA ~ #1 >> }
%<*dvipdfmx|xetex>
- \__kernel_backend_literal:n
+ \__kernel_backend_literal_pdf:n
%</dvipdfmx|xetex>
%<*luatex|pdftex>
\__kernel_color_backend_stack_push:nn \c_@@_backend_stack_int
@@ -197,6 +197,10 @@
}
\cs_new_protected:Npn \@@_backend_reset:
{
+%<*dvipdfmx|xetex>
+ \__kernel_backend_literal_pdf:n
+ { /opacity1 ~ gs }
+%</dvipdfmx|xetex>
%<*luatex|pdftex>
\__kernel_color_backend_stack_pop:n \c_@@_backend_stack_int
%</luatex|pdftex>
@@ -236,7 +240,7 @@
{ opacity.stroke #1 }
{ << /CA ~ #2 >> }
%<*dvipdfmx|xetex>
- \__kernel_backend_literal:n
+ \__kernel_backend_literal_pdf:n
%</dvipdfmx|xetex>
%<*luatex|pdftex>
\__kernel_color_backend_stack_push:nn \c_@@_backend_stack_int
Modified: trunk/Master/texmf-dist/source/latex/l3backend/l3backend-pdf.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/l3backend/l3backend-pdf.dtx 2022-07-02 20:09:55 UTC (rev 63793)
+++ trunk/Master/texmf-dist/source/latex/l3backend/l3backend-pdf.dtx 2022-07-02 20:10:29 UTC (rev 63794)
@@ -43,7 +43,7 @@
% }^^A
% }
%
-% \date{Released 2022-04-20}
+% \date{Released 2022-07-01}
%
% \maketitle
%
Modified: trunk/Master/texmf-dist/tex/latex/l3backend/l3backend-dvipdfmx.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/l3backend/l3backend-dvipdfmx.def 2022-07-02 20:09:55 UTC (rev 63793)
+++ trunk/Master/texmf-dist/tex/latex/l3backend/l3backend-dvipdfmx.def 2022-07-02 20:10:29 UTC (rev 63794)
@@ -26,7 +26,7 @@
%%
%% File: l3backend-basics.dtx
\ProvidesExplFile
- {l3backend-dvipdfmx.def}{2022-04-20}{}
+ {l3backend-dvipdfmx.def}{2022-07-01}{}
{L3 backend support: dvipdfmx}
\cs_if_exist:NTF \__kernel_dependency_version_check:nn
{
@@ -833,7 +833,7 @@
\pdfmanagement_add:nnn { Page / Resources / ExtGState }
{ opacity #1 }
{ << /ca ~ #1 /CA ~ #1 >> }
- \__kernel_backend_literal:n
+ \__kernel_backend_literal_pdf:n
{ /opacity #1 ~ gs }
\group_insert_after:N \__opacity_backend_reset:
}
@@ -845,6 +845,8 @@
}
\cs_new_protected:Npn \__opacity_backend_reset:
{
+ \__kernel_backend_literal_pdf:n
+ { /opacity1 ~ gs }
}
\cs_new_protected:Npn \__opacity_backend_fill:n #1
{
@@ -871,7 +873,7 @@
\pdfmanagement_add:nnn { Page / Resources / ExtGState }
{ opacity.stroke #1 }
{ << /CA ~ #2 >> }
- \__kernel_backend_literal:n
+ \__kernel_backend_literal_pdf:n
{ /opacity.fill #1 ~ gs /opacity.stroke #2 ~ gs }
\group_insert_after:N \__opacity_backend_reset:
}
Modified: trunk/Master/texmf-dist/tex/latex/l3backend/l3backend-dvips.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/l3backend/l3backend-dvips.def 2022-07-02 20:09:55 UTC (rev 63793)
+++ trunk/Master/texmf-dist/tex/latex/l3backend/l3backend-dvips.def 2022-07-02 20:10:29 UTC (rev 63794)
@@ -26,7 +26,7 @@
%%
%% File: l3backend-basics.dtx
\ProvidesExplFile
- {l3backend-dvips.def}{2022-04-20}{}
+ {l3backend-dvips.def}{2022-07-01}{}
{L3 backend support: dvips}
\cs_if_exist:NTF \__kernel_dependency_version_check:nn
{
Modified: trunk/Master/texmf-dist/tex/latex/l3backend/l3backend-dvisvgm.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/l3backend/l3backend-dvisvgm.def 2022-07-02 20:09:55 UTC (rev 63793)
+++ trunk/Master/texmf-dist/tex/latex/l3backend/l3backend-dvisvgm.def 2022-07-02 20:10:29 UTC (rev 63794)
@@ -26,7 +26,7 @@
%%
%% File: l3backend-basics.dtx
\ProvidesExplFile
- {l3backend-dvisvgm.def}{2022-04-20}{}
+ {l3backend-dvisvgm.def}{2022-07-01}{}
{L3 backend support: dvisvgm}
\cs_if_exist:NTF \__kernel_dependency_version_check:nn
{
Modified: trunk/Master/texmf-dist/tex/latex/l3backend/l3backend-luatex.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/l3backend/l3backend-luatex.def 2022-07-02 20:09:55 UTC (rev 63793)
+++ trunk/Master/texmf-dist/tex/latex/l3backend/l3backend-luatex.def 2022-07-02 20:10:29 UTC (rev 63794)
@@ -26,7 +26,7 @@
%%
%% File: l3backend-basics.dtx
\ProvidesExplFile
- {l3backend-luatex.def}{2022-04-20}{}
+ {l3backend-luatex.def}{2022-07-01}{}
{L3 backend support: PDF output (LuaTeX)}
\cs_if_exist:NTF \__kernel_dependency_version_check:nn
{
@@ -661,7 +661,7 @@
}
\cs_new_protected:Npn \__graphics_backend_get_pagecount:n #1
{
- \tex_immediate:D \tex_pdfximage:D {#1}
+ \tex_pdfximage:D {#1}
\int_const:cn { c__graphics_ #1 _pages_int }
{ \int_use:N \tex_pdflastximagepages:D }
}
Modified: trunk/Master/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def 2022-07-02 20:09:55 UTC (rev 63793)
+++ trunk/Master/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def 2022-07-02 20:10:29 UTC (rev 63794)
@@ -26,7 +26,7 @@
%%
%% File: l3backend-basics.dtx
\ProvidesExplFile
- {l3backend-pdftex.def}{2022-04-20}{}
+ {l3backend-pdftex.def}{2022-07-01}{}
{L3 backend support: PDF output (pdfTeX)}
\cs_if_exist:NTF \__kernel_dependency_version_check:nn
{
@@ -661,7 +661,7 @@
}
\cs_new_protected:Npn \__graphics_backend_get_pagecount:n #1
{
- \tex_immediate:D \tex_pdfximage:D {#1}
+ \tex_pdfximage:D {#1}
\int_const:cn { c__graphics_ #1 _pages_int }
{ \int_use:N \tex_pdflastximagepages:D }
}
Modified: trunk/Master/texmf-dist/tex/latex/l3backend/l3backend-xetex.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/l3backend/l3backend-xetex.def 2022-07-02 20:09:55 UTC (rev 63793)
+++ trunk/Master/texmf-dist/tex/latex/l3backend/l3backend-xetex.def 2022-07-02 20:10:29 UTC (rev 63794)
@@ -26,7 +26,7 @@
%%
%% File: l3backend-basics.dtx
\ProvidesExplFile
- {l3backend-xetex.def}{2022-04-20}{}
+ {l3backend-xetex.def}{2022-07-01}{}
{L3 backend support: XeTeX}
\cs_if_exist:NTF \__kernel_dependency_version_check:nn
{
@@ -887,7 +887,7 @@
\pdfmanagement_add:nnn { Page / Resources / ExtGState }
{ opacity #1 }
{ << /ca ~ #1 /CA ~ #1 >> }
- \__kernel_backend_literal:n
+ \__kernel_backend_literal_pdf:n
{ /opacity #1 ~ gs }
\group_insert_after:N \__opacity_backend_reset:
}
@@ -899,6 +899,8 @@
}
\cs_new_protected:Npn \__opacity_backend_reset:
{
+ \__kernel_backend_literal_pdf:n
+ { /opacity1 ~ gs }
}
\cs_new_protected:Npn \__opacity_backend_fill:n #1
{
@@ -925,7 +927,7 @@
\pdfmanagement_add:nnn { Page / Resources / ExtGState }
{ opacity.stroke #1 }
{ << /CA ~ #2 >> }
- \__kernel_backend_literal:n
+ \__kernel_backend_literal_pdf:n
{ /opacity.fill #1 ~ gs /opacity.stroke #2 ~ gs }
\group_insert_after:N \__opacity_backend_reset:
}
More information about the tex-live-commits
mailing list.