Re: [NTG-context] Presentations with ConTeXt

2017-03-23 Thread MANUEL GONZALEZ SUAREZ
Thanks. It was exactly what I needed.

De: ntg-context <ntg-context-boun...@ntg.nl> en nombre de kaddour kardio 
<kaddourkar...@gmail.com>
Enviado: jueves, 23 de marzo de 2017 20:42:40
Para: mailing list for ConTeXt users
Asunto: Re: [NTG-context] Presentations with ConTeXt

http://wiki.contextgarden.net/RawSteps

Does Rawsteps fill your needs? I haven't yet trid it ..

On Thu, Mar 23, 2017 at 8:27 PM, MANUEL GONZALEZ SUAREZ 
<gonzalezsman...@uniovi.es<mailto:gonzalezsman...@uniovi.es>> wrote:

Hello everyone.
I would like to know if there exists in ConTeXt some mechanism similar to LaTeX 
Beamer to make presentations showing each element step by step. In Beamer the 
\pause command is used and it is quite simple. Can I have something similar in 
ConTeXt, simple and easy to use?
Thank you

Manuel González

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

maillist : ntg-context@ntg.nl<mailto:ntg-context@ntg.nl> / 
http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___



--
Dr YAHYAOUI Mohamed Kaddour, cardiologue.Clinique EL ABRAR.
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Presentations with ConTeXt

2017-03-23 Thread kaddour kardio
http://wiki.contextgarden.net/RawSteps

Does Rawsteps fill your needs? I haven't yet trid it ..

On Thu, Mar 23, 2017 at 8:27 PM, MANUEL GONZALEZ SUAREZ <
gonzalezsman...@uniovi.es> wrote:

> Hello everyone.
> I would like to know if there exists in ConTeXt some mechanism similar to
> LaTeX Beamer to make presentations showing each element step by step. In
> Beamer the \pause command is used and it is quite simple. Can I have
> something similar in ConTeXt, simple and easy to use?
> Thank you
>
> Manuel González
>
> 
> ___
> 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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
> 
> ___
>



-- 
Dr YAHYAOUI Mohamed Kaddour, cardiologue.Clinique EL ABRAR.
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

[NTG-context] Presentations with ConTeXt

2017-03-23 Thread MANUEL GONZALEZ SUAREZ
Hello everyone.
I would like to know if there exists in ConTeXt some mechanism similar to LaTeX 
Beamer to make presentations showing each element step by step. In Beamer the 
\pause command is used and it is quite simple. Can I have something similar in 
ConTeXt, simple and easy to use?
Thank you

Manuel González
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] presentations in ConTeXt

2005-05-24 Thread Mojca Miklavec
On 5/23/05, Thomas A. Schmitz [EMAIL PROTECTED] wrote:

 I am still at a loss how to achieve one thing in ConTeXt that was
 pretty easy in Keynote or (shudder) Powerpoint: When I wanted to
 highlight something on a map or a picture, I would just draw a red
 circle around it. What would be the proper way to do this in ConTeXt?
 Adding a layer with a red circle drawn in Metapost, then positioning
 it by trial and error? Or can anyone point to a better solution?

What kind of picture do you have? If you have .jpg/.png/..., you can
get (x,y) position of the pixel where the center of circle should be.

One possibility is to create a new metapost figure and draw the circle
on it using the measured coordinates:

(This circles the blue tulip on
http://contextgarden.net/images/6/65/Kochloewe_c.jpg.)

\setupcolors[state=start]
\starttext
\startuseMPgraphic{CircleBlueTulip}
% center point
pair size, c;
% figure will be 10 cm wide
scale := 10cm/400;

% center of the blue tulip is on (219,333), image is 400*460
size := (400,460) scaled scale;
c := (222,460-330) scaled scale;
% diameter of the circle should be 50 pixels
d := 50scale;

pickup pencircle scaled 2pt;

externalfigure Kochloewe_c.jpg xyscaled size;
draw fullcircle scaled d shifted c withcolor red;
\stopuseMPgraphic

\useMPgraphic{CircleBlueTulip}

\stoptext

I believe there exists a more straightforward way if you make
uniqueMPgraphic and specify coordinate fractions of the circle to be
drawn, but if you say:

\framed[background=SomeGraphicWithACircle]{\externalfigure[Kochloewe_c][width=10cm]},
the circle (if any) is drawn behind the figure and cannot be used as
such. Unless you specify the figure in a new layer and draw both
layers in the proper order.

In this case it would be fine to have a \framed[...foreground=...] command :)

 And lastly: I have never seen transitions working on OS X (both
 Apple's Preview and Adobe Reader 7.0). Can anybody confirm that they
 got this working on other systems?

They work in Windows XP (I'n not sure if they're also working using
ConTeXt commands). But they are so ugly that you don't want to use
them.

Mojca
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] presentations in ConTeXt

2005-05-24 Thread Vit Zyka

Mojca Miklavec wrote:

On 5/23/05, Thomas A. Schmitz [EMAIL PROTECTED] wrote:



I am still at a loss how to achieve one thing in ConTeXt that was
pretty easy in Keynote or (shudder) Powerpoint: When I wanted to
highlight something on a map or a picture, I would just draw a red
circle around it. What would be the proper way to do this in ConTeXt?
Adding a layer with a red circle drawn in Metapost, then positioning
it by trial and error? Or can anyone point to a better solution?



What kind of picture do you have? If you have .jpg/.png/..., you can
get (x,y) position of the pixel where the center of circle should be.

One possibility is to create a new metapost figure and draw the circle
on it using the measured coordinates:

