From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/13134 Path: main.gmane.org!not-for-mail From: Peter Rolf Newsgroups: gmane.comp.tex.context Subject: Re: open doc action / for john Date: Tue, 09 Sep 2003 12:16:36 +0200 Sender: ntg-context-admin@ntg.nl Message-ID: <3F5DA884.1020403@arcor.de> References: <5.2.0.9.1.20030424083513.021bde80@server-1> <200309080856.27830.john@wexfordpress.com> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1063102983 27410 80.91.224.253 (9 Sep 2003 10:23:03 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 9 Sep 2003 10:23:03 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Tue Sep 09 12:23:01 2003 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19wfeH-0005PN-00 for ; Tue, 09 Sep 2003 12:23:01 +0200 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 5FCB810B29; Tue, 9 Sep 2003 12:22:59 +0200 (MEST) Original-Received: from mail-in-04.arcor-online.net (mail-in-04.arcor-online.net [151.189.21.44]) by ref.ntg.nl (Postfix) with ESMTP id 28D0F10B29 for ; Tue, 9 Sep 2003 12:15:07 +0200 (MEST) Original-Received: from arcor.de (dialin-145-254-092-238.arcor-ip.net [145.254.92.238]) by mail-in-04.arcor-online.net (Postfix) with ESMTP id 3C9B999C9D for ; Tue, 9 Sep 2003 12:15:01 +0200 (CEST) User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en Original-To: ntg-context@ntg.nl In-Reply-To: <200309080856.27830.john@wexfordpress.com> Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:13134 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:13134 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