diff options
author | Karl Berry <karl@freefriends.org> | 2017-07-24 20:54:03 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2017-07-24 20:54:03 +0000 |
commit | c35c9486f380273670e736423123ae152d08f269 (patch) | |
tree | 7e8c97872d696169c6bea02c0b5ef468288b85ae /Master/texmf-dist/tex | |
parent | 01ffe4a9dcdc2e14ee16025376eee1315e025201 (diff) |
media9 (24jul17)
git-svn-id: svn://tug.org/texlive/trunk@44882 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/media9/media9.sty | 15 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/media9/pdfbase.sty | 13 |
2 files changed, 17 insertions, 11 deletions
diff --git a/Master/texmf-dist/tex/latex/media9/media9.sty b/Master/texmf-dist/tex/latex/media9/media9.sty index 103ad7c2d80..174c029a8b7 100644 --- a/Master/texmf-dist/tex/latex/media9/media9.sty +++ b/Master/texmf-dist/tex/latex/media9/media9.sty @@ -39,8 +39,8 @@ \RequirePackage{xparse} \RequirePackage{atbegshi} -\def\g@mix@date@tl{2017/06/12} -\def\g@mix@version@tl{0.80} +\def\g@mix@date@tl{2017/07/24} +\def\g@mix@version@tl{0.81} \def\g@mix@liiikerneldate{2017/05/29} \def\g@mix@liiipkgdate{2017/05/29} @@ -411,7 +411,6 @@ \cs_new_nopar:Nn\mix_keytoaux_now:nn{ \iow_now:Nx\@mainaux{\token_to_str:N\mix@newkey{#1}{#2}} \bool_if:nT{ -% !\cs_if_exist_p:c{#1} || !\str_if_eq_x_p:nn{\tl_use:c{#1}}{#2} !\cs_if_exist:cTF{#1}{ \str_if_eq_x_p:nn{\tl_use:c{#1}}{#2} }{ @@ -2322,8 +2321,9 @@ \mix_pdfobj:nnn{}{dict}{ /S/JavaScript/JS~( try{\l_tmpb_tl}catch(e){console.show();console.println(e)})}} - \bool_if:nT{ - \tl_if_exist_p:c{ann@\l_tmpa_tl}&& + \bool_lazy_and:nnT{ + \tl_if_exist_p:c{ann@\l_tmpa_tl} + }{ !\str_if_eq_x_p:nn{\tl_use:c{ann@\l_tmpa_tl}}{draft} }{ \mix_pdfobj:nnn{}{dict}{ @@ -2338,8 +2338,9 @@ \tl_if_blank:VF\l_tmpb_tl{/Next~\mix_pdflastobj:} } } - \bool_if:nT{ - \tl_if_exist_p:c{ann@\l_tmpa_tl}&& + \bool_lazy_and:nnT{ + \tl_if_exist_p:c{ann@\l_tmpa_tl} + }{ !\str_if_eq_x_p:nn{\tl_use:c{ann@\l_tmpa_tl}}{draft}|| !\tl_if_blank_p:V\l_tmpb_tl }{ diff --git a/Master/texmf-dist/tex/latex/media9/pdfbase.sty b/Master/texmf-dist/tex/latex/media9/pdfbase.sty index b838a7859a3..63a9ea3edd0 100644 --- a/Master/texmf-dist/tex/latex/media9/pdfbase.sty +++ b/Master/texmf-dist/tex/latex/media9/pdfbase.sty @@ -130,8 +130,8 @@ \RequirePackage{expl3} \RequirePackage{l3keys2e} -\def\g@pbs@date@tl{2017/03/23} -\def\g@pbs@version@tl{0.14} +\def\g@pbs@date@tl{2017/07/24} +\def\g@pbs@version@tl{0.15} \ProvidesExplPackage{pdfbase}{\g@pbs@date@tl}{\g@pbs@version@tl} {driver independent access to low-level PDF features} @@ -248,8 +248,10 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \sys_if_output_pdf:TF{ %in LuaTeX-0.95.0, pdfTeX primitives got new names - \bool_if:nT{ - \sys_if_engine_luatex_p: && !\int_compare_p:n{\luatexversion<95} + \bool_lazy_and:nnT{ + \sys_if_engine_luatex_p: + }{ + !\int_compare_p:n{\luatexversion<95} }{ \cs_set_protected:Npn\pdfnames{\pdfextension~names~} \cs_set_protected:Npn\pdfobj{\pdfextension~obj~} @@ -434,6 +436,9 @@ } \int_new:N\g_pbs_obj_int %object ID \bool_if:NTF\g_pbs_dvipdfmx_bool{ %dvipdfmx/XeTeX + %suppress any annotation growth through (x)dvipdfmx option/config var `g' + \AtBeginDocument{\special{dvipdfmx:config~g~0}} + \cs_new_nopar:Nn\pbs_pdfobj:nnn{ \tl_if_blank:oTF{#1}{ \tl_set:Nx\l_pbs_usenum_tl{@pbs@obj\int_use:N\g_pbs_obj_int} |