ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* 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; 12+ 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] 12+ messages in thread

* Re: error in animation
       [not found] <mailman.18.1412241525.2277.ntg-context@ntg.nl>
  2014-10-02 14:41 ` error in animation Jeong Dal
@ 2014-10-03 14:06 ` Jeong Dal
  2014-10-05 12:06   ` Jeong Dal
  1 sibling, 1 reply; 12+ 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] 12+ messages in thread

* Re: error in animation
  2014-10-03 14:06 ` Jeong Dal
@ 2014-10-05 12:06   ` Jeong Dal
  2014-10-05 16:47     ` Animation captions (was: error in animation) Wolfgang Schuster
  0 siblings, 1 reply; 12+ 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] 12+ messages in thread

* Animation captions (was: error in animation)
  2014-10-05 12:06   ` Jeong Dal
@ 2014-10-05 16:47     ` Wolfgang Schuster
  0 siblings, 0 replies; 12+ messages in thread
From: Wolfgang Schuster @ 2014-10-05 16:47 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 05.10.2014 um 14:06 schrieb Jeong Dal <haksan@me.com>:

> 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?

You can use the pairedbox mechanism to add a caption to each frame.

\usemodule[animation]

\setupinteraction[state=start]

\definepairedbox[animationtext][location=top,align=middle]

\starttext

\startanimation
  {\placeanimationtext{The letter a}{\ttd A}}
  {\placeanimationtext{The letter b}{\ttd B}}
  {\placeanimationtext{The letter c}{\ttd C}}
  {\placeanimationtext{The letter d}{\ttd D}}
\stopanimation

\stoptext

BTW: Start a new thread when you have a separate question next time.

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] 12+ messages in thread

* Re: Animation captions (was: error in animation)
       [not found] <mailman.56.1412631186.2277.ntg-context@ntg.nl>
  2014-10-08 14:37 ` Jeong Dal
@ 2014-10-08 14:37 ` Jeong Dal
  1 sibling, 0 replies; 12+ messages in thread
From: Jeong Dal @ 2014-10-08 14:37 UTC (permalink / raw)
  To: list ntg-context@ntg.nl ntg-context@ntg.nl ntg-context@ntg.nl
	ntg-context@ntg.nl

Dear Wolfgang,


After changing the order, it works fine.

Also, \startcontent … \stopcontent and \startcaption … \stopcaption are working too.

Thank you for your help.

Best regards,

Dalyoung

\useMPlibrary[dum]
\usemodule[animation]
\setupinteraction[state=start]
\starttext
\definepairedbox
[mylegend]
[location={bottom}] % width=10cm
\startanimation
{\startplacemylegend
\startcontent
{\externalfigure[dummy][]}
\stopcontent
\startcaption
\input ward
\stopcaption
\stopplacemylegend}
{\startplacemylegend
	{\externalfigure[dummy][]}
	{ caption caption}
\stopplacemylegend}
{\startplacemylegend
	\startcontent
	{\externalfigure[dummy][]}
	\stopcontent
	\startcaption
	\input ward
	\stopcaption
\stopplacemylegend}
\stopanimation
\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] 12+ messages in thread

* Re: Animation captions (was: error in animation)
       [not found] <mailman.56.1412631186.2277.ntg-context@ntg.nl>
@ 2014-10-08 14:37 ` Jeong Dal
  2014-10-08 14:37 ` Jeong Dal
  1 sibling, 0 replies; 12+ messages in thread
From: Jeong Dal @ 2014-10-08 14:37 UTC (permalink / raw)
  To: list ntg-context@ntg.nl ntg-context@ntg.nl ntg-context@ntg.nl
	ntg-context@ntg.nl

Dear Wolfgang,


After changing the order, it works fine.

Also, \startcontent … \stopcontent and \startcaption … \stopcaption are working too.

Thank you for your help.

Best regards,

Dalyoung

\useMPlibrary[dum]
\usemodule[animation]
\setupinteraction[state=start]
\starttext
\definepairedbox
[mylegend]
[location={bottom}] % width=10cm
\startanimation
{\startplacemylegend
\startcontent
{\externalfigure[dummy][]}
\stopcontent
\startcaption
\input ward
\stopcaption
\stopplacemylegend}
{\startplacemylegend
	{\externalfigure[dummy][]}
	{ caption caption}
\stopplacemylegend}
{\startplacemylegend
	\startcontent
	{\externalfigure[dummy][]}
	\stopcontent
	\startcaption
	\input ward
	\stopcaption
\stopplacemylegend}
\stopanimation
\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] 12+ messages in thread

* Re: Animation captions (was: error in animation)
  2014-10-08  3:19 ` Jeong Dal
@ 2014-10-08  7:37   ` Wolfgang Schuster
  0 siblings, 0 replies; 12+ messages in thread
