From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/63025 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: hyphenated url Date: Thu, 28 Oct 2010 14:50:15 +0200 Message-ID: <12CA75DA-9584-48D2-BFD4-9DC27302AE24@gmail.com> 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="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1288270884 22025 80.91.229.12 (28 Oct 2010 13:01:24 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 28 Oct 2010 13:01:24 +0000 (UTC) Cc: mailing list for ConTeXt users To: Taco Hoekwater Original-X-From: ntg-context-bounces@ntg.nl Thu Oct 28 15:01:21 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 1PBS6Y-0004CF-LS for gctc-ntg-context-518@m.gmane.org; Thu, 28 Oct 2010 15:01:18 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4A942CA7C0; Thu, 28 Oct 2010 15:01:18 +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 9LQwQmvwaLM0; Thu, 28 Oct 2010 15:01:06 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 682DACA7A2; Thu, 28 Oct 2010 15:01:06 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3E5F3CA7A8 for ; Thu, 28 Oct 2010 15:01:04 +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 EftuhdVqXbPZ for ; Thu, 28 Oct 2010 15:01:01 +0200 (CEST) Original-Received: from filter1-til.mf.surf.net (filter1-til.mf.surf.net [194.171.167.217]) by balder.ntg.nl (Postfix) with ESMTP id C7160CA79B for ; Thu, 28 Oct 2010 15:01:01 +0200 (CEST) Original-Received: from mail-fx0-f41.google.com (mail-fx0-f41.google.com [209.85.161.41]) by filter1-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o9SD11QS018569 for ; Thu, 28 Oct 2010 15:01:01 +0200 Original-Received: by fxm2 with SMTP id 2so1966440fxm.14 for ; Thu, 28 Oct 2010 06:01:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:subject:mime-version :content-type:from:in-reply-to:date:cc:content-transfer-encoding :message-id:references:to:x-mailer; bh=PGeIlTwWThcHl5tweKmZN6y5hIgDTJekHAHg9ZmyHwA=; b=w4FXB1BPdIQB36OpQzLnoVvLiPDvSelqI+3zVhr66Z/rnzhpylthcdl1tDmElL2MaU Vbk/5JWGkyC4/CTKbbXbtiFrAn5smPGygLrME4UwtmIe8DkKnB2t5pRwtYWRDZROM8V5 m0Q7nbExhHVPNHl6XyCSwrPBztoa4cUWXuVqA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; b=CYX6uuUhSLs7iRpg8i7mfUeLKm8opf/hHH632CjXelYqPrrCQrd188CL0WBb6NyUMG FIHHJ4WdMgsnkrq0/jIUt5QOVxe2jz0P9Z5EfTL2yVn/vlzabypcWSiwGSHw7bqdd2Dh SQlP8jpP2Uh1ozE36bNxB6mmrE1rz/ZyFfMic= Original-Received: by 10.223.89.142 with SMTP id e14mr1876571fam.143.1288270860051; Thu, 28 Oct 2010 06:01:00 -0700 (PDT) Original-Received: from [192.168.2.23] (p5B293566.dip.t-dialin.net [91.41.53.102]) by mx.google.com with ESMTPS id d17sm452419faa.39.2010.10.28.06.00.57 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 28 Oct 2010 06:00:58 -0700 (PDT) In-Reply-To: <4CC91DF4.2030205@elvenkind.com> X-Mailer: Apple Mail (2.1081) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.161.41; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 08Dod117c - 9152b180ad96 - 20101028 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.217 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:63025 Archived-At: Am 28.10.2010 um 08:53 schrieb Taco Hoekwater: > On 10/27/2010 02:43 PM, Wolfgang Schuster wrote: >> = >> Am 27.10.2010 um 12:35 schrieb Steffen Wolfrum: >> = >>> Hi Hans and other catcode wizards, >>> = >>> isn't there a way to make this kind of catcode trickery only be availab= le *inside* \hyphenatedurl{} environment? >> = >> It=92s useless in this case because the =84%=93 is read from the footnot= e before \hyphenatedurl can see it and any local catcode changes have there= fore no effect. > = > This works: > = > \startbuffer [comurl] \catcode`\%=3D12 > \hyphenatedurl{http://www.kommers.se/upload/Analysarkiv/In%20English/Anal= yses/Woolcock%20paper%20on%20impact%20of%20Lisbontreaty%20on%20tradepolicy.= pdf} > \stopbuffer > = > \setupinteraction > [state=3Dstart] > = > \starttext > = > test\footnote{test \getbuffer[comurl] text.} text. > = > \stoptext Sure but \getbuffer isn=92t expanded when the footnote text is read by tex,= when you look at the tuc file you can see the entry for the footnote is: titledata=3D{ title=3D"test \\getbuffer [comurl] text.", }, Wolfgang ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________