summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Master/texmf-dist/doc/latex/media9/ChangeLog6
-rw-r--r--Master/texmf-dist/doc/latex/media9/media9.pdfbin3605721 -> 3605631 bytes
-rw-r--r--Master/texmf-dist/tex/latex/media9/media9.sty14
-rw-r--r--Master/texmf-dist/tex/latex/media9/pdfbase.sty37
-rwxr-xr-xMaster/tlpkg/bin/tlpkg-ctan-check2
5 files changed, 38 insertions, 21 deletions
diff --git a/Master/texmf-dist/doc/latex/media9/ChangeLog b/Master/texmf-dist/doc/latex/media9/ChangeLog
index 1912f089b19..05e94dfe982 100644
--- a/Master/texmf-dist/doc/latex/media9/ChangeLog
+++ b/Master/texmf-dist/doc/latex/media9/ChangeLog
@@ -1,3 +1,9 @@
+2017-01-10
+ * v0.72 : media9.sty
+ * v0.12 : pdfbase.sty
+ * fix: pdfbase.sty, media9.sty: `landscape' environment:
+ drivers XeTeX and dvipdfmx also supported
+
2017-01-09
* v0.71 : media9.sty
* v0.11 : pdfbase.sty
diff --git a/Master/texmf-dist/doc/latex/media9/media9.pdf b/Master/texmf-dist/doc/latex/media9/media9.pdf
index f4e6b504f84..ff7ee6ca197 100644
--- a/Master/texmf-dist/doc/latex/media9/media9.pdf
+++ b/Master/texmf-dist/doc/latex/media9/media9.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/media9/media9.sty b/Master/texmf-dist/tex/latex/media9/media9.sty
index c120f50f5d4..d7411625998 100644
--- a/Master/texmf-dist/tex/latex/media9/media9.sty
+++ b/Master/texmf-dist/tex/latex/media9/media9.sty
@@ -41,8 +41,8 @@
\RequirePackage{atbegshi}
\RequirePackage{atenddvi}
-\def\g@mix@date@tl{2017/01/09}
-\def\g@mix@version@tl{0.71}
+\def\g@mix@date@tl{2017/01/10}
+\def\g@mix@version@tl{0.72}
\def\g@mix@liiikerneldate{2015/09/27}
\def\g@mix@liiipkgdate{2015/09/27}
@@ -2182,16 +2182,16 @@
tooltip .value_required:n = {true},
overface .code:n = {
- %\hbox_set:Nn\l_mix_poster_box{#1}
- \sbox\l_mix_poster_box{#1}
+ \sbox\l_mix_poster_box{
+ \bool_if:NTF\g_pbs_lscape_bool{\rotatebox{90}{#1}}{#1}}
\mix_pdfxform:n{\l_mix_poster_box}
\tl_gset:Nx\g_mix_overbtn_tl{\mix_pdflastxform:}
},
overface .value_required:n = {true},
downface .code:n = {
- %\hbox_set:Nn\l_mix_poster_box{#1}
- \sbox\l_mix_poster_box{#1}
+ \sbox\l_mix_poster_box{
+ \bool_if:NTF\g_pbs_lscape_bool{\rotatebox{90}{#1}}{#1}}
\mix_pdfxform:n{\l_mix_poster_box}
\tl_gset:Nx\g_mix_downbtn_tl{\mix_pdflastxform:}
},
@@ -2377,6 +2377,8 @@
\tl_set:Nx\height{\dim_use:N\box_ht:N\l_mix_poster_box}
\tl_set:Nx\depth {\dim_use:N\box_dp:N\l_mix_poster_box}
\bool_if:NTF\g_mix_btndraft_bool{\box_use:N\l_mix_poster_box}{
+ \sbox\l_mix_poster_box{\bool_if:NTF\g_pbs_lscape_bool{\rotatebox{90}{
+ \box_use:N\l_mix_poster_box}}{\box_use:N\l_mix_poster_box}}
\mix_pdfxform:n{\l_mix_poster_box}
\tl_set:Nx\g_mix_normalbtn_tl{\mix_pdflastxform:}
\bool_if:nT{ %dummy Widget for ocgx2, AR seems to need it
diff --git a/Master/texmf-dist/tex/latex/media9/pdfbase.sty b/Master/texmf-dist/tex/latex/media9/pdfbase.sty
index cfa603717af..2cdf0976b8b 100644
--- a/Master/texmf-dist/tex/latex/media9/pdfbase.sty
+++ b/Master/texmf-dist/tex/latex/media9/pdfbase.sty
@@ -123,8 +123,8 @@
\RequirePackage{l3keys2e}
\RequirePackage{atenddvi}
-\def\g@pbs@date@tl{2017/01/09}
-\def\g@pbs@version@tl{0.11}
+\def\g@pbs@date@tl{2017/01/10}
+\def\g@pbs@version@tl{0.12}
\ProvidesExplPackage{pdfbase}{\g@pbs@date@tl}{\g@pbs@version@tl}
{driver independent access to low-level PDF features}
@@ -161,6 +161,13 @@
\bool_new:N\g_pbs_pkgbigfiles_bool
\bool_new:N\g_pbs_dvipdfmx_bool
+\bool_new:N\g_pbs_lscape_bool %if we are inside landscape env
+\AtBeginDocument{
+ \cs_if_exist:NT\landscape{%
+ \tl_put_right:Nn\landscape{\bool_gset_true:N\g_pbs_lscape_bool}
+ \tl_put_left:Nn\endlandscape{\bool_gset_false:N\g_pbs_lscape_bool}
+ }
+}
\keys_define:nn{pdfbase}{
xetex .bool_gset:N = \g_pbs_dvipdfmx_bool,
@@ -355,12 +362,22 @@
}
\tl_gset_eq:NN\g_pbs_pdflastobj_tl\l_pbs_usenum_tl
}
-
\cs_new_nopar:Nn\pbs_pdfannot:nnnn{
- \special{pdf:ann~@pbs@obj\int_use:N\g_pbs_obj_int\space
- width~\dim_eval:n{#1}\space
- height~\dim_eval:n{#2}\space
+ \bool_if:NTF\g_pbs_lscape_bool{
+ %fix missing annotation rotation of (x)dvipdfmx on landscape pages
+ \box_move_up:nn{\dim_eval:n{#2}}{\vbox:n{
+ \special{pdf:ann~@pbs@obj\int_use:N\g_pbs_obj_int\space
+ width~\dim_eval:n{#2+#3}\space
+ height~\dim_eval:n{#1}\space
+ depth~\dim_eval:n{\c_zero_dim}~<<#4>>
+ }
+ }}
+ }{
+ \special{pdf:ann~@pbs@obj\int_use:N\g_pbs_obj_int\space
+ width~\dim_eval:n{#1}\space
+ height~\dim_eval:n{#2}\space
depth~\dim_eval:n{#3}~<<#4>>
+ }
}
\tl_gset:Nx\g_pbs_pdflastann_tl{@pbs@obj\int_use:N\g_pbs_obj_int}
\int_gincr:N\g_pbs_obj_int
@@ -439,14 +456,6 @@
\bool_new:N\g_pbs_powerdot_bool %to cope with some powerdot oddity
\@ifclassloaded{powerdot}{\bool_gset_true:N\g_pbs_powerdot_bool}{}
- \bool_new:N\g_pbs_lscape_bool %if we are inside landscape env
- \AtBeginDocument{
- \cs_if_exist:NT\landscape{%
- \tl_put_right:Nn\landscape{\bool_gset_true:N\g_pbs_lscape_bool}
- \tl_put_left:Nn\endlandscape{\bool_gset_false:N\g_pbs_lscape_bool}
- }
- }
-
\sys_if_engine_pdftex:TF{
\cs_new_nopar:Nn\pbs_filesize:n{\pdffilesize{#1}}
\cs_new_nopar:Nn\pbs_filedump:nnn{\pdffiledump~offset~#1~length~#2~{#3}}
diff --git a/Master/tlpkg/bin/tlpkg-ctan-check b/Master/tlpkg/bin/tlpkg-ctan-check
index f5f1823132d..03329a0064a 100755
--- a/Master/tlpkg/bin/tlpkg-ctan-check
+++ b/Master/tlpkg/bin/tlpkg-ctan-check
@@ -329,7 +329,7 @@ my @TLP_working = qw(
iso10303 isodate isodoc isomath isonums isorot isotope issuulinks itnumpar
iwhdp iwona
jablantile jacow jamtimes japanese-otf japanese-otf-uptex
- jfontmaps jknapltx jlabels jmlr jneurosci jpsj jsclasses
+ jknapltx jlabels jmlr jneurosci jpsj jsclasses
jslectureplanner jumplines junicode
jura juraabbrev jurabib juramisc jurarsp js-misc jvlisting
kantlipsum karnaugh karnaugh-map karnaughmap kastrup kdgdocs kerkis kerntest