From: Wolfgang Schuster @ 2014-10-08  7:37 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 08.10.2014 um 05:19 schrieb Jeong Dal <haksan@me.com>:

> 
> Dear Woldgang,
> 
> 
> I searched \definepairedbox and found several discussions as following:
> 
> http://www.ntg.nl/pipermail/ntg-context/2005/014315.html
> https://www.mail-archive.com/ntg-context@ntg.nl/msg71401.html
> 
> In the above examples, it took a long sentences as a caption while my example don’t allow multiple lines.
> I inserted \crlf but it is not working.
> 
> The difference is that “side by side”(example above)  and “top and bottom”(example below).
> 
> Is there a way of allowing multiple lines?

I mixed up the order of arguments, the text goes into the second argument and the figure
etc. is put into the first argument, e.g.

\useMPlibrary[dum]

\starttext

\placelegend{\externalfigure[dummy][width=8cm]}{\input ward }

\blank

\placelegend[width=\textwidth]{\externalfigure[dummy][width=8cm]}{\input ward }

\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] 12+ messages in thread

* Re: Animation captions (was: error in animation)
       [not found] <mailman.44.1412584190.2277.ntg-context@ntg.nl>
  2014-10-06 12:36 ` Jeong Dal
@ 2014-10-08  3:19 ` Jeong Dal
  2014-10-08  7:37   ` Wolfgang Schuster
  1 sibling, 1 reply; 12+ messages in thread
From: Jeong Dal @ 2014-10-08  3:19 UTC (permalink / raw)
  To: ntg-context


Dear Woldgang,


I searched \definepairedbox and found several discussions as following:

http://www.ntg.nl/pipermail/ntg-context/2005/014315.html
https://www.mail-archive.com/ntg-context@ntg.nl/msg71401.html

In the above examples, it took a long sentences as a caption while my example don’t allow multiple lines.
I inserted \crlf but it is not working.

The difference is that “side by side”(example above)  and “top and bottom”(example below).

Is there a way of allowing multiple lines?

Thank you.

Best regards,

Dalyoung


\usemodule[animation]
\useMPlibrary[dum]
\setupinteraction[state=start]

\definepairedbox[animationtext][location=top,align=middle]

\starttext

\startanimation
{\placeanimationtext{A long long long long long long long long long \crlf long long long long long long long long long long long long long long long long long long long long long caption}{\externalfigure[dummy]}}
{\placeanimationtext{The letter b}{\externalfigure[dummy]}}
{\placeanimationtext{The letter c}{\externalfigure[dummy]}}
{\placeanimationtext{The letter d}{\externalfigure[dummy]}}
\stopanimation

\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] 12+ messages in thread

* Re: Animation captions (was: error in animation)
       [not found] <mailman.44.1412584190.2277.ntg-context@ntg.nl>
@ 2014-10-06 12:36 ` Jeong Dal
  2014-10-08  3:19 ` Jeong Dal
  1 sibling, 0 replies; 12+ messages in thread
From: Jeong Dal @ 2014-10-06 12:36 UTC (permalink / raw)
  To: ntg-context

Deat Hraban and Otared,

> 
> I wikified that, but didn’t test:
> http://wiki.contextgarden.net/Animation
> 

I read the wiki page and it is explained well about the animation.
Also, thank you for introducing  cites for making movies. 
It looks very nice but it would be a painful job, I think.

> Indeed a very nice feature in ConTeXt. 
> I tested Wolfgang’s example with math formulas and the result is very good: however it seems that one has to fix the width of the caption by saying
> 	\definepairedbox[animationtext][location=top,align=middle,width=\textwidth]
> Otherwise the formulas are cut.
> 

Thank you for mentioning the option \textwidth also. For graphic animation, it is good to resize the width according to the width of the figure so that the caption is located within the width of the figure. 

Thank Wolfgang and Hans for this nice feature and ConTeXt!
It makes my class materials fancy.

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] 12+ messages in thread

* Re: Animation captions (was: error in animation)
  2014-10-06  2:33 ` Jeong Dal
  2014-10-06  7:51   ` Henning Hraban Ramm
@ 2014-10-06  8:29   ` Otared Kavian
  1 sibling, 0 replies; 12+ messages in thread
From: Otared Kavian @ 2014-10-06  8:29 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Indeed a very nice feature in ConTeXt. 
I tested Wolfgang’s example with math formulas and the result is very good: however it seems that one has to fix the width of the caption by saying
	\definepairedbox[animationtext][location=top,align=middle,width=\textwidth]
Otherwise the formulas are cut.

Here is the example:

\usemodule[animation]

\setuppapersize[S6][S6]

\setupinteraction[state=start]

\definepairedbox[animationtext][location=top,align=middle,width=\textwidth]

\starttext

