From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/21502 Path: news.gmane.org!not-for-mail From: "luigi.scarso" Newsgroups: gmane.comp.tex.context Subject: Re: Help with interaction Date: Wed, 20 Jul 2005 13:56:03 +0200 Message-ID: <42DE3BD3.2050407@logosrl.it> References: <4.3.1.2.20050719120930.01d1c628@cits1.stanford.edu> <4491E49E-9A14-4D8D-9ED8-314B1A100C1F@uni-bonn.de> <9EA19B5C-0590-49C8-B397-0DDF02B0E53F@uni-bonn.de> <6faad9f005052410333139b7f2@mail.gmail.com> <429378DC.407@seznam.cz> <6faad9f005052413547f1e774f@mail.gmail.com> <6faad9f0050628073767e019bf@mail.gmail.com> <32E92F94-02D4-4A1E-A350-6F3CFF2FDD1A@uni-bonn.de> <6faad9f0050715124647ba63fa@mail.gmail.com> <6E7CB668-55CB-42CD-BAD4-F58C3EEC5983@uni-bonn.de> <42DAC94E.4080902@wxs.nl> <4491E49E-9A14-4D8D-9ED8-314B1A100C1F@uni-bonn.de> <4.3.1.2.20050719120930.01d1c628@cits1.stanford.edu> <4.3.1.2.20050719162037.02750010@cits1.stanford.edu> <42DDF6F9.6030704@logosrl.it> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.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 1121860632 14862 80.91.229.2 (20 Jul 2005 11:57:12 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 20 Jul 2005 11:57:12 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Wed Jul 20 13:57:12 2005 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1DvDBY-0005fr-8l for gctc-ntg-context-518@m.gmane.org; Wed, 20 Jul 2005 13:56:24 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 940DE127F4; Wed, 20 Jul 2005 13:56:23 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 32488-04; Wed, 20 Jul 2005 13:56:19 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9681C127DD; Wed, 20 Jul 2005 13:56:19 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8CB50127DD for ; Wed, 20 Jul 2005 13:56:18 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 32264-04 for ; Wed, 20 Jul 2005 13:56:17 +0200 (CEST) Original-Received: from ServerNotes.logosrl.it (unknown [81.208.99.91]) by ronja.ntg.nl (Postfix) with ESMTP id 89A8E127C1 for ; Wed, 20 Jul 2005 13:56:15 +0200 (CEST) Original-Received: from [192.168.2.85] ([192.168.2.85]) by ServerNotes.logosrl.it (Lotus Domino Release 6.5.1) with ESMTP id 2005072013595348-3521 ; Wed, 20 Jul 2005 13:59:53 +0200 User-Agent: Mozilla Thunderbird 1.0 (X11/20041206) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <42DDF6F9.6030704@logosrl.it> X-MIMETrack: Itemize by SMTP Server on ServerNotes/Logo(Release 6.5.1|January 21, 2004) at 20/07/2005 13.59.53, Serialize by Router on ServerNotes/Logo(Release 6.5.1|January 21, 2004) at 20/07/2005 13.59.57, Serialize complete at 20/07/2005 13.59.57 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on smtp.ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:21502 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:21502 luigi.scarso wrote: > Hi, I would like that whan i click over 'Bho' at page 1 > I go to page 2 and see the title Bho > > \setupinteraction[state=start, focus=width] > \starttext > \about[etichetta] > \page > \section[etichetta]{Bho} > \input tufte > \stoptext > > This piece of latex does the thing I want > %%% latex > \documentclass[a4paper, 12pt]{article} > \usepackage[bookmarks=false, pdfstartview=FitH, pdfview=FitH]{hyperref} > \usepackage{nameref} > \begin{document} > \nameref{etichetta} > \clearpage > \section{Bho}\label{etichetta} > \input{tufte} > \end{document} > %%%% > > thanks > luigi > _______________________________________________ If I use \setupinteraction[state=start, focus=minwidth] I have ! Undefined control sequence. \v!minwidth To work\unprotect \def\dosetuppageview#1% watch the v-h swapping here {\processaction [#1] [ \v!fit=>\def\PDFpageviewkey {fit}\def\PDFpageviewwrd{/Fit}, \v!width=>\def\PDFpageviewkey {fith}\def\PDFpageviewwrd{/FitH}, \v!height=>\def\PDFpageviewkey {fitv}\def\PDFpageviewwrd{/FitV}, minwidth=>\def\PDFpageviewkey{fitbh}\def\PDFpageviewwrd{/FitBH}, minheight=>\def\PDFpageviewkey{fitbv}\def\PDFpageviewwrd{/FitBV}, standard=>\def\PDFpageviewkey{xyz \PDFpagexyzspec}\def\PDFpageviewwrd{/XYZ \PDFpagexyzspec}, \s!unknown=>\def\PDFpageviewkey {fit}\def\PDFpageviewwrd{/Fit}]% \edef\PDFpageview{/View [\PDFpageviewwrd]}} \protect