ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* 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:08   ` Win fonts lookup: ** (was: Animation captions (was: error in animation)) Procházka Lukáš Ing. - Pontex s. r. o.
                     ` (2 more replies)
  0 siblings, 3 replies; 5+ 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] 5+ messages in thread

* Win fonts lookup: ** (was: Animation captions (was: error in animation))
  2014-10-06  2:33 ` Animation captions (was: error in animation) Jeong Dal
@ 2014-10-06  7:08   ` Procházka Lukáš Ing. - Pontex s. r. o.
  2014-10-06  7:14     ` Win fonts lookup: ** (was: Animation captions Hans Hagen
  2014-10-06  7:51   ` Animation captions (was: error in animation) Henning Hraban Ramm
  2014-10-06  8:29   ` Otared Kavian
  2 siblings, 1 reply; 5+ messages in thread
From: Procházka Lukáš Ing. - Pontex s. r. o. @ 2014-10-06  7:08 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hello,

when trying Jeong's example, Ctx prints:

"
fonts           > names > globbing path 'c:/windows/fonts/**.otf'
fonts           > names > identifying system font files with suffix 'OTF'
fonts           > names > globbing path 'c:/windows/fonts/**.OTF'
fonts           > names > 0 system files identified, 0 skipped, 0 duplicates, 0 hash entries added, runtime 0.094 seconds
fonts           > names > identifying system font files with suffix 'ttf'
fonts           > names > globbing path 'c:/windows/fonts/**.ttf'
fonts           > names > identifying system font files with suffix 'TTF'
fonts           > names > globbing path 'c:/windows/fonts/**.TTF'
fonts           > names > 453 system files identified, 2 skipped, 2 duplicates, 451 hash entries added, runtime 6.719 seconds
fonts           > names > identifying system font files with suffix 'ttc'
fonts           > names > globbing path 'c:/windows/fonts/**.ttc'
fonts           > names > identifying system font files with suffix 'TTC'
fonts           > names > globbing path 'c:/windows/fonts/**.TTC'
fonts           > names > 3 system files identified, 0 skipped, 0 duplicates, 3 hash entries added, runtime 0.094 seconds
fonts           > names > identifying system font files with suffix 'dfont'
fonts           > names > globbing path 'c:/windows/fonts/**.dfont'
fonts           > names > identifying system font files with suffix 'DFONT'
fonts           > names > globbing path 'c:/windows/fonts/**.DFONT'
fonts           > names > 0 system files identified, 0 skipped, 0 duplicates, 0 hash entries added, runtime 0.047 seconds
fonts           > names > identifying system font files with suffix 'afm'
fonts           > names > globbing path 'c:/windows/fonts/**.afm'
fonts           > names > identifying system font files with suffix 'AFM'
fonts           > names > globbing path 'c:/windows/fonts/**.AFM'
"

So just to point there are two asterisks "**" in the file name masks (c:/windows/fonts/**.otf, ... c:/windows/fonts/**.AFM), which probably produces no error, but it may have been intended to have just one asterisk, like "c:/windows/fonts/*.otf" etc.

Best regards,

Lukas


On Mon, 06 Oct 2014 04:33:28 +0200, Jeong Dal <haksan@me.com> wrote:

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


-- 
Ing. Lukáš Procházka | mailto:LPr@pontex.cz
Pontex s. r. o.      | mailto:pontex@pontex.cz | http://www.pontex.cz
Bezová 1658
147 14 Praha 4

Tel: +420 241 096 751
Fax: +420 244 461 038

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

* Re: Win fonts lookup: ** (was: Animation captions
  2014-10-06  7:08   ` Win fonts lookup: ** (was: Animation captions (was: error in animation)) Procházka Lukáš Ing. - Pontex s. r. o.