\startanimation
 {\placeanimationtext{Sine norm, and}{\startformula \int_{0}^{2\pi}\sin^2(x)dx = \stopformula}}
 {\placeanimationtext{Cosine norm}{\startformula\int_{0}^{2\pi}\cos^2(x)dx = \stopformula}}
 {\placeanimationtext{are equal}{\startformula = \pi. \stopformula}}
\stopanimation

\stoptext

Best regards: OK

On 06 Oct 2014, at 04:33, Jeong Dal <haksan@me.com> wrote:

> Dear Wolfgang,
> 
> I tested after inserting figures instead of letters in your sample code and it also works fine.
> It is so nice to know the way of using caption in the animation module.
> 
> Thank you for your help.
> 
> Best regards,
> 
> Dalyoung
> 
> 
> %%%%%%%%%
> 
> \usemodule[animation]
> \useMPlibrary[dum]
> \setupinteraction[state=start]
> 
> \definepairedbox[animationtext][location=top,align=middle]
> 
> \starttext
> 
> \startanimation
> {\placeanimationtext{The letter a}{\externalfigure[dummy]}}
> {\placeanimationtext{The letter b}{\externalfigure[dummy]}}
> {\placeanimationtext{The letter c}{\externalfigure[dummy]}}
> {\placeanimationtext{The letter d}{\externalfigure[dummy]}}
> \stopanimation
> 
> \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
> ___________________________________________________________________________________

___________________________________________________________________________________
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] 12+ messages in thread

* Re: Animation captions (was: error in animation)
  2014-10-06  2:33 ` Jeong Dal
@ 2014-10-06  7:51   ` Henning Hraban Ramm
  2014-10-06  8:29   ` Otared Kavian
  1 sibling, 0 replies; 12+ messages in thread
From: Henning Hraban Ramm @ 2014-10-06  7:51 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 2014-10-06 um 08:33 schrieb Jeong Dal <haksan@me.com>:

> \usemodule[animation]
> \useMPlibrary[dum]
> \setupinteraction[state=start]
> 
> \definepairedbox[animationtext][location=top,align=middle]
> 
> \starttext
> 
> \startanimation
> {\placeanimationtext{The letter a}{\externalfigure[dummy]}}
> {\placeanimationtext{The letter b}{\externalfigure[dummy]}}
> {\placeanimationtext{The letter c}{\externalfigure[dummy]}}
> {\placeanimationtext{The letter d}{\externalfigure[dummy]}}
> \stopanimation
> 
> \stoptext

I wikified that, but didn’t test:
http://wiki.contextgarden.net/Animation

Greetlings, Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)

___________________________________________________________________________________
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] 12+ messages in thread

* Re: Animation captions (was: error in animation)
       [not found] <mailman.42.1412544508.2277.ntg-context@ntg.nl>
@ 2014-10-06  2:33 ` Jeong Dal
  2014-10-06  7:51   ` Henning Hraban Ramm
  2014-10-06  8:29   ` Otared Kavian
  0 siblings, 2 replies; 12+ messages in thread
From: Jeong Dal @ 2014-10-06  2:33 UTC (permalink / raw)
  To: ntg-context

Dear Wolfgang,

I tested after inserting figures instead of letters in your sample code and it also works fine.
It is so nice to know the way of using caption in the animation module.

Thank you for your help.

Best regards,

Dalyoung


%%%%%%%%%

\usemodule[animation]
\useMPlibrary[dum]
\setupinteraction[state=start]

\definepairedbox[animationtext][location=top,align=middle]

\starttext

\startanimation
{\placeanimationtext{The letter a}{\externalfigure[dummy]}}
{\placeanimationtext{The letter b}{\externalfigure[dummy]}}
{\placeanimationtext{The letter c}{\externalfigure[dummy]}}
{\placeanimationtext{The letter d}{\externalfigure[dummy]}}
\stopanimation

\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] 12+ messages in thread

end of thread, other threads:[~2014-10-08 14:37 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <mailman.18.1412241525.2277.ntg-context@ntg.nl>
2014-10-02 14:41 ` error in animation Jeong Dal
2014-10-03 14:06 ` Jeong Dal
2014-10-05 12:06   ` Jeong Dal
2014-10-05 16:47     ` Animation captions (was: error in animation) Wolfgang Schuster
     [not found] <mailman.42.1412544508.2277.ntg-context@ntg.nl>
2014-10-06  2:33 ` Jeong Dal
2014-10-06  7:51   ` Henning Hraban Ramm
2014-10-06  8:29   ` Otared Kavian
     [not found] <mailman.44.1412584190.2277.ntg-context@ntg.nl>
2014-10-06 12:36 ` Jeong Dal
2014-10-08  3:19 ` Jeong Dal
2014-10-08  7:37   ` Wolfgang Schuster
     [not found] <mailman.56.1412631186.2277.ntg-context@ntg.nl>
2014-10-08 14:37 ` Jeong Dal
2014-10-08 14:37 ` 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).