ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Cc: ntg-context@ntg.nl
Subject: Re: Acrobat Reader Startview
Date: Thu, 28 Oct 1999 13:09:14 +0100	[thread overview]
Message-ID: <38183CEA.304F2244@wxs.nl> (raw)
In-Reply-To: <0F3313EC125AD311981100105AB3A75D1079F8@N0795.mdf.fvbb.de>

Hi Lutz,

> This is my last question for my first nice form
> built by ConTeXt and pdfTeX
> 
> 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 just took a look at the source and remember why it is not there. First
it's not in the pdf standard (don't ask me why). When you set the view
to fit the width in exchange, you will notice that adobe abuses the
openaction for this. Unfortunately, when you *do* change this, existing
openactions are lost. In context, one can has chains of actions, so you
could try use a javascript to handle this. Matthew has done some
experiments with this, so when he's back (from vacation), we can see if
we predefine some JS code for that. 

Another options is to explicitly go to the first page in fit width mode.
The code is present, but in context currently support for changing modes
is disables due to bugs in the viewers! Exchange uses the trick <when
you want a fit width set the height to -32K> which is too horrible to
even consider using.  

I'll think it over, and (1) either extend the
option=max|width|height|middle|etc or (2) provide changing modes when I
found ways to fool the viewers. How badly do you need this?

(providing a fit in window is I think more feasible). 

Hans

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.nl
-----------------------------------------------------------------


      parent reply	other threads:[~1999-10-28 12:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-10-28  8:22 Haseloff, Lutz
1999-10-28 11:30 ` Hans Hagen
1999-10-28 12:09 ` 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=38183CEA.304F2244@wxs.nl \
    --to=pragma@wxs.nl \
    --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).