summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-01-30 23:32:09 +0000
committerKarl Berry <karl@freefriends.org>2017-01-30 23:32:09 +0000
commit941dafb2214947be4fc65c82c4a73fe7add7bc2e (patch)
treeecb14fa5db69a3131d8390111da42384ada93908
parent58fd9c5c6b6649b4e046117dd40feffa5837c1ec (diff)
media9 (30jan17)
git-svn-id: svn://tug.org/texlive/trunk@43097 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/media9/ChangeLog4
-rw-r--r--Master/texmf-dist/doc/latex/media9/media9.pdfbin3606201 -> 3606237 bytes
-rw-r--r--Master/texmf-dist/source/latex/media9/media9.tex6
-rw-r--r--Master/texmf-dist/tex/latex/media9/media9.sty9
4 files changed, 16 insertions, 3 deletions
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
--- 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/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+<poster text>+ 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}
+