From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/14822 Path: main.gmane.org!not-for-mail From: Alan Bowen Newsgroups: gmane.comp.tex.context Subject: Re: hyperlinks in PDF Date: Tue, 24 Feb 2004 12:28:48 -0500 Sender: ntg-context-admin@ntg.nl Message-ID: References: <6.0.1.1.2.20040223000514.01d49ec0@localhost> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 (Apple Message framework v612) Content-Type: text/plain; charset=WINDOWS-1252; delsp=yes; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1077643802 15837 80.91.224.253 (24 Feb 2004 17:30:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 24 Feb 2004 17:30:02 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Tue Feb 24 18:29:48 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 1AvgNP-0005NA-00 for ; Tue, 24 Feb 2004 18:29:47 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 0CAAA10B4D; Tue, 24 Feb 2004 18:27:47 +0100 (MET) Original-Received: from out006.verizon.net (out006pub.verizon.net [206.46.170.106]) by ref.ntg.nl (Postfix) with ESMTP id 201F610AEA for ; Tue, 24 Feb 2004 18:26:55 +0100 (MET) Original-Received: from [192.168.0.2] ([151.204.206.184]) by out006.verizon.net (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP id <20040224172849.YZRS1634.out006.verizon.net@[192.168.0.2]> for ; Tue, 24 Feb 2004 11:28:49 -0600 In-Reply-To: <6.0.1.1.2.20040223000514.01d49ec0@localhost> Original-To: ntg-context@ntg.nl X-Mailer: Apple Mail (2.612) X-Authentication-Info: Submitted using SMTP AUTH at out006.verizon.net from [151.204.206.184] at Tue, 24 Feb 2004 11:28:49 -0600 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:14822 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:14822 Hans=97 This is wonderful. I installed ConTeXt beta (to ensure support for =20 multiple footnote types) and used the patch. Problem solved! The =20 footnote numbers are showing/behaving properly. So we are now just =20 about ready to go online. Many thanks. Alan PS: What version number will ConTeXt have when there is no need for the =20= patch? A. On Feb 22, 2004, at 6:06 PM, Hans Hagen wrote: > At 14:21 21/02/2004, you wrote: >> Using the \setupinteraction and \useURL commands, I can now generate = =20 >> active blue email links my PDFs=97which is very cool. The downside is = =20 >> that my footnote numbers (both in the text and below) are now blue =20= >> too. >> >> I can go two ways with this. One way would be to set the footnote =20 >> links to toggle between the footnote call in the text and the =20 >> footnote itself. The other would be to prevent ConTeXt from treating =20= >> the footnote numbers as links. I have no idea about how to do either =20= >> and would be grateful for suggestions for either strategy, though my =20= >> preference would be for the first (assuming that it is possible). >> >> As it is now, clicking on the footnote call in the text changes the =20= >> magnification so that the whole page fits on the screen, which is not = =20 >> all that desirable under the present circumstances. > > since i'm in the middle of implementing some new nice interactive =20 > trickery i cannot upload a new version now, so you have to patch: > > % in cont-new.tex: (asumes a recent version with multiple footnote =20 > types support) > > \unprotect > > \def\dostartnote% nog gobble als in pagebody > {\bgroup > \settrue\processingnote > %\restorecatcodes % to be tested first > \ifinregels % otherwise problems with \type {xxx} > \ignorelines % makes footnotes work in \startlines ... \stoplines > \fi > \ifnotesymbol > \dolastnotesymbol > \else > \unskip\unskip > \globallet\lastnotesymbol\dolastnotesymbol > \fi > \ignorespaces > \localnoteinsert\currentnoteins\bgroup > \penalty\notepenalty > \forgetall > \setnotebodyfont > \redoconvertfont % to undo \undo calls in in headings etc > \splittopskip\strutht % not actually needed here > \splitmaxdepth\strutdp % not actually needed here > \iffixedlayoutdimensions % ugly hack, will change > \linkermargeafstand\noteparameter\c!margeafstand > \rechtermargeafstand\linkermargeafstand > \else > \def\linkermargeafstand{\noteparameter\c!margeafstand}% > \let\rechtermargeafstand\linkermargeafstand > \fi > \ifcase\noteparameter\c!n\relax % new 31-07-99 ; always ? > =20 > \doifnotinset{\noteparameter\c!breedte}{\v!passend,\v!=20 > ruim}\setnotehsize > \fi > \startpushnote > {\ifx\lastnotenumber\empty \else > =20 > \preparethenumber{\??vn\currentnote}\lastnotenumber\preparednumber > \doifelse{\noteparameter\c!interactie}\v!nee > {\noteparameter\c!nummercommando > =20 > {\preparednumber\domovednote\v!volgendepagina\v!vorigepagina}}% > {\naarbox{\noteparameter\c!commando % was =20 > \c!nummercommando, but compatible > =20 > {\preparednumber\domovednote\v!volgendepagina\v!vorigepagina}}% > [\s!fnt:f:\internalfootreference]}% > \fi > \doifelse{\noteparameter\c!interactie}\v!nee > {\ifconditional\pagewisenotes > \rawreference\s!fnt{\s!fnt:t:\internalfootreference}{}% > \fi}}% > {\rawreference\s!fnt{\s!fnt:t:\internalfootreference}{}}% > \bgroup > \postponenotes > \aftergroup\dostopnote > \begstrut > \let\next} > > \def\dolastnotesymbol > {\unskip\unskip > \ifdim\lastkern=3D\notesignal > \dodonotesymbol{\kern\noteparameter\c!afstand}% gets the font =20 > right, hack ! > \fi > \nobreak > \doifelse{\noteparameter\c!interactie}\v!nee > =20 > {\dodonotesymbol{\lastnotenumber\domovednote\v!vorigepagina\v!=20 > volgendepagina}% > \ifconditional\pagewisenotes > \rawreference\s!fnt{\s!fnt:f:\internalfootreference}{}% > \fi} > {\naarbox > =20 > {\dodonotesymbol{\lastnotenumber\domovednote\v!vorigepagina\v!=20 > volgendepagina}}% > [\s!fnt:t:\internalfootreference]% > \rawreference\s!fnt{\s!fnt:f:\internalfootreference}{}}% > \globallet\lastnotesymbol\relax} > > \protect > > % test file > > \setupinteraction[state=3Dstart] > > \setupcolors[state=3Dstart] > > \setupfootnotes[interaction=3Dno] % new > > \starttext > > test \footnote {test} > > \stoptext > > > _______________________________________________ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context >