summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/media9
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-02-13 23:24:07 +0000
committerKarl Berry <karl@freefriends.org>2013-02-13 23:24:07 +0000
commit7106fb07d64e3c675d573858a036f2251aac8f38 (patch)
treea6c8d90933fa14544019ac31379432b9e59846b4 /Master/texmf-dist/tex/latex/media9
parent1525049241bae1fb90a300663025daaeef1d9a7a (diff)
media9 (13feb13)
git-svn-id: svn://tug.org/texlive/trunk@29104 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/media9')
-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}