@ 2014-10-06  7:14     ` Hans Hagen
  0 siblings, 0 replies; 5+ messages in thread
From: Hans Hagen @ 2014-10-06  7:14 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 10/6/2014 9:08 AM, Procházka Lukáš Ing. - Pontex s. r. o. wrote:
> Hello,
>
> when trying Jeong's example, Ctx prints:
>
> "
> fonts           > names > globbing path 'c:/windows/fonts/**.otf'
> fonts           > names > identifying system font files with suffix 'OTF'
> fonts           > names > globbing path 'c:/windows/fonts/**.OTF'
> fonts           > names > 0 system files identified, 0 skipped, 0
> duplicates, 0 hash entries added, runtime 0.094 seconds
> fonts           > names > identifying system font files with suffix 'ttf'
> fonts           > names > globbing path 'c:/windows/fonts/**.ttf'
> fonts           > names > identifying system font files with suffix 'TTF'
> fonts           > names > globbing path 'c:/windows/fonts/**.TTF'
> fonts           > names > 453 system files identified, 2 skipped, 2
> duplicates, 451 hash entries added, runtime 6.719 seconds
> fonts           > names > identifying system font files with suffix 'ttc'
> fonts           > names > globbing path 'c:/windows/fonts/**.ttc'
> fonts           > names > identifying system font files with suffix 'TTC'
> fonts           > names > globbing path 'c:/windows/fonts/**.TTC'
> fonts           > names > 3 system files identified, 0 skipped, 0
> duplicates, 3 hash entries added, runtime 0.094 seconds
> fonts           > names > identifying system font files with suffix 'dfont'
> fonts           > names > globbing path 'c:/windows/fonts/**.dfont'
> fonts           > names > identifying system font files with suffix 'DFONT'
> fonts           > names > globbing path 'c:/windows/fonts/**.DFONT'
> fonts           > names > 0 system files identified, 0 skipped, 0
> duplicates, 0 hash entries added, runtime 0.047 seconds
> fonts           > names > identifying system font files with suffix 'afm'
> fonts           > names > globbing path 'c:/windows/fonts/**.afm'
> fonts           > names > identifying system font files with suffix 'AFM'
> fonts           > names > globbing path 'c:/windows/fonts/**.AFM'
> "
>
> So just to point there are two asterisks "**" in the file name masks
> (c:/windows/fonts/**.otf, ... c:/windows/fonts/**.AFM), which probably
> produces no error, but it may have been intended to have just one
> asterisk, like "c:/windows/fonts/*.otf" etc.

** means recursive

-- 

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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] 5+ messages in thread

* Re: Animation captions (was: error in animation)
  2014-10-06  2:33 ` Animation captions (was: error in animation) Jeong Dal
  2014-10-06  7:08   ` Win fonts lookup: ** (was: Animation captions (was: error in animation)) Procházka Lukáš Ing. - Pontex s. r. o.
@ 2014-10-06  7:51   ` Henning Hraban Ramm
  2014-10-06  8:29   ` Otared Kavian
  2 siblings, 0 replies; 5+ 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] 5+ messages in thread

* Re: Animation captions (was: error in animation)
  2014-10-06  2:33 ` Animation captions (was: error in animation) Jeong Dal
  2014-10-06  7:08   ` Win fonts lookup: ** (was: Animation captions (was: error in animation)) Procházka Lukáš Ing. - Pontex s. r. o.
  2014-10-06  7:51   ` Animation captions (was: error in animation) Henning Hraban Ramm
@ 2014-10-06  8:29   ` Otared Kavian
  2 siblings, 0 replies; 5+ 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] 5+ messages in thread

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

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <mailman.42.1412544508.2277.ntg-context@ntg.nl>
2014-10-06  2:33 ` Animation captions (was: error in animation) Jeong Dal
2014-10-06  7:08   ` Win fonts lookup: ** (was: Animation captions (was: error in animation)) Procházka Lukáš Ing. - Pontex s. r. o.
2014-10-06  7:14     ` Win fonts lookup: ** (was: Animation captions Hans Hagen
2014-10-06  7:51   ` Animation captions (was: error in animation) Henning Hraban Ramm
2014-10-06  8:29   ` Otared Kavian

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).