summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r--Master/texmf-dist/tex/latex/media9/media9.sty10
1 files changed, 7 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/media9/media9.sty b/Master/texmf-dist/tex/latex/media9/media9.sty
index 93dfbedbe82..9053ac41e5b 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/01/31}
-\def\g@mix@version@tl{0.22}
+\def\g@mix@date@tl{2013/02/12}
+\def\g@mix@version@tl{0.23}
\def\g@mix@liiikerneldate{2012/07/16}
\def\g@mix@liiipkgdate{2012/07/16}
@@ -2214,6 +2214,8 @@
\str_if_eq_x:nnF{\tl_use:c{ann@\l_tmpa_tl}}{draft}{
\tl_set:Nx\l_tmpb_tl{#1}
\regex_replace_once:nnN{[^:]+\:?}{}\l_tmpb_tl
+ \tl_trim_spaces:N\l_tmpb_tl
+ \regex_replace_all:nnN{^\{|\}$}{}\l_tmpb_tl
\tl_set:Nx\l_mix_cmd_tl{
\exp_after:wN\mix_separate_cmd_from_actn:w\l_tmpb_tl[]\q_stop}
\tl_trim_spaces:N\l_mix_cmd_tl
@@ -2275,7 +2277,9 @@
\tl_set:Nx\l_tmpb_tl{\exp_after:wN\use:n\l_tmpb_tl}
\tl_trim_spaces:N\l_tmpb_tl
\tl_if_blank:VF\l_tmpb_tl{
- \mix_pdfobj:nnn{}{dict}{/S/JavaScript/JS~(try{\l_tmpb_tl}catch(e){})}}
+ \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}&&
!\str_if_eq_x_p:nn{\tl_use:c{ann@\l_tmpa_tl}}{draft}