ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* error in animation
       [not found] <mailman.1.1411984801.14211.ntg-context@ntg.nl>
@ 2014-09-29 14:01 ` Jeong Dal
  2014-09-29 20:22   ` Wolfgang Schuster
  2014-10-01 10:16   ` Willi Egger
  0 siblings, 2 replies; 7+ messages in thread
From: Jeong Dal @ 2014-09-29 14:01 UTC (permalink / raw)
  To: ntg-context

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  
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: error in animation
  2014-09-29 14:01 ` error in animation Jeong Dal
@ 2014-09-29 20:22   ` Wolfgang Schuster
  2014-10-01 10:16   ` Willi Egger
  1 sibling, 0 replies; 7+ messages in thread
From: Wolfgang Schuster @ 2014-09-29 20:22 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 29.09.2014 um 16:01 schrieb Jeong Dal <haksan@me.com>:

> 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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: error in animation
  2014-09-29 14:01 ` error in animation Jeong Dal
  2014-09-29 20:22   ` Wolfgang Schuster
@ 2014-10-01 10:16   ` Willi Egger
  1 sibling, 0 replies; 7+ messages in thread
From: Willi Egger @ 2014-10-01 10:16 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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 <haksan@me.com> wrote:

> \useMPlibrary[dum]
> \starttext
> \startplacefigure[]
> {\startanimation[menu=yes]
> %{\startcombination[2*2]
> {\externalfigure[dummy][]}
> {\externalfigure[dummy][]}
> {\externalfigure[dummy][]}
> {\externalfigure[dummy][]}
> %\stopcombination}
> \stopanimation}
> \stopplacefigure
> \stoptext

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: error in animation
  2014-10-03 14:06 ` Jeong Dal
@ 2014-10-05 12:06   ` Jeong Dal
  0 siblings, 0 replies; 7+ messages in thread
From: Jeong Dal @ 2014-10-05 12:06 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 763 bytes --]

Dear Wolfgang,

I am using animation feature frequently for the class materials.
It is very convenient to use \startanimation … \stopaimation.
It reduces many steps which I have to define.
Thank you for a nice module.

I’d like to ask you to add caption feature like \startcombination.

When I show the figures one by one, it is better to put a caption sometimes.
If you think that it is not too bad, would you please concern to add the feature?

I am sorry to ask too much.

Thank you again.

Best regards,

Dalyoung


2014. 10. 3., 오후 11:06, Jeong Dal <haksan@me.com> 작성:

>> 
> 
> \startanimation … \stopanimation is working in the new ConTeXt 2014.10.02 23:07 version.
> 
> Thank you.
> 
> Best regards,
> 
> Dalyoung


[-- Attachment #1.2: Type: text/html, Size: 2247 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: error in animation
       [not found] <mailman.18.1412241525.2277.ntg-context@ntg.nl>
  2014-10-02 14:41 ` Jeong Dal
@ 2014-10-03 14:06 ` Jeong Dal
  2014-10-05 12:06   ` Jeong Dal
  1 sibling, 1 reply; 7+ messages in thread
From: Jeong Dal @ 2014-10-03 14:06 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 138 bytes --]

> 

\startanimation … \stopanimation is working in the new ConTeXt 2014.10.02 23:07 version.

Thank you.

Best regards,

Dalyoung

[-- Attachment #1.2: Type: text/html, Size: 1117 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: error in animation
       [not found] <mailman.18.1412241525.2277.ntg-context@ntg.nl>
@ 2014-10-02 14:41 ` Jeong Dal
  2014-10-03 14:06 ` Jeong Dal
  1 sibling, 0 replies; 7+ messages in thread
From: Jeong Dal @ 2014-10-02 14:41 UTC (permalink / raw)
  To: ntg-context


Hi,

> 
> {\externalfigure[dummy][]}{}
> 

I added {} at the end, but I still got the same error.
 
> Works fine with ConTeXt  ver: 2014.09.26 11:42 MKIV beta
> 
The previous bata version may be OK, but the latest version has a problem as Akira said.

Thank you for testing.

Best regards,

Dalyoung

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 7+ messages in thread

* error in animation
@ 2014-10-01 10:36 Akira Kakuto
  0 siblings, 0 replies; 7+ messages in thread
From: Akira Kakuto @ 2014-10-01 10:36 UTC (permalink / raw)
  To: ntg-context

> Works fine with ConTeXt  ver: 2014.09.26 11:42 MKIV beta

Jeong is saying about
ConTeXt  ver: 2014.09.27 14:46 MKIV beta
which contains a bug.

Best,
Akira

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-10-05 12:06 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <mailman.1.1411984801.14211.ntg-context@ntg.nl>
2014-09-29 14:01 ` error in animation Jeong Dal
2014-09-29 20:22   ` Wolfgang Schuster
2014-10-01 10:16   ` Willi Egger
2014-10-01 10:36 Akira Kakuto
     [not found] <mailman.18.1412241525.2277.ntg-context@ntg.nl>
2014-10-02 14:41 ` Jeong Dal
2014-10-03 14:06 ` Jeong Dal
2014-10-05 12:06   ` Jeong Dal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).