Re: [NTG-context] pdfstartview

2006-02-16 Thread Peter Münster
On Fri, 3 Feb 2006, Hans Hagen wrote: I don't know, how it's done in LaTeX, but it has always worked during the last 5 years independently of the version of acroread. hm, i wonder, since it's a bunch of conflicting specs; also, openaction has not been around from the start of pdf (and

Re: [NTG-context] pdfstartview

2006-02-16 Thread Hans Hagen
� wrote: The result of a grep -a FitBH test-0.13d.pdf test-1.30.4.pdf: test-0.13d.pdf: /S /GoTo /D [9 0 R /FitBH ] test-1.30.4.pdf: /S /GoTo /D [10 0 R /FitBH ] btw, this is not related to the pdftex version but to pdf itself; openactions were not part of the early pdf specs you need

Re: [NTG-context] pdfstartview

2006-02-16 Thread Peter Münster
On Thu, 16 Feb 2006, Hans Hagen wrote: (btw the latest upload contains the solution posted earlier, i.e. page references that obey the view keywords , assuming recent viewers etc etc) Hello Hans, thank you for the upload! I've made a test with the following input:

Re: [NTG-context] pdfstartview

2006-02-03 Thread Peter Münster
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

Re: [NTG-context] pdfstartview

2006-02-03 Thread Peter Münster
On Wed, 1 Feb 2006, Hans Hagen wrote: \setupinteraction[state=start,focus=width,openaction=FitWidth] Hello Hans, this works (but not in fullscreen mode). But openaction=FitBH does not work... :( I don't know, how it's done in LaTeX, but it has always worked during the last 5 years

Re: [NTG-context] pdfstartview

2006-02-03 Thread Taco Hoekwater
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

Re: [NTG-context] pdfstartview

2006-02-03 Thread Hans Hagen
Taco Hoekwater wrote: 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. i'll explain the problem / solution in a while Hans

Re: [NTG-context] pdfstartview

2006-02-03 Thread Peter Münster
On Fri, 3 Feb 2006, Taco Hoekwater wrote: 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

Re: [NTG-context] pdfstartview

2006-02-03 Thread Hans Hagen
Taco Hoekwater wrote: 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'? everything can ... but i've learned my lessons and not everything

Re: [NTG-context] pdfstartview

2006-02-03 Thread Hans Hagen
� wrote: On Wed, 1 Feb 2006, Hans Hagen wrote: \setupinteraction[state=start,focus=width,openaction=FitWidth] Hello Hans, this works (but not in fullscreen mode). But openaction=FitBH does not work... :( I don't know, how it's done in LaTeX, but it has always worked during the

Re: [NTG-context] pdfstartview

2006-02-02 Thread Taco Hoekwater
Mojca Miklavec wrote: I realized that opening a document on 100% (75%) for example needs some special handling like /GoTo /D [page /XYZ left top zoom] (I'm guessing now, I don't have to proper resources available to check it) which has to be triggered right after the document opens. A bit

Re: [NTG-context] pdfstartview

2006-02-02 Thread Hans Hagen
Taco Hoekwater wrote: I did some reading up and checked the latex output. It seems LaTeX does a trick (/OpenAction in the /Catalog jumps to the first page) to make the views match up. I tried to emulate that, but could not get it to work (quickly). Will try more tomorrow. openaction is

Re: [NTG-context] pdfstartview

2006-02-02 Thread Hans Hagen
Mojca Miklavec wrote: On 2/1/06, Hans Hagen wrote: Mojca Miklavec wrote: I vote for this as well (for enchanced possibilities of opening PDF documents: FitWidth, FitHeight, whole page, XX % of actual size). This might not be the same as request above, but a very similar one.

[NTG-context] pdfstartview

2006-02-01 Thread Peter Münster
Hello Taco, in the collector item 80, I was perhaps not clear enough. In fact, I'm just looking for the ConTeXt-way to do the same as the following in LaTeX: \documentclass{article} \usepackage[pdfstartview=FitBH,pdfpagemode=FullScreen]{hyperref} \begin{document} \tableofcontents \newpage

Re: [NTG-context] pdfstartview

2006-02-01 Thread Mojca Miklavec
On 2/1/06, Peter Münster wrote: Hello Taco, in the collector item 80, I was perhaps not clear enough. In fact, I'm just looking for the ConTeXt-way to do the same as the following in LaTeX: \documentclass{article} \usepackage[pdfstartview=FitBH,pdfpagemode=FullScreen]{hyperref}

Re: [NTG-context] pdfstartview

2006-02-01 Thread Hans Hagen
Mojca Miklavec wrote: On 2/1/06, Peter M�nster wrote: Hello Taco, in the collector item 80, I was perhaps not clear enough. In fact, I'm just looking for the ConTeXt-way to do the same as the following in LaTeX: \documentclass{article}

Re: [NTG-context] pdfstartview

2006-02-01 Thread Peter Münster
On Wed, 1 Feb 2006, Hans Hagen wrote: That is: - when starting acroread, the view is minwidth - and the mode is FullScreen - and when clicking on a reference, the zoom-level does *not* change hey, since when don't you read the source any more ...

Re: [NTG-context] pdfstartview

2006-02-01 Thread Hans Hagen
� wrote: On Wed, 1 Feb 2006, Hans Hagen wrote: That is: - when starting acroread, the view is minwidth - and the mode is FullScreen - and when clicking on a reference, the zoom-level does *not* change hey, since when don't you read the source any more ...

Re: [NTG-context] pdfstartview

2006-02-01 Thread Taco Hoekwater
Peter Münster wrote: On Wed, 1 Feb 2006, Hans Hagen wrote: That is: - when starting acroread, the view is minwidth - and the mode is FullScreen - and when clicking on a reference, the zoom-level does *not* change hey, since when don't you read the source any more ...

Re: [NTG-context] pdfstartview

2006-02-01 Thread Mojca Miklavec
On 2/1/06, Hans Hagen wrote: Mojca Miklavec wrote: I vote for this as well (for enchanced possibilities of opening PDF documents: FitWidth, FitHeight, whole page, XX % of actual size). This might not be the same as request above, but a very similar one. hey, since when don't you read the