(This circles the blue tulip on
http://contextgarden.net/images/6/65/Kochloewe_c.jpg.)

\setupcolors[state=start]
\starttext
\startuseMPgraphic{CircleBlueTulip}
% center point
pair size, c;
% figure will be 10 cm wide
scale := 10cm/400;

% center of the blue tulip is on (219,333), image is 400*460
size := (400,460) scaled scale;
c := (222,460-330) scaled scale;
% diameter of the circle should be 50 pixels
d := 50scale;

pickup pencircle scaled 2pt;

externalfigure Kochloewe_c.jpg xyscaled size;
draw fullcircle scaled d shifted c withcolor red;
\stopuseMPgraphic

\useMPgraphic{CircleBlueTulip}

\stoptext

I believe there exists a more straightforward way if you make
uniqueMPgraphic and specify coordinate fractions of the circle to be
drawn, but if you say:

\framed[background=SomeGraphicWithACircle]{\externalfigure[Kochloewe_c][width=10cm]},
the circle (if any) is drawn behind the figure and cannot be used as
such. Unless you specify the figure in a new layer and draw both
layers in the proper order.

In this case it would be fine to have a \framed[...foreground=...] command :)


Use

\framed
  [background={foreground,BgFront}]
  {\externalfigure[Kochloewe_c][width=10cm]}}

Define your picture as BgFront. 'foreground' is fixed word that 
identifies layer 0 (text). So you can stack bacground as follow:

  background={...,MyLayer-2,MyLayer-1,foreground,MyLayer1,MyLayer2,...}

Vit
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] presentations in ConTeXt

2005-05-24 Thread Mojca Miklavec
Vit Zyka wrote:
 Mojca Miklavec wrote:
  Thomas A. Schmitz wrote:
 
 I am still at a loss how to achieve one thing in ConTeXt that was
 pretty easy in Keynote or (shudder) Powerpoint: When I wanted to
 highlight something on a map or a picture, I would just draw a red
 circle around it. What would be the proper way to do this in ConTeXt?
 Adding a layer with a red circle drawn in Metapost, then positioning
 it by trial and error? Or can anyone point to a better solution?
 
...
  In this case it would be fine to have a \framed[...foreground=...] command 
  :)
 
 Use
 
 \framed
[background={foreground,BgFront}]
{\externalfigure[Kochloewe_c][width=10cm]}}
 
 Define your picture as BgFront. 'foreground' is fixed word that
 identifies layer 0 (text). So you can stack bacground as follow:
background={...,MyLayer-2,MyLayer-1,foreground,MyLayer1,MyLayer2,...}

Uau! Thanks a lot for a very nice hint. So you can make something like that:

\setupcolors[state=start]
\starttext
\setupMPvariables[CircleSomething][dimension={(100,100)},center={(50,50)},r=10]
\startuseMPgraphic{CircleSomething}
pair dimension, center;
% TODO: this also has to be passed as parameter!!!
%   now it stands for: width=10cm
scale := 10cm/(xpart \MPvar{dimension});
picture bboxpicture;

dimension := \MPvar{dimension} scaled scale;
center := \MPvar{center} scaled scale;
r := \MPvar{r}*scale;

pickup pencircle scaled 2pt;

% proper bounding box
fill unitsquare xyscaled dimension;
bboxpicture := currentpicture;
currentpicture := nullpicture;

draw fullcircle scaled (2*r) shifted center withcolor red;
setbounds currentpicture to boundingbox bboxpicture;
\stopuseMPgraphic

\defineoverlay[CircleBlueTulip][\uniqueMPgraphic{CircleSomething}{dimension={(400,460)},center={(222,460-330)},r=25}]
\defineoverlay[CircleRedTulip][\useMPgraphic{CircleSomething}{dimension={(400,460)},center={(148,460-330)},r=25}]

\framed[background={foreground,CircleBlueTulip},offset=0pt,strut=no]{\externalfigure[Kochloewe_c][width=10cm]}
\framed[background={foreground,CircleRedTulip},offset=0pt,strut=no]{\externalfigure[Kochloewe_c][width=10cm]}

\stoptext

Mojca
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] presentations in ConTeXt

2005-05-23 Thread Thomas A. Schmitz
I've decided to bite the bullet and do my presentations in ConTeXt  
this term. So far, I'm quite satisfied. I've done only very basic  
stuff so far (if you're interested, you can have a look at http:// 
www.uni-bonn.de/www/Philologie/Personal/Schmitz/Dateien.html ), but I  
like the result. The background is just a pdf-image that I created  
with metapost and reused as a page background (I found this was  
faster and easier than recalculating it every time...)


Things I would like to know:

I like the idea of having the small bar showing at which place in the  
presentations we are (such as in pre-colorful). I'd like it very  
minimal, though: maybe just grey squares, with the current position  
being white or yellow. I have a hunch that this could be achieved  
with \setupinteractionbar, but this command is a bit underdocumented.  
Hints, anybody?


I am still at a loss how to achieve one thing in ConTeXt that was  
pretty easy in Keynote or (shudder) Powerpoint: When I wanted to  
highlight something on a map or a picture, I would just draw a red  
circle around it. What would be the proper way to do this in ConTeXt?  
Adding a layer with a red circle drawn in Metapost, then positioning  
it by trial and error? Or can anyone point to a better solution?


And lastly: I have never seen transitions working on OS X (both  
Apple's Preview and Adobe Reader 7.0). Can anybody confirm that they  
got this working on other systems?


Sorry for the long post. I'm hoping for some enlightenment.

Best

Thomas
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context