Peter Münster wrote:
On Thu, 2 Feb 2006, Taco Hoekwater wrote:
This works (but only because object 4 is the first page in my Pdf document). I do not know if this can be 'internalized'?
\setupinteraction[state=start,focus=minwidth] \doPDFaddtocatalog{/PageMode /FullScreen /OpenAction << /S /GoTo /D [4 0 R /FitBH ] >> }
Hello Taco, indeed, this seems to work! Only 2 problems remain: - the object number should be found automatically (as you've already written) - when clicking on a reference, the zoom-level still changes...
I assume that is because the /FitBH should match what is implied by the focus=minwidth, I just freewheeled a bit. The /D(estination) in this is the top-level page object for page 1, so it actually does an implied \goto{}[firstpage]. I don't know how to get the object number (I simply reverse- engineered the hyperref output). It is not all that sneaky an approach. I don't think it will work on pre 5.0 acroread, though. Taco