diff options
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/media9/media9.sty | 4 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/media9/pdfbase.sty | 16 |
2 files changed, 13 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/latex/media9/media9.sty b/Master/texmf-dist/tex/latex/media9/media9.sty index dd098633f38..231ca6ba083 100644 --- a/Master/texmf-dist/tex/latex/media9/media9.sty +++ b/Master/texmf-dist/tex/latex/media9/media9.sty @@ -37,8 +37,8 @@ \RequirePackage{xparse} \RequirePackage{atbegshi} -\def\g@mix@date@tl{2018/03/29} -\def\g@mix@version@tl{0.91} +\def\g@mix@date@tl{2018/04/06} +\def\g@mix@version@tl{0.92} \def\g@mix@liiikerneldate{2017/05/29} \def\g@mix@liiipkgdate{2017/05/29} diff --git a/Master/texmf-dist/tex/latex/media9/pdfbase.sty b/Master/texmf-dist/tex/latex/media9/pdfbase.sty index bd46fb6c590..415a15abd56 100644 --- a/Master/texmf-dist/tex/latex/media9/pdfbase.sty +++ b/Master/texmf-dist/tex/latex/media9/pdfbase.sty @@ -149,8 +149,8 @@ \RequirePackage{expl3} \RequirePackage{l3keys2e} -\def\g@pbs@date@tl{2018/03/29} -\def\g@pbs@version@tl{0.22} +\def\g@pbs@date@tl{2018/04/06} +\def\g@pbs@version@tl{0.23} \ProvidesExplPackage{pdfbase}{\g@pbs@date@tl}{\g@pbs@version@tl} {driver independent access to low-level PDF features} @@ -261,6 +261,7 @@ \cs_new_nopar:Nn\pbs_second_of_two:nn{#2} \cs_new_nopar:Nn\pbs_insert_properties_entry:{} + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %commands for creating PDF objects, annots etc. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -293,6 +294,7 @@ \cs_set_eq:NN\pdflastxform\lastsavedboxresourceindex \cs_set:Npn\pdffontobjnum{\pdffeedback~fontobjnum} } + %helper func to remove `0 R' part from pdf obj reference \cs_new_nopar:Nn\pbs_reftonum:n{\_pbs_reftonum:f{#1}} \cs_new_nopar:Nn\_pbs_reftonum:n{\exp_after:wN\_pbs_reftonum:w#1} @@ -335,6 +337,7 @@ } \tl_gset:Nx\g_pbs_pdflastobj_tl{\the\pdflastobj\space 0~R} } + \cs_new_nopar:Nn\pbs_pdfannot:nnnn{ %dumb dummy Widget, workaround for AR bug; %see https://forums.adobe.com/message/5787612#5787612 @@ -517,6 +520,7 @@ } \tl_gset_eq:NN\g_pbs_pdflastobj_tl\l_pbs_usenum_tl } + \cs_new_nopar:Nn\pbs_pdfannot:nnnn{ \bool_if:NTF\g_pbs_lscape_bool{ %fix missing annotation rotation of (x)dvipdfmx on landscape pages @@ -663,11 +667,13 @@ userdict~/?pdfmark~systemdict~/pop~get~put~ userdict~/pdfmark~systemdict~/cleartomark~get~put } - ifelse~ - %keep track of xform nesting level - true~setglobal~globaldict~/pbs@xform@level~0~put~false~setglobal~ + ifelse } } + \special{!~ + %keeping track of xform nesting level + true~setglobal~globaldict~/pbs@xform@level~0~put~false~setglobal + } } \bool_if:NT\g_pbs_pkgbigfiles_bool{ |