From 941dafb2214947be4fc65c82c4a73fe7add7bc2e Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 30 Jan 2017 23:32:09 +0000 Subject: media9 (30jan17) git-svn-id: svn://tug.org/texlive/trunk@43097 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/media9/ChangeLog | 4 ++++ Master/texmf-dist/doc/latex/media9/media9.pdf | Bin 3606201 -> 3606237 bytes Master/texmf-dist/source/latex/media9/media9.tex | 6 +++++- Master/texmf-dist/tex/latex/media9/media9.sty | 9 +++++++-- 4 files changed, 16 insertions(+), 3 deletions(-) (limited to 'Master') diff --git a/Master/texmf-dist/doc/latex/media9/ChangeLog b/Master/texmf-dist/doc/latex/media9/ChangeLog index b63338a99be..8942b049057 100644 --- a/Master/texmf-dist/doc/latex/media9/ChangeLog +++ b/Master/texmf-dist/doc/latex/media9/ChangeLog @@ -1,3 +1,7 @@ +2017-01-30 + * v0.74 : media9.sty + * fix: usability in righ-to-left typesetting context + 2017-01-24 * v0.73 : media9.sty * v0.13 : pdfbase.sty diff --git a/Master/texmf-dist/doc/latex/media9/media9.pdf b/Master/texmf-dist/doc/latex/media9/media9.pdf index af2403037b2..9294252f337 100644 Binary files a/Master/texmf-dist/doc/latex/media9/media9.pdf and b/Master/texmf-dist/doc/latex/media9/media9.pdf differ diff --git a/Master/texmf-dist/source/latex/media9/media9.tex b/Master/texmf-dist/source/latex/media9/media9.tex index 77c42234fce..ca2e7d0b77a 100644 --- a/Master/texmf-dist/source/latex/media9/media9.tex +++ b/Master/texmf-dist/source/latex/media9/media9.tex @@ -1230,7 +1230,8 @@ A few 3D JavaScript files ready to be used are already installed along with `med \end{enumerate} \section{Caveats}\label{bugs} -Large media files may cause \TeX{} to interrupt with error +\begin{enumerate} + \item Large media files may cause \TeX{} to interrupt with error \begin{verbatim} ! TeX capacity exceeded, sorry [main memory size=3000000]. \end{verbatim} @@ -1242,6 +1243,9 @@ The first one is to increase \TeX's main memory. You may follow the steps in the If increasing \TeX's main memory does not help, use the package option `\verb+bigfiles+' with media9. It defers file embedding from the DVI producing to the PS producing step. + \item In right-to-left typesetting context (RTL), the \verb++ argument of \verb+\includemedia+ and the text arguments for button faces of the \verb+\mediabutton+ command should be enclosed in pairs of \verb+\beginR+ and \verb+\endR+. +\end{enumerate} + \section{Acknowledgements} This package was written using the new \LaTeX3 syntax which was a lot of fun. Many thanks to the \LaTeX3 team! diff --git a/Master/texmf-dist/tex/latex/media9/media9.sty b/Master/texmf-dist/tex/latex/media9/media9.sty index c7f73b69e02..e190a94c3e8 100644 --- a/Master/texmf-dist/tex/latex/media9/media9.sty +++ b/Master/texmf-dist/tex/latex/media9/media9.sty @@ -41,8 +41,8 @@ \RequirePackage{atbegshi} \RequirePackage{atenddvi} -\def\g@mix@date@tl{2017/01/24} -\def\g@mix@version@tl{0.73} +\def\g@mix@date@tl{2017/01/30} +\def\g@mix@version@tl{0.74} \def\g@mix@liiikerneldate{2015/09/27} \def\g@mix@liiipkgdate{2015/09/27} @@ -890,6 +890,7 @@ \NewDocumentCommand\includemedia{O{}mm}{%#1 options, #2 text/image #3 media file \mix_uriend: \group_begin: + \int_compare:nT{\TeXXeTstate>\c_zero}{\beginL} \leavevmode %empty stream as appearance dummy \cs_if_exist:NF\g_mix_appearance_tl{ @@ -1211,6 +1212,7 @@ } \int_gincr:N\g_mix_rmcnt_int } + \int_compare:nT{\TeXXeTstate>\c_zero}{\endL} \group_end: } \tl_set_eq:NN\l_mix_includemedia_tl\includemedia @@ -2358,6 +2360,7 @@ \NewDocumentCommand\mediabutton{O{}m}{%#1 options, #2 normal button text \mix_uriend: \group_begin: + \int_compare:nT{\TeXXeTstate>\c_zero}{\beginL} \leavevmode %reset various variables \tl_gclear:N\g_mix_overbtn_tl @@ -2419,7 +2422,9 @@ } \int_gincr:N\g_mix_mbtncnt_int } + \int_compare:nT{\TeXXeTstate>\c_zero}{\endL} \group_end: } \tl_set_eq:NN\l_mix_mediabutton_tl\mediabutton \tl_set:Nn\mediabutton{\mix_uribegin:\l_mix_mediabutton_tl} + -- cgit v1.2.3