texlive[43095] Master/texmf-dist: animate (30jan17)

commits+karl at tug.org commits+karl at tug.org
Tue Jan 31 00:31:42 CET 2017

Revision: 43095
Author:   karl
Date:     2017-01-31 00:31:42 +0100 (Tue, 31 Jan 2017)
Log Message:
animate (30jan17)

Modified Paths:

Modified: trunk/Master/texmf-dist/doc/latex/animate/ChangeLog
--- trunk/Master/texmf-dist/doc/latex/animate/ChangeLog	2017-01-30 23:31:14 UTC (rev 43094)
+++ trunk/Master/texmf-dist/doc/latex/animate/ChangeLog	2017-01-30 23:31:42 UTC (rev 43095)
@@ -1,3 +1,6 @@
+	* fix: usability in RTL typesetting context
 	* fix: minor documentation update

Modified: trunk/Master/texmf-dist/doc/latex/animate/animate.pdf
(Binary files differ)

Modified: trunk/Master/texmf-dist/source/latex/animate/animate.tex
--- trunk/Master/texmf-dist/source/latex/animate/animate.tex	2017-01-30 23:31:14 UTC (rev 43094)
+++ trunk/Master/texmf-dist/source/latex/animate/animate.tex	2017-01-30 23:31:42 UTC (rev 43095)
@@ -13,8 +13,7 @@
@@ -324,6 +323,7 @@
 Measures the frame rate during one cycle of the animation and prints the value to the JavaScript console of the Reader. (For testing purposes.)
 begin={<begin text>}
 end={<end text>}
@@ -1277,6 +1277,8 @@
   \item Animations do not work if the PDF was produced with Ghostscript versions older than 9.15.
+  \item If the `\verb+animateinline+' environment is used in a right-to-left typesetting context (RTL), every frame's content should be enclosed in a pair of \verb+\beginR+ and \verb+\endR+ commands in order to correctly typeset RTL text contained therein. This can be conveniently done by means of the `\verb+begin+' and `\verb+end+' \hyperlink{beginend}{options} of the `\verb+animateinline+' environment.
 %  \item If the \LaTeX{} $\rightarrow$ \verb+dvips+ $\rightarrow$ \verb+ps2pdf+/Distiller route is being taken, make sure that the original graphics size (i.\,e. not scaled by any of the `{\tt scale}', `{\tt width}', `{\tt height}' or `{\tt totalheight}' options) does not exceed the page size of the final document. During PS to PDF conversion every graphic of the animation is temporarily moved to the upper left page corner. Those parts of the graphics that do not fit onto the document page will be clipped in the resulting PDF. Fortunately, graphics files for building animations may be resized easily to fit into a given bounding box by means of the `{\tt epsffit}' command line tool:
 %\quad{\tt epsffit -c <llx> <lly> <urx> <ury> infile.eps outfile.eps}

Modified: trunk/Master/texmf-dist/tex/latex/animate/animate.sty
--- trunk/Master/texmf-dist/tex/latex/animate/animate.sty	2017-01-30 23:31:14 UTC (rev 43094)
+++ trunk/Master/texmf-dist/tex/latex/animate/animate.sty	2017-01-30 23:31:42 UTC (rev 43095)
@@ -13,7 +13,7 @@
-\def\@anim at version{2017/01/24}
+\def\@anim at version{2017/01/30}
 [\@anim at version\space PDF animations from files and inline graphics]
@@ -1338,6 +1338,7 @@
   \@anim at reset% to default settings
   \begingroup% make use of graphic[xs] search path
+  \ifnum\TeXXeTstate>\z@\beginL\fi%
   \ifcsname Ginput at path\endcsname%
     \let\input at path\Ginput at path%
@@ -1441,6 +1442,7 @@
       \@anim at getkeyval{btncol:\@anim at bgcolour:\@anim at fgcolour\@anim at lscape}}%
     \@anim at endsanitize%
+  \ifnum\TeXXeTstate>\z@\endL\fi%
   \global\advance\@anim at num by \@ne%
@@ -1731,6 +1733,7 @@
   \@anim at reset% to default settings
+  \ifnum\TeXXeTstate>\z@\beginL\fi%
   % make use of graphic[xs] search path
   \ifcsname Ginput at path\endcsname%
     \let\input at path\Ginput at path%
@@ -1786,6 +1789,7 @@
       \@anim at keytoaux{a\the\@anim at num.poster}{\@anim at maxframe}%
+  \ifnum\TeXXeTstate>\z@\endL\fi%
   \global\advance\@anim at num by \@ne%

More information about the tex-live-commits mailing list