From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/17392 Path: main.gmane.org!not-for-mail From: Willi Egger Newsgroups: gmane.comp.tex.context Subject: Re: Re: Wrap a url Date: Sun, 05 Dec 2004 18:52:08 +0100 Message-ID: <41B34AC8.5070201@boede.nl> References: <3.0.5.32.20041102061702.008e6640@mail.northcoast.com> <3.0.5.32.20041030142258.008da250@mail.northcoast.com> <3.0.5.32.20041030142258.008da250@mail.northcoast.com> <3.0.5.32.20041102061702.008e6640@mail.northcoast.com> <3.0.5.32.20041102094749.008e7b60@mail.northcoast.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: deer.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 1102269142 8442 80.91.229.6 (5 Dec 2004 17:52:22 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 5 Dec 2004 17:52:22 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Sun Dec 05 18:52:17 2004 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Cb0YT-0005D8-00 for ; Sun, 05 Dec 2004 18:52:17 +0100 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id CAC401279D; Sun, 5 Dec 2004 18:52:16 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 15329-01-3; Sun, 5 Dec 2004 18:52:12 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D153B12799; Sun, 5 Dec 2004 18:52:12 +0100 (CET) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5589312799 for ; Sun, 5 Dec 2004 18:52:11 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 15329-01-2 for ; Sun, 5 Dec 2004 18:52:10 +0100 (CET) Original-Received: from smtp-vbr15.xs4all.nl (unknown [194.109.24.35]) by ronja.ntg.nl (Postfix) with ESMTP id AC30F1277B for ; Sun, 5 Dec 2004 18:52:10 +0100 (CET) Original-Received: from [192.168.0.1] (a80-126-172-1.adsl.xs4all.nl [80.126.172.1]) by smtp-vbr15.xs4all.nl (8.12.11/8.12.11) with ESMTP id iB5Hq5AO015594 for ; Sun, 5 Dec 2004 18:52:10 +0100 (CET) (envelope-from w.egger@boede.nl) User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: X-Virus-Scanned: by XS4ALL Virus Scanner X-Virus-Scanned: by 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-Virus-Scanned: by amavisd-new at ntg.nl Xref: main.gmane.org gmane.comp.tex.context:17392 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:17392 Hi, thanks Patrick for the example. The only thing is, that \useURL does not hypenate. In Context there is also a command \hyphenatedurl: From: \hyphenatedurl{http://www.perseus.tufts.edu/cgi-bin/ptext?doc=Perseus:text:1999.01.0218:book=1:line=1} However you will loose the interactivity. Another approach is then to use Patrick's example like \setupoutput[pdftex] \setupcolors [state=start] \setupinteraction [state=start,color=blue] \useURL [hyphenated] [{http://www.perseus.tufts.edu/cgi-bin/ptext?doc=Perseus:text:1999.01.0218:book=1:line=1}] [] [\tex{Odysee from Homeros on the Internet}] \starttext Read once from: \hyphenatedurl{http://www.perseus.tufts.edu/cgi-bin/ptext?doc=Perseus:text:1999.01.0218:book=1:line=1} Read also from \from[hyphenated]! \stoptext Don not to forget to enclose the very long URL in braces! - Otherwise the requested page is not loaded. Willi Patrick Gundlach wrote: > [...] > > >>I am seeing here and there that the syntax for \useURL is: >> >>\useURL[][][][] > > > Hi, I have put an example in texshow-web > (http://texshow.contextgarden.net/cmd=useURL) > > Patrick