From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/62916 Path: news.gmane.org!not-for-mail From: Steffen Wolfrum Newsgroups: gmane.comp.tex.context Subject: Re: hyphenated url Date: Mon, 25 Oct 2010 12:05:37 +0200 Message-ID: <907A35C5-0380-4C63-B6B1-D26628EBD222@st.estfiles.de> References: <51241DF1-574E-4677-AED5-0D01225C8635@st.estfiles.de> <20101025091602.GA26195@aides> <20101025095024.GB26195@aides> 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="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1288001160 13323 80.91.229.12 (25 Oct 2010 10:06:00 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 25 Oct 2010 10:06:00 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Oct 25 12:05:57 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 1PAJwC-0001jz-Vq for gctc-ntg-context-518@m.gmane.org; Mon, 25 Oct 2010 12:05:57 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0D106CA79E; Mon, 25 Oct 2010 12:05:56 +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 V7D1Xp+dA8ij; Mon, 25 Oct 2010 12:05:52 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 32EFACA7A4; Mon, 25 Oct 2010 12:05:52 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 19024CA7A4 for ; Mon, 25 Oct 2010 12:05:51 +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 BiFaBmAK4lae for ; Mon, 25 Oct 2010 12:05:40 +0200 (CEST) Original-Received: from filter4-nij.mf.surf.net (filter4-nij.mf.surf.net [195.169.124.155]) by balder.ntg.nl (Postfix) with ESMTP id 041CBCA79E for ; Mon, 25 Oct 2010 12:05:40 +0200 (CEST) Original-Received: from smtprelay03.ispgateway.de (smtprelay03.ispgateway.de [80.67.31.41]) by filter4-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o9PA5ccO017342 for ; Mon, 25 Oct 2010 12:05:39 +0200 Original-Received: from [89.247.122.21] (helo=[192.168.1.4]) by smtprelay03.ispgateway.de with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.68) (envelope-from ) id 1PAJvu-0005TE-Fu for ntg-context@ntg.nl; Mon, 25 Oct 2010 12:05:38 +0200 In-Reply-To: <20101025095024.GB26195@aides> 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.41; 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: 04DmW5DiA - df1df5acaa40 - 20101025 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.155 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:62916 Archived-At: Am 25.10.2010 um 11:50 schrieb Philipp Gesang: > On 2010-10-25 <11:39:12>, Steffen Wolfrum wrote: >> = >> Am 25.10.2010 um 11:16 schrieb Philipp Gesang: >> = >>> On 2010-10-25 <10:25:55>, Steffen Wolfrum wrote: >>>> Hi, >>>> = >>>> the "%" is a frequently used character in URL. >>>> But \hyphenatedurl{} can deal with it ... >>>> = >>>> Does someone has a fix? >>>> = >>>> = >>>> \starttext >>>> text\footnote{test \hyphenatedurl{www.test%it.com} test.} text. >>> Ugly, but it works: >>> = >>> text\footnote{test \hyphenatedurl{www.test\letterpercent it.com} test.}= text. >> = >> = >> If setupinteraction is set [state=3Dstart] it does not work: > = > Did you try exactly this: > = > =B7=B78<=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7= =B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7= =B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7 > \setupinteraction[state=3Dstart] > \starttext > text\footnote{test \hyphenatedurl{www.test\letterpercent it.com} test.} t= ext. > \stoptext > =B7=B78<=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7= =B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7= =B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7 sorry, in the meanwhile I was experimenting with another hack (but does not= work when used in footnotes) that mixed things up: \let\normalhyphenatedurl\hyphenatedurl \bgroup \catcode`\%=3D11 \gdef\hyphenatedurl {\bgroup \catcode`\%=3D11 \expandafter\egroup \normalhyphenatedurl} \egroup Steffen ___________________________________________________________________________= ________ 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 ___________________________________________________________________________= ________