diff options
author | Karl Berry <karl@freefriends.org> | 2013-07-20 21:47:31 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2013-07-20 21:47:31 +0000 |
commit | 0cb266803002915dbdfe403a37b649809b4beee5 (patch) | |
tree | e61c99cb523fe5605835c5715d373ed7247e5bf8 /Master/texmf-dist/tex/latex/media9 | |
parent | bb7a297eae14c235d5f218959c9a3c38927bd3fa (diff) |
media9 (19jul13)
git-svn-id: svn://tug.org/texlive/trunk@31246 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/media9')
-rw-r--r-- | Master/texmf-dist/tex/latex/media9/media9.sty | 33 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/media9/players/APlayer.swf | bin | 343550 -> 343617 bytes | |||
-rw-r--r-- | Master/texmf-dist/tex/latex/media9/players/StrobeMediaPlayback.swf | bin | 275743 -> 275742 bytes | |||
-rw-r--r-- | Master/texmf-dist/tex/latex/media9/players/VPlayer.swf | bin | 501218 -> 501218 bytes |
4 files changed, 26 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/latex/media9/media9.sty b/Master/texmf-dist/tex/latex/media9/media9.sty index 557376460d6..cd03dc9ba73 100644 --- a/Master/texmf-dist/tex/latex/media9/media9.sty +++ b/Master/texmf-dist/tex/latex/media9/media9.sty @@ -41,8 +41,8 @@ \RequirePackage{ifpdf} \RequirePackage{atbegshi} -\def\g@mix@date@tl{2013/06/03} -\def\g@mix@version@tl{0.28} +\def\g@mix@date@tl{2013/07/19} +\def\g@mix@version@tl{0.29} \def\g@mix@liiikerneldate{2012/07/16} \def\g@mix@liiipkgdate{2012/07/16} @@ -460,6 +460,25 @@ } \group_end: +%add AcroForm entry to PDF Catalog +\AtBeginDocument{ + \@ifpackageloaded{animate}{}{ + \bool_if:NTF\g_mix_pdfoutput_bool{ + \pdfcatalog{/AcroForm~<</Fields~[]/NeedAppearances~true>>} + }{ + \bool_if:NTF\g_mix_dvipdfmx_bool{ %dvipdfmx/XeTeX + \special{pdf:put~@catalog~<< + /AcroForm~<</Fields~[]/NeedAppearances~true>>>>} + }{ + \special{ps: + mark~{Catalog}~<</AcroForm~<</Fields~[]/NeedAppearances~true>>>>~ + /PUT~pdfmark + } + } + } + } +} + %commands for creating PDF objects, annots etc. \bool_if:NTF\g_mix_pdfoutput_bool{ %helper func to remove `0 R' part from pdf obj reference @@ -2429,11 +2448,11 @@ /T~(mbtn@\int_use:N\g_mix_mbtncnt_int) /FT/Btn/Ff~65536 /H/P - \tl_if_empty:NTF\g_mix_downbtn_tl{/H/I}{/H/P} - /AP~<< - /N~\g_mix_normalbtn_tl - \tl_if_empty:NF\g_mix_overbtn_tl{/R~\g_mix_overbtn_tl} - \tl_if_empty:NF\g_mix_downbtn_tl{/D~\g_mix_downbtn_tl} + /MK~<< + /TP~1~/IF~<</S/A/FB~true/A~[0.0~0.0]>> + /I~\g_mix_normalbtn_tl + \tl_if_empty:NF\g_mix_overbtn_tl{/RI~\g_mix_overbtn_tl} + \tl_if_empty:NF\g_mix_downbtn_tl{/IX~\g_mix_downbtn_tl} >> /A~<< /S/JavaScript/JS~(app.focusRect=false;) diff --git a/Master/texmf-dist/tex/latex/media9/players/APlayer.swf b/Master/texmf-dist/tex/latex/media9/players/APlayer.swf Binary files differindex 3814a057907..78326f7c793 100644 --- a/Master/texmf-dist/tex/latex/media9/players/APlayer.swf +++ b/Master/texmf-dist/tex/latex/media9/players/APlayer.swf diff --git a/Master/texmf-dist/tex/latex/media9/players/StrobeMediaPlayback.swf b/Master/texmf-dist/tex/latex/media9/players/StrobeMediaPlayback.swf Binary files differindex afc235629f1..d82fe3beb1d 100644 --- a/Master/texmf-dist/tex/latex/media9/players/StrobeMediaPlayback.swf +++ b/Master/texmf-dist/tex/latex/media9/players/StrobeMediaPlayback.swf diff --git a/Master/texmf-dist/tex/latex/media9/players/VPlayer.swf b/Master/texmf-dist/tex/latex/media9/players/VPlayer.swf Binary files differindex 6ecea88f358..f3fb9edab72 100644 --- a/Master/texmf-dist/tex/latex/media9/players/VPlayer.swf +++ b/Master/texmf-dist/tex/latex/media9/players/VPlayer.swf |