After updating ConTeXt standalone, \startanimation … \stopanimation is not working. Here is a sample code and its log file. I tried another animation and have the same error message at \stopanimation line. What is wrong in this code? Thank you. Best regards, Dalyoung \usemodule[animation] \setupinteraction[state=start] \useMPlibrary[dum] \starttext \startplacefigure[] {\startanimation[menu=yes] %{\startcombination[2*2] {\externalfigure[dummy][]} {\externalfigure[dummy][]} {\externalfigure[dummy][]} {\externalfigure[dummy][]} %\stopcombination} \stopanimation} \stopplacefigure \stoptext open source > 1 > 1 > /Users/graph/ConTeXt/tex/texmf-context/tex/context/base/cont-yes.mkiv ConTeXt ver: 2014.09.27 14:46 MKIV beta fmt: 2014.9.28 int: english/english system > 'cont-new.mkiv' loaded open source > 2 > 2 > /Users/graph/ConTeXt/tex/texmf-context/tex/context/base/cont-new.mkiv close source > 2 > 2 > /Users/graph/ConTeXt/tex/texmf-context/tex/context/base/cont-new.mkiv system > files > jobname 'test-ani', input './test-ani', result 'test-ani' fonts > latin modern fonts are not preloaded languages > language 'en' is active open source > 2 > 3 > /Users/graph/Documents/TeXfiles/test-ani.tex resolvers > modules > 'animation' is loaded interface > macros > processed mkvi file '/Users/graph/ConTeXt/tex/texmf-modules/tex/context/third/animation/t-animation.mkvi', delta 133 interface > macros > processed mkvi file '/Users/graph/ConTeXt/tex/texmf-modules/tex/context/third/animation/t-animation.mkvi', delta 0 open source > 3 > 4 > /Users/graph/ConTeXt/tex/texmf-modules/tex/context/third/animation/t-animation.mkvi close source > 3 > 4 > /Users/graph/ConTeXt/tex/texmf-modules/tex/context/third/animation/t-animation.mkvi metapost > library 'dum' is loaded open source > 3 > 5 > /Users/graph/ConTeXt/tex/texmf-context/tex/context/base/meta-imp-dum.mkiv close source > 3 > 5 > /Users/graph/ConTeXt/tex/texmf-context/tex/context/base/meta-imp-dum.mkiv fonts > preloading latin modern fonts (second stage) fonts > 'fallback modern-designsize rm 12pt' is loaded open source > 3 > 6 > /Users/graph/ConTeXt/tex/texmf-context/tex/context/base/java-imp-fld.mkiv close source > 3 > 6 > /Users/graph/ConTeXt/tex/texmf-context/tex/context/base/java-imp-fld.mkiv interactions > javascripts > loaded: library 'fld' graphics > inclusion > format guess for './dummy' is not possible graphics > inclusion > format guess for '../dummy' is not possible graphics > inclusion > format guess for '../../dummy' is not possible metapost > initializing instance 'metafun' using format 'metafun' metapost > loading 'metafun' as '/Users/graph/ConTeXt/tex/texmf-context/metapost/context/base/metafun.mpiv' using method 'default' metapost > initializing number mode 'scaled' lua error > error on line 15 in file /Users/graph/Documents/TeXfiles/test-ani.tex: .../ConTeXt/tex/texmf-context/tex/context/base/font-ctx.lua:1557: attempt to call global 'context_char' (a nil value) stack traceback: .../ConTeXt/tex/texmf-context/tex/context/base/font-ctx.lua:1557: in function 'fontchar' [\directlua]:1: in main chunk 5 6 \starttext 7 \startplacefigure[] 8 {\startanimation[menu=yes] 9 %{\startcombination[2*2] 10 {\externalfigure[dummy][]} 11 {\externalfigure[dummy][]} 12 {\externalfigure[dummy][]} 13 {\externalfigure[dummy][]} 14 %\stopcombination} 15 >> \stopanimation} 16 \stopplacefigure 17 \stoptext 18 19
Am 29.09.2014 um 16:01 schrieb Jeong Dal
After updating ConTeXt standalone, \startanimation … \stopanimation is not working. Here is a sample code and its log file. I tried another animation and have the same error message at \stopanimation line.
What is wrong in this code?
It’s a bug with the \fontchar command which is used for the navigation symbols. A minimal example is shown below. \starttext \fontchar{A} \stoptext Wolfgang
Hi Jeong,
in your code you need to add braces after each external figure command:
{\externalfigure[dummy][]}{}
Works fine with ConTeXt ver: 2014.09.26 11:42 MKIV beta
Willi
On 29 sep. 2014, at 16:01, Jeong Dal
\useMPlibrary[dum] \starttext \startplacefigure[] {\startanimation[menu=yes] %{\startcombination[2*2] {\externalfigure[dummy][]} {\externalfigure[dummy][]} {\externalfigure[dummy][]} {\externalfigure[dummy][]} %\stopcombination} \stopanimation} \stopplacefigure \stoptext
participants (3)
-
Jeong Dal
-
Willi Egger
-
Wolfgang Schuster