![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
At 11:49 10/04/2003 +0200, you wrote:
Michael Wiedmann wrote:
How do I tell ConTeXt to write the PDF file with the necessary information that acroread opens the PDF in 'Fit Width View'? I tried: % try setting "Fit Width" \ifx\pdfoutput\undefined\else \ifnum\pdfoutput>0 \pdfcatalog { /View /FitB } \fi\fi
but can't find the correct value for '/View'.
Michael
/FitBH 1000
should work. Get the PDF-Reference 1.4 from www.adobe.com and take a look a page 475 for all possible destinations.
To control the viewer try this (my default settings)
% Catalog dictionary of PDF output; see PDF-Reference 1.4/ p.83 \pdfcatalog{ /PageLayout /SinglePage % SinglePage/OneColumn/TwoColumnLeft/TwoColumnRight /PageMode /UseOutlines % UseNone/UseOutlines/UseThumbs/FullScreen n/OpenAction [0 /Fit] % pagenumbering starts with 0 % see PDF-Reference 1.4/ p.475 for Destinations }
be careful with such direct calls to \pdfcatalog! it may lead to incorrect docs if other entries need to go into the catalog as well; if you're really that desperate, use the (undocumented but stable) driver command \doPDFaddtocatalog{....} instead. A better way is: \setupinteraction [openaction={firstpage,FitHeight},state=start] % or FitWidth \starttext \input tufte \stoptext going to the first page explicitly is really needed in order to let the named action to be performed Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------