summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-01-30 00:35:15 +0000
committerKarl Berry <karl@freefriends.org>2016-01-30 00:35:15 +0000
commit36dab4a4d4adb0255927ef58e697234d51f1865e (patch)
treec4a98d7f1ad6f33e889466d07a6fe9fe491391da /Master/texmf-dist/tex/latex
parentc74092a4ce14b1e9b40bb61286abe3a4d68f5aed (diff)
media9 (29jan16)
git-svn-id: svn://tug.org/texlive/trunk@39505 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r--Master/texmf-dist/tex/latex/media9/media9.sty27
1 files changed, 24 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/media9/media9.sty b/Master/texmf-dist/tex/latex/media9/media9.sty
index a3eea448241..0bf44c4a6c5 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/01/12}
-\def\g@mix@version@tl{0.62}
+\def\g@mix@date@tl{2016/01/29}
+\def\g@mix@version@tl{0.63}
\def\g@mix@liiikerneldate{2015/09/27}
\def\g@mix@liiipkgdate{2015/09/27}
@@ -422,6 +422,24 @@
}
}
+\cs_gset_eq:NN\mix_atenddvi_checkimpl_orig:\AtEndDvi@CheckImpl%
+\def\AtEndDvi@CheckImpl{
+ \mix_atenddvi_checkimpl_orig:
+ \cs_if_exist:NTF\AtEndDvi@LastPage{
+ \int_compare:nF{\AtEndDvi@LastPage=\value{abspage}}{
+ \cs_if_exist:NF\g_mix_rerunwarned_tl{
+ \tl_new:N\g_mix_rerunwarned_tl
+ \msg_warning:nn{media9}{rerun}
+ }
+ }
+ }{
+ \cs_if_exist:NF\g_mix_rerunwarned_tl{
+ \tl_new:N\g_mix_rerunwarned_tl
+ \msg_warning:nn{media9}{rerun}
+ }
+ }
+}
+
%reset various variables for every new media inclusion
\cs_new:Nn\mix_reset:{
\tl_gset:Nx\g_mix_label_tl{rm@\int_use:N\g_mix_rmcnt_int}
@@ -576,7 +594,10 @@
}
}{
%determine DVI resolution and output warning message if too big
- \AtEndDvi{\special{ps:\mix_dpiwarning:}}
+ \cs_if_exist:NF\g_mix_dpiwarned_tl{
+ \tl_new:N\g_mix_dpiwarned_tl
+ \AtEndDvi{\special{ps::[nobreak]\mix_dpiwarning:}}
+ }
%3DNode name
\cs_new:Nn\mix_ndname:n{%#1:HEX encoded unicode string