From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/62981 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: hyphenated url Date: Wed, 27 Oct 2010 17:59:39 +0200 Message-ID: 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> <20101027145608.GA25861@gaston.couberia.bzh> 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 1288195220 6275 80.91.229.12 (27 Oct 2010 16:00:20 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 27 Oct 2010 16:00:20 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Oct 27 18:00:17 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 1PB8QD-0003Sa-78 for gctc-ntg-context-518@m.gmane.org; Wed, 27 Oct 2010 18:00:17 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1851ACA7A4; Wed, 27 Oct 2010 18:00:16 +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 k4QHk7dWcesZ; Wed, 27 Oct 2010 18:00:12 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id EEBADCA795; Wed, 27 Oct 2010 18:00:11 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 96D6ACA795 for ; Wed, 27 Oct 2010 18:00:10 +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 Nd5hO9gulwaH for ; Wed, 27 Oct 2010 17:59:58 +0200 (CEST) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by balder.ntg.nl (Postfix) with ESMTP id 5AAE6CA78A for ; Wed, 27 Oct 2010 17:59:58 +0200 (CEST) Original-Received: from mail-bw0-f41.google.com (mail-bw0-f41.google.com [209.85.214.41]) by filter3-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o9RFxvpJ010820 for ; Wed, 27 Oct 2010 17:59:57 +0200 Original-Received: by bwz16 with SMTP id 16so695275bwz.14 for ; Wed, 27 Oct 2010 08:59:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:content-type:mime-version :subject:from:in-reply-to:date:content-transfer-encoding:message-id :references:to:x-mailer; bh=SIf+kdniKeunWaQM7FJXcwRSqnzkR3tmgLTwmrd0ayA=; b=Jg5D/LJ9Zwh/sXmmHJbkwgEJMo4vQPHmPfSjJXmtK1Xj96e+wD7/8UPpTQtRQkY6pm wq3YNcG2of3JFSj1m57wtWia30QPwCk4JSYFzQwKwtfp0GPYZIqqxqOesoo5ekUAzTsl udH2Rinm2Z+FG2HX+oRW1LMw0NCdQYsHLGaZs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=gUivF1ZtLgAonaALbjjvBqtlkvAC97ulWq8Zsdv8WXghF1gp1nk7WBKgCES6HqZ6PR /ud2de2HsxSDMpJCQwShul/vc0GUYeamFi3ORKSlwTCKLkoq0eiwAwJfL5JGgPqMm33m Lo5P3TcYcoMKuHgH4y8WmlXdGgJLiojV2kIwo= Original-Received: by 10.204.15.146 with SMTP id k18mr7395006bka.98.1288195197216; Wed, 27 Oct 2010 08:59:57 -0700 (PDT) Original-Received: from [192.168.2.23] (p5B29353D.dip.t-dialin.net [91.41.53.61]) by mx.google.com with ESMTPS id r21sm7097953bkj.10.2010.10.27.08.59.54 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 27 Oct 2010 08:59:55 -0700 (PDT) In-Reply-To: <20101027145608.GA25861@gaston.couberia.bzh> X-Mailer: Apple Mail (2.1081) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.214.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: 0eDnPXVOw - e3ff9fb31fb4 - 20101027 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.219 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:62981 Archived-At: Am 27.10.2010 um 16:56 schrieb Peter M=FCnster: > On Wed, Oct 27 2010, Wolfgang Schuster wrote: >> = >>> 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 therefore no >> effect. > = > He wants perhaps: > = > \starthyphenatedurl > www.%.com > \stophyphenatedurl No, he wants \footnote{...\hyphenatedurl{...%...}...} and before \hyphenatedurl can take a look at the content and change the % t= o a normal character the footnote already interpreted it as a comment and i= t=92s gone. What you can do is to redefine \footnote to read it=92s content= with a different catcode regime or you use Adityas modified \asciicode com= mand which makes % a printable character but you loose then comments (and \= starthiding/\stophiding does not count as comment). 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 ___________________________________________________________________________= ________