Hi,

Is it possible to zoom into a specific part of the page? I am thinking of the following scenario. Suppose I have the following document

\setuppapersize[S6][S6]
\starttext
\placefigure[right,none]{\externalfigure[dummy][width=0.3\textwidth]}
\input knuth

\page

\input tufte

\stoptext

I want that when I click on the image, the pdf is zoomed in so that the image occupies the full screen[1], and when I click on the zoomed in image, it zooms out and I get the previous page view.

How do I achieve this? I am guessing that some javascript magic might be needed, but I do not understand the interaction code at all. This feature will be pretty handy for presentations.

Thanks
Aditya

[1]: I do not know if the pdf reader knows the screen size. Assuming that the screen aspect ratio is the same as the page aspect ratio might be a good approximation (at least for presentations).
___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to