!config
# Make animated .gif file from .pdf
# author: Chris Hughes
# last edited by: cmh, June 6th 2013
# requires arara 3.0+
#
# Sample usage:
#
# % arara: animate
# % arara: animate: {density: 200}
# % arara: animate: {density: 200, delay: 20}
#
# This rule is really just a shortcut for commands like the following
#
# convert -delay 10 -loop 0 -density 300 myfile.pdf myfile.gif
#
# which will output myfile.gif
#
identifier: animate
name: animate
commands:
- <arara> @{ isWindows( "cmd /c convert", "convert" ) } -delay @{delay} -loop @{loop} -density @{density} "@{ getBasename(file) }.pdf" "@{ getBasename(file) }.gif"
arguments:
- identifier: delay
flag: <arara> @{parameters.delay}
default: 10
- identifier: loop
flag: <arara> @{parameters.loop}
default: 0
- identifier: density
flag: <arara> @{parameters.density}
default: 300
Siehe hier: http://tex.stackexchange.com/a/116137/5049
Dann hätte ich wohl besser nach der
indent
-Regel gefragt, die versteh ich noch weniger und diese liefert beim Bsp. von dort den FehlerCan't locate YAML/Tiny.pm in @INC (@INC contains: C:/texlive/2013/tlpkg/tlperl/lib c:/texlive/2013/tlpkg/tlperl/lib .)
Ich glaube, mir fehlt hier etwas. :(
@cis ich hab beide noch nie verwendet und hab keine Ahnung. (Wenn ich's richtig weiß, ist die
indent
-Regel für http://www.ctan.org/pkg/latexindent .) Beide sind von Chris Hughes, IIRC, den ich in letzter Zeit allerdings nicht auf TeX.sx gesehen habe, sonst hätte ich gesagt, frag dort im Chat. Die Fehlermeldung sieht aus, als würde Dir ein Perl-Modul fehlen...Oje, da hab ich mich ja auch etwas eingelassen :() Ähm, ja - ich muß jetzt erstmal etwas forschen und dann ggf. eine bessere Frage stellen. Das Ergebnis hier dürfte dann wohl sein, daß
animate
nur in Verbindung mitindent
nützlich ist.