ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Zoom to a box when clicking
@ 2013-04-15 19:24 Aditya Mahajan
  2013-04-15 20:22 ` Hans Hagen
  0 siblings, 1 reply; 8+ messages in thread
From: Aditya Mahajan @ 2013-04-15 19:24 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


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

* Re: Zoom to a box when clicking
  2013-04-15 19:24 Zoom to a box when clicking Aditya Mahajan
@ 2013-04-15 20:22 ` Hans Hagen
  2013-04-15 20:48   ` Aditya Mahajan
  0 siblings, 1 reply; 8+ messages in thread
From: Hans Hagen @ 2013-04-15 20:22 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Aditya Mahajan

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
___________________________________________________________________________________


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

* Re: Zoom to a box when clicking
  2013-04-15 20:22 ` Hans Hagen
@ 2013-04-15 20:48   ` Aditya Mahajan
  2013-04-15 20:54     ` Grant Rettke
  2013-04-15 21:56     ` Hans Hagen
  0 siblings, 2 replies; 8+ messages in thread
From: Aditya Mahajan @ 2013-04-15 20:48 UTC (permalink / raw)
  To: Hans Hagen; +Cc: mailing list for ConTeXt users

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
___________________________________________________________________________________


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

* Re: Zoom to a box when clicking
  2013-04-15 20:48   ` Aditya Mahajan
@ 2013-04-15 20:54     ` Grant Rettke
  2013-04-15 21:56     ` Hans Hagen
  1 sibling, 0 replies; 8+ messages in thread
From: Grant Rettke @ 2013-04-15 20:54 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Hans Hagen

On Mon, Apr 15, 2013 at 3:48 PM, Aditya Mahajan <adityam@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
___________________________________________________________________________________


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

* Re: Zoom to a box when clicking
  2013-04-15 20:48   ` Aditya Mahajan
  2013-04-15 20:54     ` Grant Rettke
@ 2013-04-15 21:56     ` Hans Hagen
  2013-04-15 22:02       ` Marco Patzer
  1 sibling, 1 reply; 8+ messages in thread
From: Hans Hagen @ 2013-04-15 21:56 UTC (permalink / raw)
  To: Aditya Mahajan; +Cc: mailing list for ConTeXt users

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
___________________________________________________________________________________


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

* Re: Zoom to a box when clicking
  2013-04-15 21:56     ` Hans Hagen
@ 2013-04-15 22:02       ` Marco Patzer
  2013-04-15 22:16         ` Hans Hagen
  0 siblings, 1 reply; 8+ messages in thread
From: Marco Patzer @ 2013-04-15 22:02 UTC (permalink / raw)
  To: ntg-context


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

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

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 490 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] 8+ messages in thread

* Re: Zoom to a box when clicking
  2013-04-15 22:02       ` Marco Patzer
@ 2013-04-15 22:16         ` Hans Hagen
  2013-04-15 22:48           ` Hans Hagen
  0 siblings, 1 reply; 8+ messages in thread
From: Hans Hagen @ 2013-04-15 22:16 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________


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

* Re: Zoom to a box when clicking
  2013-04-15 22:16         ` Hans Hagen
@ 2013-04-15 22:48           ` Hans Hagen
  0 siblings, 0 replies; 8+ messages in thread
From: Hans Hagen @ 2013-04-15 22:48 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


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

end of thread, other threads:[~2013-04-15 22:48 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-15 19:24 Zoom to a box when clicking Aditya Mahajan
2013-04-15 20:22 ` Hans Hagen
2013-04-15 20:48   ` Aditya Mahajan
2013-04-15 20:54     ` Grant Rettke
2013-04-15 21:56     ` Hans Hagen
2013-04-15 22:02       ` Marco Patzer
2013-04-15 22:16         ` Hans Hagen
2013-04-15 22:48           ` Hans Hagen

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