[NTG-context] Zoom to a box when clicking

2013-04-15 Thread Aditya Mahajan
For a presentation, I want to display a series of images as a combination 
and be able to click on an image to zoom into that image and click again 
to zoom out. Is it possible to do that?


In general, can I create a hyperlink such that clicking on it zooms in on 
a particular rectangular region on a page?



Thanks,
Aditya
___
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
___


Re: [NTG-context] Zoom to a box when clicking

2013-04-15 Thread Hans Hagen

On 4/15/2013 9:24 PM, Aditya Mahajan wrote:

For a presentation, I want to display a series of images as a
combination and be able to click on an image to zoom into that image and
click again to zoom out. Is it possible to do that?

In general, can I create a hyperlink such that clicking on it zooms in
on a particular rectangular region on a page?


see s-pre-17.mkiv

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


Re: [NTG-context] Zoom to a box when clicking

2013-04-15 Thread Aditya Mahajan

On Mon, 15 Apr 2013, Hans Hagen wrote:


On 4/15/2013 9:24 PM, Aditya Mahajan wrote:

For a presentation, I want to display a series of images as a
combination and be able to click on an image to zoom into that image and
click again to zoom out. Is it possible to do that?

In general, can I create a hyperlink such that clicking on it zooms in
on a particular rectangular region on a page?


see s-pre-17.mkiv


Interesting. I will try to adapt that code. Though the MkIV is a bit of 
black magic.


Two observations:

  context auto:s-pre-17.mkiv

does not generate the pdf file, because I guess, inputfilename is not 
s-pre-17.mkiv.



On linux, opening the presentation in full screen mode (in Adobe 
Reader) does not zoom the pdf. It works if I get rid of the full screen 
mode, which defeats the purpose. Evince, as expected, chokes on the PDF.

I might have to install a Windows VM just for using Adobe Acrobat :(

Aditya

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


Re: [NTG-context] Zoom to a box when clicking

2013-04-15 Thread Grant Rettke
On Mon, Apr 15, 2013 at 3:48 PM, Aditya Mahajan adit...@umich.edu wrote:
 On linux, opening the presentation in full screen mode (in Adobe Reader)
 does not zoom the pdf. It works if I get rid of the full screen mode, which
 defeats the purpose. Evince, as expected, chokes on the PDF.
 I might have to install a Windows VM just for using Adobe Acrobat :(

I use the latest acrobat reader for Windows under Ubuntu 12.04 under
stock WINE successfully, give that a try first.
___
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
___


Re: [NTG-context] Zoom to a box when clicking

2013-04-15 Thread Hans Hagen

On 4/15/2013 10:48 PM, Aditya Mahajan wrote:

On Mon, 15 Apr 2013, Hans Hagen wrote:


On 4/15/2013 9:24 PM, Aditya Mahajan wrote:

For a presentation, I want to display a series of images as a
combination and be able to click on an image to zoom into that image and
click again to zoom out. Is it possible to do that?

In general, can I create a hyperlink such that clicking on it zooms in
on a particular rectangular region on a page?


see s-pre-17.mkiv


Interesting. I will try to adapt that code. Though the MkIV is a bit of
black magic.

Two observations:

   context auto:s-pre-17.mkiv

does not generate the pdf file, because I guess, inputfilename is not
s-pre-17.mkiv.


indeed, you can try --global in such cases:

context --global s-pre-17.mkiv

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


Re: [NTG-context] Zoom to a box when clicking

2013-04-15 Thread Marco Patzer
On 2013–04–15 Hans Hagen wrote:

 Two observations:
 
context auto:s-pre-17.mkiv
 
 does not generate the pdf file, because I guess, inputfilename is not
 s-pre-17.mkiv.
 
 indeed, you can try --global in such cases:
 
 context --global s-pre-17.mkiv

This works on my machine:

  context  s-pre-17.mkiv


Marco


signature.asc
Description: Digital signature
___
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
___

Re: [NTG-context] Zoom to a box when clicking

2013-04-15 Thread Hans Hagen

On 4/16/2013 12:02 AM, Marco Patzer wrote:

On 2013–04–15 Hans Hagen wrote:


Two observations:

   context auto:s-pre-17.mkiv

does not generate the pdf file, because I guess, inputfilename is not
s-pre-17.mkiv.


indeed, you can try --global in such cases:

context --global s-pre-17.mkiv


This works on my machine:

   context  s-pre-17.mkiv


hm, i thought that i'd blocked that kind of auto global running .. needs 
checking


Hans


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


Re: [NTG-context] Zoom to a box when clicking

2013-04-15 Thread Hans Hagen

On 4/16/2013 12:16 AM, Hans Hagen wrote:

On 4/16/2013 12:02 AM, Marco Patzer wrote:

On 2013–04–15 Hans Hagen wrote:


Two observations:

   context auto:s-pre-17.mkiv

does not generate the pdf file, because I guess, inputfilename is not
s-pre-17.mkiv.


indeed, you can try --global in such cases:

context --global s-pre-17.mkiv


This works on my machine:

   context  s-pre-17.mkiv


hm, i thought that i'd blocked that kind of auto global running .. needs
checking


the next beta will be more strick again (we don't want arbitrary files 
in the tree to be processed); of course that needs checking then


Hans

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