From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/35440 Path: news.gmane.org!not-for-mail From: WolfgangZ Newsgroups: gmane.comp.tex.context Subject: Re: how to use a \framed for a hyperlink Date: Mon, 16 Jul 2007 09:57:43 +0200 Message-ID: References: <115224fb0707160005r4667bd38pb330e07c4706fa37@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1184572689 3108 80.91.229.12 (16 Jul 2007 07:58:09 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 16 Jul 2007 07:58:09 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Mon Jul 16 09:58:06 2007 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1IALT4-0007B2-75 for gctc-ntg-context-518@m.gmane.org; Mon, 16 Jul 2007 09:58:06 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id BF04B1FE4E; Mon, 16 Jul 2007 09:58:04 +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 17949-02; Mon, 16 Jul 2007 09:57:57 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5BD601FE45; Mon, 16 Jul 2007 09:57:56 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A29591FE45 for ; Mon, 16 Jul 2007 09:57:54 +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 17966-01-5 for ; Mon, 16 Jul 2007 09:57:52 +0200 (CEST) Original-Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by ronja.ntg.nl (Postfix) with ESMTP id A9B8A1FE3F for ; Mon, 16 Jul 2007 09:57:52 +0200 (CEST) Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1IALSq-00030Q-0z for ntg-context@ntg.nl; Mon, 16 Jul 2007 09:57:52 +0200 Original-Received: from kulnet-nat-2.kulnet.kuleuven.be ([134.58.253.57]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 16 Jul 2007 09:57:52 +0200 Original-Received: from wollez by kulnet-nat-2.kulnet.kuleuven.be with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 16 Jul 2007 09:57:52 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 51 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: kulnet-nat-2.kulnet.kuleuven.be User-Agent: Thunderbird 2.0.0.4 (Windows/20070604) In-Reply-To: <115224fb0707160005r4667bd38pb330e07c4706fa37@mail.gmail.com> X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:35440 Archived-At: Wolfgang Schuster schrieb: > 2007/7/15, WolfgangZ : >> Hello, >> >> how can I use a the background of a framed for a hyperlink? I wan't to >> achive that the area (of a colored box) is handled as link. >> >> Many thanks >> Wolfgang > > \setupinteraction[state=start] > > \defineoverlay[knuthref][\overlaybutton{sec:knuth}] > > \starttext > > \section[sec:knuth]{Knuth} > > \input knuth > > \page > > \button{Knuth}[sec:knuth] > > \button[width=4cm,height=2cm]{Knuth}[sec:knuth] > > \framed[width=4cm,height=2cm,background=knuthref]{Knuth} > > \stoptext > > Wolfgang Hello Wolfgang your example inspired me to searche a bit more and I found a solution for what I wanted to achive: \setupinteraction[state=start] \useURL[ntg-www] [http://www.ntg.nl] \starttext \gotobox{\framed[width=4cm,height=4cm]{gotobox}}[URL(ntg-www)] \stoptext regards Wolfgang ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________