ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* open doc action / for john
@ 2003-04-24  6:36 Hans Hagen
  2003-09-08 12:56 ` John Culleton
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2003-04-24  6:36 UTC (permalink / raw)


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
-------------------------------------------------------------------------

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: open doc action / for john
  2003-04-24  6:36 open doc action / for john Hans Hagen
@ 2003-09-08 12:56 ` John Culleton
  2003-09-09 10:16   ` Peter Rolf
  0 siblings, 1 reply; 3+ messages in thread
From: John Culleton @ 2003-09-08 12:56 UTC (permalink / raw)


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/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: open doc action / for john
  2003-09-08 12:56 ` John Culleton
@ 2003-09-09 10:16   ` Peter Rolf
  0 siblings, 0 replies; 3+ messages in thread
From: Peter Rolf @ 2003-09-09 10:16 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-09-09 10:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-24  6:36 open doc action / for john Hans Hagen
2003-09-08 12:56 ` John Culleton
2003-09-09 10:16   ` Peter Rolf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).