From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/15341 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Re: pdfTeX questions Date: Mon, 07 Jun 2004 19:40:41 +0200 Sender: ntg-context-admin@ntg.nl Message-ID: <40C4A899.3000600@wxs.nl> References: 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: 8bit X-Trace: sea.gmane.org 1086633443 5548 80.91.224.253 (7 Jun 2004 18:37:23 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 7 Jun 2004 18:37:23 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Mon Jun 07 20:37:10 2004 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 1BXOzd-0007CT-00 for ; Mon, 07 Jun 2004 20:37:09 +0200 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 4C84110B3A; Mon, 7 Jun 2004 20:37:05 +0200 (MEST) Original-Received: from mailrelay01.solcon.nl (maillb.solcon.nl [212.45.32.200]) by ref.ntg.nl (Postfix) with ESMTP id CE41F10B07 for ; Mon, 7 Jun 2004 20:34:45 +0200 (MEST) Original-Received: from server-1.pragma-net.nl (dsl-212-84-128-085.solcon.nl [212.84.128.85]) by mailrelay01.solcon.nl (8.12.11/SQL-8.12.11-5/8.12.11) with ESMTP id i57IYe6q023283 for ; Mon, 7 Jun 2004 20:34:40 +0200 Original-Received: by server-1.pragma-net.nl (Postfix, from userid 65534) id 88BEE1A19C; Mon, 7 Jun 2004 20:34:44 +0200 (CEST) Original-Received: from [127.0.0.1] (unknown [10.100.1.1]) by server-1.pragma-net.nl (Postfix) with ESMTP id 808D117B1A for ; Mon, 7 Jun 2004 18:34:42 +0000 (UTC) User-Agent: Mozilla Thunderbird 0.6 (Windows/20040502) X-Accept-Language: en-us, en Original-To: ntg-context@ntg.nl In-Reply-To: X-Virus-Scanned: clamd / ClamAV version 0.70, clamav-milter version 0.70j 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:15341 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:15341 Peter Münster wrote: >On Mon, 31 May 2004, Patrick Gundlach wrote: > > >>>FitBH means, fit to width of bounding box. When reading text on the screen, >>>the combination of FullScreen and FitBH seems to me optimal. >>> >>> >>I could not find anything like this in ConTeXt. >> >> > >After a while of searching, I found in spec-fdf.tex the following lines: > >\def\PDFpageviewkey{ fit} >\def\PDFpageviewwrd{ /Fit} >\def\PDFpageview {/View [\PDFpageviewwrd] } > >I changed /Fit to /FitBH and indeed, I get lines like this: ><> >in the pdf-file. When clicking on a link, I get into FitBH mode, but not at >startup. Does anybody know a little bit more about PDF to get this working >as in LaTeX? > > \setupinteraction[focus=fit|width|height|standard] BH is not supported (yet) \def\dosetuppageview#1% {\processaction [#1] [\v!passend=>\def\PDFpageviewkey{ fit}% \def\PDFpageviewwrd{ /Fit}, \v!minbreedte=>\def\PDFpageviewkey{ fitbh}% \def\PDFpageviewwrd{ /FitBH}, \v!breedte=>\def\PDFpageviewkey{ fith}% \def\PDFpageviewwrd{ /FitH}, \v!minhoogte=>\def\PDFpageviewkey{ fitbv}% \def\PDFpageviewwrd{ /FitBV}, \v!hoogte=>\def\PDFpageviewkey{ fitv}% \def\PDFpageviewwrd{ /FitV}, \v!standaard=>\def\PDFpageviewkey{ xyz\PDFpagexyzspec}% \def\PDFpageviewwrd{ /XYZ\PDFpagexyzspec}, \s!unknown=>\def\PDFpageviewkey{ fit}% \def\PDFpageviewwrd{ /Fit}]% \edef\PDFpageview{/View [\PDFpageviewwrd]}} you need to add the following to mult-con.tex first to get minheight supported minhoogte: minhoogte minheight minhoehe minvyska altezzamin inaltimeminima so now we have minheight and minwidth; can you test that (only when it works i will move it to the driver module; such things were buggy in previous versions of acrobat) Hans Hans