summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Master/texmf-dist/doc/latex/media9/ChangeLog6
-rw-r--r--Master/texmf-dist/doc/latex/media9/README4
-rw-r--r--Master/texmf-dist/doc/latex/media9/media9.pdfbin1560925 -> 1561406 bytes
-rw-r--r--Master/texmf-dist/tex/latex/media9/javascript/asylabels.js2
-rw-r--r--Master/texmf-dist/tex/latex/media9/media9.sty53
5 files changed, 51 insertions, 14 deletions
diff --git a/Master/texmf-dist/doc/latex/media9/ChangeLog b/Master/texmf-dist/doc/latex/media9/ChangeLog
index 381076589f7..565e29c7dc5 100644
--- a/Master/texmf-dist/doc/latex/media9/ChangeLog
+++ b/Master/texmf-dist/doc/latex/media9/ChangeLog
@@ -1,3 +1,9 @@
+2012-07-24
+ * v0.8
+ * fix: changed behaviour of \fp_use:N (l3fp package) caused failure;
+ opening 3D views file lead to error due to changed behaviour of
+ \ior_open:Nn (l3file package)
+
2012-05-02
* v0.7
* new: 3Dpartsattrs added as package option
diff --git a/Master/texmf-dist/doc/latex/media9/README b/Master/texmf-dist/doc/latex/media9/README
index 907d8d318bb..631079c3c55 100644
--- a/Master/texmf-dist/doc/latex/media9/README
+++ b/Master/texmf-dist/doc/latex/media9/README
@@ -11,8 +11,8 @@ Alexander Grahn
Description:
This package provides an interface to embed interactive Flash (SWF)
-and 3D objects (Adobe U3D & PRC) as well as video and sound files or
-streams in the popular MP4, FLV, MP3 and AAC formats into PDF documents
+and 3D objects (Adobe U3D & PRC) as well as video and sound files
+or streams in the popular MP4, FLV, MP3 formats into PDF documents
with Acrobat-9/X compatibility. Playback of multimedia files uses the
built-in Flash Player of Adobe Reader and does, therefore, not depend
on external plug-ins. Flash Player supports the efficient H.264 codec
diff --git a/Master/texmf-dist/doc/latex/media9/media9.pdf b/Master/texmf-dist/doc/latex/media9/media9.pdf
index b6b3a308c46..8eef4e1e3dc 100644
--- a/Master/texmf-dist/doc/latex/media9/media9.pdf
+++ b/Master/texmf-dist/doc/latex/media9/media9.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/media9/javascript/asylabels.js b/Master/texmf-dist/tex/latex/media9/javascript/asylabels.js
index dfe1899d5f5..a2455d7470c 100644
--- a/Master/texmf-dist/tex/latex/media9/javascript/asylabels.js
+++ b/Master/texmf-dist/tex/latex/media9/javascript/asylabels.js
@@ -47,7 +47,7 @@ function nextCenter(msh){
min.set(msh.computeBoundingBox().min);
min.set(trans.transformPosition(min));
- //get min BBox corner closest to origin (0,0,0)
+ //get min BBox corner
if(msh.nextSibling){
var nextmin=nextCenter(msh.nextSibling);
return(min.length < nextmin.length ? min : nextmin);
diff --git a/Master/texmf-dist/tex/latex/media9/media9.sty b/Master/texmf-dist/tex/latex/media9/media9.sty
index 0bfae338326..23ab9aede01 100644
--- a/Master/texmf-dist/tex/latex/media9/media9.sty
+++ b/Master/texmf-dist/tex/latex/media9/media9.sty
@@ -34,13 +34,46 @@
%
% The Current Maintainer of this work is A. Grahn.
+% TODO (expl3 changes until end of 2012)
+%\prg_case_dim:nnn => \dim_case:nnn
+%\prg_case_int:nnn => \int_case:nnn
+%\prg_case_str:nnn => \str_case:nnn
+%\prg_case_str:onn => \str_case:onn
+%\prg_case_tl:Nnn => \tl_case:Nnn
+%
+%\prg_stepwise_function:nnnN => \int_step_function:nnnN
+%\prg_stepwise_inline:nnnn => \int_step_inline:nnnn
+%\prg_stepwise_variable:nnnNn => \int_step_variable:nnnNn
+%
+%\str_if_eq:xx(TF) => \str_if_eq_x:nn(TF)
+%
+%\prg_case_str:xxn => \str_case_x:nnn
+%
+%\tl_if_empty:x(TF) {#1} => \str_if_eq_x:nn(TF) { } {#1}
+%
+%\fp_(g)abs:(N|c)
+%\fp_(g)neg:(N|c)
+%\fp_(g)mul:(N|c)n
+%\fp_(g)div:(N|c)n
+%\fp_(g)sin:(N|c)n
+%\fp_(g)cos:(N|c)n
+%\fp_(g)tan:(N|c)n
+%\fp_(g)exp:(N|c)n
+%\fp_(g)ln:(N|c)n
+%\fp_(g)pow:(N|c)n
+%\fp_(g)round_figures:(N|c)n
+%\fp_(g)round_places:(N|c)n
+%\fp_if_zero:(N|c)(TF)
+%\fp_if_undefined:(N|c)(TF)
+%\c_undefined_fp
+
\RequirePackage{expl3}
\RequirePackage{xparse}
\RequirePackage{l3keys2e}
\RequirePackage{ifpdf}
-\def\g@mix@date@tl{2012/05/02}
-\def\g@mix@version@tl{0.7}
+\def\g@mix@date@tl{2012/07/24}
+\def\g@mix@version@tl{0.8}
\ProvidesExplPackage{media9}{\g@mix@date@tl}{\g@mix@version@tl}
{acrobat-9 compatible media}
@@ -61,15 +94,15 @@
}
\tex_endinput:D
}
-\@ifpackagelater{expl3}{2011/09/08}{}{
+\@ifpackagelater{expl3}{2012/07/16}{}{
\msg_error:nnx{media9}{support~outdated}{l3kernel}
\tex_endinput:D
}
-\@ifpackagelater{xparse}{2011/09/08}{}{
+\@ifpackagelater{xparse}{2012/07/16}{}{
\msg_error:nnx{media9}{support~outdated}{l3packages}
\tex_endinput:D
}
-\@ifpackagelater{l3keys2e}{2011/09/08}{}{
+\@ifpackagelater{l3keys2e}{2012/07/16}{}{
\msg_error:nnx{media9}{support~outdated}{l3packages}
\tex_endinput:D
}
@@ -521,11 +554,6 @@
\special{ps:~mark~\l_mix_usenum_tl~0~[#3]/PUTINTERVAL~pdfmark~}
}
{stream}{\special{ps:~mark~\l_mix_usenum_tl~(#3)/PUT~pdfmark~}}
-% {fstream}{
-% \special{ps:~
-% mark~\l_mix_usenum_tl~{(#3)~(r)~file}?pdfmark~/PUT~pdfmark~
-% }
-% }
{fstream}{
\tl_set:Nn\l_mix_offset_tl{0}
\tl_set:Nx\l_mix_fsize_tl{\mix_filesize:n{#3}}
@@ -969,6 +997,7 @@
\tl_set:Nn\l_mix_level_tl{\c_minus_one}
\int_zero:N\l_mix_viewcnt_int
\int_zero:N\l_mix_lineno_int
+ \ior_new:N\l_mix_vfile_stream
\ior_open:Nn\l_mix_vfile_stream{\g_mix_vfile_tl}
\group_begin:
@@ -1143,7 +1172,9 @@
% * to show at most 9 places after `.'
% * trailing zeros removed
\cs_new_protected:Nn\mix_format_num:N{
- \tl_set:Nx#1{\exp_after:wN\mix_format_num:w#1\q_stop}
+ \fp_compare:nNnF{#1}={\fp_to_int:n{#1}}{
+ \tl_set:Nx#1{\exp_after:wN\mix_format_num:w#1\q_stop}
+ }
}
\cs_new:Npn\mix_format_num:w#1.#2\q_stop{
#1.\exp_after:wN\mix_trim_places:w#2000000000\q_stop