ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Cc: Lutz.Haseloff@mdf.brandenburg.de, ntg-context@ntg.nl
Subject: Re: option=max
Date: Wed, 27 Dec 2000 09:34:15 +0100	[thread overview]
Message-ID: <3.0.6.32.20001227093415.013af5e0@pop.wxs.nl> (raw)
In-Reply-To: <3.0.5.32.20001223170647.0081ce90@mail.northcoast.com>

At 05:06 PM 12/23/00 -0800, David Arnold wrote:
>Lutz, All,
>
>Did you ever get an answer to this question?
>
>Is it possible to start the file in Acrobat Reader with "Fit Width"?
>Or is option=max the only option of \setupinteractionscreen?
>I found no documentation about the options.
>
>I'd like to start up with "Fit Width." 

The whole fit-to-something is rather buggy and fuzzy. FullScreen and a few
others are document options, while this fit thing is to be implemented
otherwise. 

\unprotect 

\startvariables            dutch                     english
                           german                    czech
                           italian

                 FitWidth: FitWidth                  FitWidth
                           FitWidth                  FitWidth
                           FitWidth  % yet untranslated

\stopvariables

\setglobalsystemreference \rt!exec \v!FitWidth {fitwidth}

\def\PDFexecutefitwidth {/Named /N /FitWidth}

\protect

\setupinteraction
  [state=start,
   openaction=FitWidth]

\starttext 

This is not a regular open document option, but either a goto
page one with this or that zoom [which is not always stable] 
or some dirty JavaScript [which does not seem to work according 
to the specs] should work. Alas, I only got a menu action 
working. 

\typefile{fitw.tex}

\stoptext 

-------------------------------------------------------------------------
                                                  Hans Hagen | PRAGMA ADE
                      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
-------------------------------------------------------------------------


      reply	other threads:[~2000-12-27  8:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-12-24  1:06 option=max David Arnold
2000-12-27  8:34 ` Hans Hagen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3.0.6.32.20001227093415.013af5e0@pop.wxs.nl \
    --to=pragma@wxs.nl \
    --cc=Lutz.Haseloff@mdf.brandenburg.de \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).