Hi Jonh C wants to know how to open a doc in specific modes: \setupinteraction[openaction={firstpage,FitHeight},state=start] % or FitWidth \starttext \input tufte \stoptext ------------------------------------------------------------------------- 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 -------------------------------------------------------------------------
On Thursday 24 April 2003 02:36, Hans Hagen wrote:
Hi
Jonh C wants to know how to open a doc in specific modes:
\setupinteraction[openaction={firstpage,FitHeight},state=start] % or FitWidth
\starttext
\input tufte
\stoptext
I am returning to this project, and this problem, after several months. I want to open a document in Acrobat Reader with no menu bar, thumbnails etc. and at its natural size. In the "PdfTeX Manual' this is described as /PageMode /UseNone or /PageMode /FullScreen but such pdf primitives are deprecated in Context. So now I need a way to do it in Context. I know it can be done because Hans has provided pdf files that have no menu bar nor thumbnails/outline etc. show-dem.pdf is an early example. -- John Culleton Able Indexers and Typesetters http://wexfordpress.com ____________________________________________________________ Free 20MB Web Site Hosting and Personalized E-mail Service! Get It Now At Doteasy.com http://www.doteasy.com/et/
John Culleton wrote:
On Thursday 24 April 2003 02:36, Hans Hagen wrote:
Hi
Jonh C wants to know how to open a doc in specific modes:
\setupinteraction[openaction={firstpage,FitHeight},state=start] % or FitWidth
\starttext
\input tufte
\stoptext
I am returning to this project, and this problem, after several months. I want to open a document in Acrobat Reader with no menu bar, thumbnails etc. and at its natural size. In the "PdfTeX Manual' this is described as /PageMode /UseNone or /PageMode /FullScreen but such pdf primitives are deprecated in Context. So now I need a way to do it in Context. I know it can be done because Hans has provided pdf files that have no menu bar nor thumbnails/outline etc. show-dem.pdf is an early example.
Hello John, I don't know exactly what you want, but playing around with the following code should do the job. This is the only way I know, to do this in ConTeXt. Maybe there are others... \doPDFaddtocatalog{ /PageLayout /SinglePage % SinglePage/OneColumn/TwoColumnLeft/TwoColumnRight /PageMode /UseNone % UseNone/UseOutlines/UseThumbs/FullScreen/UseOC /OpenAction [0 /XYZ 0 0 1] % pagenumber (starts with 0), then destination /ViewerPreferences << % /HideToolbar true /HideMenubar true % /HideWindowUI true % /FitWindow true % /CenterWindow true >> } Regards, Peter
participants (3)
-
Hans Hagen
-
John Culleton
-
Peter Rolf