summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-01-09 22:07:59 +0000
committerKarl Berry <karl@freefriends.org>2017-01-09 22:07:59 +0000
commite5c432b3237839bafdb4af7a892daac9540f0bfd (patch)
treed85c86cef7c41c6733934ba2f70cdad67f9bd052
parent13856e4dd2db3582850ceb88dc8e93a938078a35 (diff)
media9 (9jan17)
git-svn-id: svn://tug.org/texlive/trunk@42911 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/media9/ChangeLog6
-rw-r--r--Master/texmf-dist/doc/latex/media9/media9.pdfbin3606232 -> 3605721 bytes
-rw-r--r--Master/texmf-dist/tex/latex/media9/media9.sty4
-rw-r--r--Master/texmf-dist/tex/latex/media9/pdfbase.sty16
4 files changed, 20 insertions, 6 deletions
diff --git a/Master/texmf-dist/doc/latex/media9/ChangeLog b/Master/texmf-dist/doc/latex/media9/ChangeLog
index cd69ac65422..1912f089b19 100644
--- a/Master/texmf-dist/doc/latex/media9/ChangeLog
+++ b/Master/texmf-dist/doc/latex/media9/ChangeLog
@@ -1,3 +1,9 @@
+2017-01-09
+ * v0.71 : media9.sty
+ * v0.11 : pdfbase.sty
+ * fix: pdfbase.sty: support for `landscape' environment of
+ the pdflscape/lscape packages
+
2016-11-08
* v0.70 : media9.sty
* v0.10 : pdfbase.sty
diff --git a/Master/texmf-dist/doc/latex/media9/media9.pdf b/Master/texmf-dist/doc/latex/media9/media9.pdf
index 6f0442497ac..f4e6b504f84 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 c1c7b94ca79..c120f50f5d4 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{2016/11/08}
-\def\g@mix@version@tl{0.70}
+\def\g@mix@date@tl{2017/01/09}
+\def\g@mix@version@tl{0.71}
\def\g@mix@liiikerneldate{2015/09/27}
\def\g@mix@liiipkgdate{2015/09/27}
diff --git a/Master/texmf-dist/tex/latex/media9/pdfbase.sty b/Master/texmf-dist/tex/latex/media9/pdfbase.sty
index 18d5beecb00..cfa603717af 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{2016/11/08}
-\def\g@pbs@version@tl{0.10}
+\def\g@pbs@date@tl{2017/01/09}
+\def\g@pbs@version@tl{0.11}
\ProvidesExplPackage{pdfbase}{\g@pbs@date@tl}{\g@pbs@version@tl}
{driver independent access to low-level PDF features}
@@ -185,7 +185,7 @@
%commands for creating PDF objects, annots etc.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\sys_if_output_pdf:TF{
- %in LuaTeX-0.95.0, pdfTeX primitives got new names
+ %in LuaTeX-0.95.0, pdfTeX primitives got new names
\bool_if:nT{
\sys_if_engine_luatex_p: && !\int_compare_p:n{\luatexversion<95}
}{
@@ -439,6 +439,14 @@
\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}}
@@ -658,7 +666,7 @@
/origin@pbs@\int_use:N\g_pbs_obj_int~[currentpoint]~cvx~put~
false~setglobal~
%translate graphics to upper left page corner
- \bool_if:NF\g_pbs_powerdot_bool{
+ \bool_if:nF{\g_pbs_powerdot_bool||\g_pbs_lscape_bool}{
{
pbs@llx~neg~pbs@ury~neg~translate~
one@inch@x~DVImag~div~neg~one@inch@y~DVImag~div~neg~translate