From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/63018 Path: news.gmane.org!not-for-mail From: Steffen Wolfrum Newsgroups: gmane.comp.tex.context Subject: Re: hyphenated url (SOLVED) Date: Thu, 28 Oct 2010 14:06:30 +0200 Message-ID: <3210D54E-4674-4201-991A-86C101A4AAC3@st.estfiles.de> References: <51241DF1-574E-4677-AED5-0D01225C8635@st.estfiles.de> <410FAACA-2464-45B1-AF91-3DD176102EAE@st.estfiles.de> <20101025224952.GD26195@aides> <05DB7370-4819-449D-B973-871063D5728E@gmail.com> <4CC91DF4.2030205@elvenkind.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1288267614 6099 80.91.229.12 (28 Oct 2010 12:06:54 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 28 Oct 2010 12:06:54 +0000 (UTC) Cc: Hans Hagen , Taco Hoekwater , =?iso-8859-1?Q?Peter_M=FCnster?= , Philipp Gesang To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Oct 28 14:06:51 2010 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PBRFq-0006xA-JJ for gctc-ntg-context-518@m.gmane.org; Thu, 28 Oct 2010 14:06:50 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B5EBDCA7AC; Thu, 28 Oct 2010 14:06:49 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id gysDW-JNw5aM; Thu, 28 Oct 2010 14:06:46 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 727EDCA79E; Thu, 28 Oct 2010 14:06:46 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D736ECA79E for ; Thu, 28 Oct 2010 14:06:44 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id yjenAwrnBl4h for ; Thu, 28 Oct 2010 14:06:33 +0200 (CEST) Original-Received: from filter5-ams.mf.surf.net (filter5-ams.mf.surf.net [192.87.102.73]) by balder.ntg.nl (Postfix) with ESMTP id 926FCCA796 for ; Thu, 28 Oct 2010 14:06:33 +0200 (CEST) Original-Received: from smtprelay04.ispgateway.de (smtprelay04.ispgateway.de [80.67.31.32]) by filter5-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o9SC6WHj026195 for ; Thu, 28 Oct 2010 14:06:33 +0200 Original-Received: from [89.247.79.176] (helo=[192.168.1.4]) by smtprelay04.ispgateway.de with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.68) (envelope-from ) id 1PBRFX-00027D-Vc; Thu, 28 Oct 2010 14:06:32 +0200 In-Reply-To: <4CC91DF4.2030205@elvenkind.com> X-Mailer: Apple Mail (2.1081) X-Df-Sender: 698580 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=80.67.31.32; country=DE; region=02; city=Ismaning; latitude=48.2333; longitude=11.6333; http://maps.google.com/maps?q=48.2333,11.6333&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0BDoc6wj5 - 20a51e36729c - 20101028 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.73 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:63018 Archived-At: Am 28.10.2010 um 08:53 schrieb Taco Hoekwater: > This works: > > \startbuffer [comurl] \catcode`\%=12 > \hyphenatedurl{... If I didn't overlook something, then this must be finally the solution: \startbuffer [comurl] \catcode`\%=12 \useURL[test][http://www.kommers.se/upload/Analysarkiv/In%20English/Analyses/Woolcock%20paper%20on%20impact%20of%20Lisbontreaty%20on%20tradepolicy.pdf][] [http://www.kommers.se/upload/Analysarkiv/In%20English/\crlf Analyses/Woolcock%20paper%20on%20impact%20of%20Lisb\crlf ontreaty%20on%20tradepolicy.pdf]\from[test] \stopbuffer \setupinteraction [state=start] \starttext test {\getbuffer[comurl]} text.% HEY! test \startfootnote test \getbuffer[comurl]\ text.% HEY! \stopfootnote{} text.% HEY! \stoptext Here, the "%" character can be used for URL, both in bodytext and footnote, but works as "comment", too. And we can at the same time manually break long URLs that are too weird for hyphenation by \hyphenatedurl. Thank you Taco, Peter, Philipp and Hans for your efforts ... and eventually getting all the pieces for this solution together!!! Steffen ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________