texlive[60102] Master/texmf-dist: media9 (28jul21)
commits+karl at tug.org
commits+karl at tug.org
Wed Jul 28 22:47:12 CEST 2021
Revision: 60102
http://tug.org/svn/texlive?view=revision&revision=60102
Author: karl
Date: 2021-07-28 22:47:12 +0200 (Wed, 28 Jul 2021)
Log Message:
-----------
media9 (28jul21)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/media9/ChangeLog
trunk/Master/texmf-dist/doc/latex/media9/media9.pdf
trunk/Master/texmf-dist/tex/latex/media9/media9.sty
trunk/Master/texmf-dist/tex/latex/media9/pdfbase.sty
Modified: trunk/Master/texmf-dist/doc/latex/media9/ChangeLog
===================================================================
--- trunk/Master/texmf-dist/doc/latex/media9/ChangeLog 2021-07-28 20:46:50 UTC (rev 60101)
+++ trunk/Master/texmf-dist/doc/latex/media9/ChangeLog 2021-07-28 20:47:12 UTC (rev 60102)
@@ -1,3 +1,8 @@
+2021-07-28
+ * v1.18 : media9.sty
+ * v0.49 : pdfbase.sty
+ * fix : default clip path for xforms with dvips
+
2021-07-25
* v1.17 : media9.sty
* v0.48 : pdfbase.sty
Modified: trunk/Master/texmf-dist/doc/latex/media9/media9.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/tex/latex/media9/media9.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/media9/media9.sty 2021-07-28 20:46:50 UTC (rev 60101)
+++ trunk/Master/texmf-dist/tex/latex/media9/media9.sty 2021-07-28 20:47:12 UTC (rev 60102)
@@ -41,8 +41,8 @@
\RequirePackage{l3keys2e}
-\def\g at mix@date at tl{2021/07/25}
-\def\g at mix@version at tl{1.17}
+\def\g at mix@date at tl{2021/07/28}
+\def\g at mix@version at tl{1.18}
\NeedsTeXFormat{LaTeX2e}[2020-10-01]
\ProvidesExplPackage{media9}{\g at mix@date at tl}{\g at mix@version at tl}
@@ -2409,8 +2409,8 @@
\RequirePackage{l3keys2e}
-\def\g at mix@date at tl{2021/07/25}
-\def\g at mix@version at tl{1.17}
+\def\g at mix@date at tl{2021/07/28}
+\def\g at mix@version at tl{1.18}
\NeedsTeXFormat{LaTeX2e}[2020-10-01]
\ProvidesExplPackage{media9}{\g at mix@date at tl}{\g at mix@version at tl}
Modified: trunk/Master/texmf-dist/tex/latex/media9/pdfbase.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/media9/pdfbase.sty 2021-07-28 20:46:50 UTC (rev 60101)
+++ trunk/Master/texmf-dist/tex/latex/media9/pdfbase.sty 2021-07-28 20:47:12 UTC (rev 60102)
@@ -83,8 +83,8 @@
% --------
%
% \pbs_pdfxform:nnnnn
-% #1: add pgf/tikz resources (transparency, shading)? (1|0) %dvipdfmx/xetex
-% #2: (not used)
+% #1: add pgf/tikz resources (transparency, shading)? (0|1) %dvipdfmx/xetex
+% #2: write immediately to PDF? (0|1); eg 1 for appearances; pdftex/luatex
% #3: additional resources %all BUT dvips
% #4: additional dictionary entries
% #5: savebox number
@@ -158,8 +158,8 @@
\RequirePackage{l3keys2e}
-\def\g at pbs@date at tl{2021/07/25}
-\def\g at pbs@version at tl{0.48}
+\def\g at pbs@date at tl{2021/07/28}
+\def\g at pbs@version at tl{0.49}
\NeedsTeXFormat{LaTeX2e}[2020-10-01]
\ProvidesExplPackage{pdfbase}{\g at pbs@date at tl}{\g at pbs@version at tl}
@@ -1071,8 +1071,8 @@
output.
}
- \cs_new_protected_nopar:Nn\pbs_pdfxform:nnnnn{% #1, #3 not used (resources
- \mode_leave_vertical: % are managed automatically)
+ \cs_new_protected_nopar:Nn\pbs_pdfxform:nnnnn{% #1, #3 not used
+ \mode_leave_vertical: % resources are managed automatically
%rescale box to fit within the papersize while distilling
\tl_gset:cx{scale_{pbs at obj\int_use:N\g_pbs_obj_int}}{\fp_eval:n{min(1.0,
\dim_ratio:nn{\paperwidth}{\box_wd:N#5},
@@ -1083,7 +1083,7 @@
}{
\tl_use:c{scale_{pbs at obj\int_use:N\g_pbs_obj_int}}
}
- %store dimensions (in "dots" units)
+ %store dimensions in "dots" units (DPI)
\tl_set:Nx\l_pbs_width_tl{
\dim_to_decimal:n{\box_wd:N#5}~72.27~div~Resolution~mul~}
\tl_set:Nx\l_pbs_height_tl{
@@ -1099,7 +1099,8 @@
%clipbox (i. e. page area) available for distilling; outlying parts
%get clipped
{
- clippath~pathbbox~newpath~pop~pop~
+ initclip~ % restore default clipping path (page device/whole page)
+ clippath~pathbbox~newpath~pop~pop~ % top-left coordinates
isls {
landplus90 {
% pkg geometry with landscape option
@@ -1438,8 +1439,8 @@
% --------
%
% \pbs_pdfxform:nnnnn
-% #1: add pgf/tikz resources (transparency, shading)? (1|0) %dvipdfmx/xetex
-% #2: used as PDF annotation appearance? (1|0) %dvips/pdftex
+% #1: add pgf/tikz resources (transparency, shading)? (0|1) %dvipdfmx/xetex
+% #2: write immediately to PDF? (0|1); eg 1 for appearances; pdftex/luatex
% #3: additional resources %all BUT dvips
% #4: additional dictionary entries
% #5: savebox number
@@ -1508,8 +1509,8 @@
\RequirePackage{l3keys2e}
-\def\g at pbs@date at tl{2021/07/25}
-\def\g at pbs@version at tl{0.48}
+\def\g at pbs@date at tl{2021/07/28}
+\def\g at pbs@version at tl{0.49}
\NeedsTeXFormat{LaTeX2e}[2020-10-01]
\ProvidesExplPackage{pdfbase}{\g at pbs@date at tl}{\g at pbs@version at tl}
@@ -2371,8 +2372,8 @@
output.
}
- \cs_new_protected_nopar:Nn\pbs_pdfxform:nnnnn{% #1, #3 not used (resources
- \mode_leave_vertical: % are managed automatically)
+ \cs_new_protected_nopar:Nn\pbs_pdfxform:nnnnn{% #1, #3 not used
+ \mode_leave_vertical: % resources are managed automatically
%rescale box to fit within the papersize while distilling
\tl_gset:cx{scale_{pbs at obj\int_use:N\g_pbs_obj_int}}{\fp_eval:n{min(1.0,
\dim_ratio:nn{\paperwidth}{\box_wd:N#5},
@@ -2399,7 +2400,8 @@
%clipbox (i. e. page area) available for distilling; outlying parts
%get clipped
{
- clippath~pathbbox~newpath~pop~pop~
+ initclip~ % restore default clipping path (page device/whole page)
+ clippath~pathbbox~newpath~pop~pop~ % top-left coordinates
isls {
landplus90 {
% pkg geometry with landscape option
More information about the tex-live-commits
mailing list.