From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/62920 Path: news.gmane.org!not-for-mail From: Philipp Gesang Newsgroups: gmane.comp.tex.context Subject: Re: hyphenated url Date: Mon, 25 Oct 2010 15:12:31 +0200 Message-ID: <20101025131225.GA3920@orcus.urz.uni-heidelberg.de> References: <51241DF1-574E-4677-AED5-0D01225C8635@st.estfiles.de> <20101025091602.GA26195@aides> <20101025095024.GB26195@aides> <907A35C5-0380-4C63-B6B1-D26628EBD222@st.estfiles.de> <20101025102612.GC26195@aides> <46EA0AD9-208E-4566-B0F1-565B6552AC71@st.estfiles.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0559569229==" X-Trace: dough.gmane.org 1288012367 32622 80.91.229.12 (25 Oct 2010 13:12:47 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 25 Oct 2010 13:12:47 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Oct 25 15:12:46 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 1PAMqz-0007nl-Mz for gctc-ntg-context-518@m.gmane.org; Mon, 25 Oct 2010 15:12:45 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C73A4C9A7C; Mon, 25 Oct 2010 15:12:43 +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 h90EQRVvWq1N; Mon, 25 Oct 2010 15:12:43 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9A24BCA77B; Mon, 25 Oct 2010 15:12:40 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2501CCA77B for ; Mon, 25 Oct 2010 15:12:39 +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 wFOJl9i7Ni4F for ; Mon, 25 Oct 2010 15:12:35 +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 D2F14C9A7C for ; Mon, 25 Oct 2010 15:12:35 +0200 (CEST) Original-Received: from relay.uni-heidelberg.de (relay.uni-heidelberg.de [129.206.100.212]) by filter5-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o9PDCY6g023657 for ; Mon, 25 Oct 2010 15:12:35 +0200 Original-Received: from ix.urz.uni-heidelberg.de (cyrus-portal.urz.uni-heidelberg.de [129.206.100.176]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id o9PDBvJ7029138 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 25 Oct 2010 15:11:57 +0200 Original-Received: from extmail.urz.uni-heidelberg.de (extmail.urz.uni-heidelberg.de [129.206.100.140]) by ix.urz.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id o9PDCXGH020718 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 25 Oct 2010 15:12:33 +0200 Original-Received: from localhost (vpn169a.rzuser.uni-heidelberg.de [129.206.196.169]) by extmail.urz.uni-heidelberg.de (8.13.4/8.13.1) with ESMTP id o9PDC6aa005328 for ; Mon, 25 Oct 2010 15:12:07 +0200 In-Reply-To: <46EA0AD9-208E-4566-B0F1-565B6552AC71@st.estfiles.de> X-Operating-System: Linux orcus 2.6.34-PRIAPUS-3 User-Agent: Mutt/1.5.21 (2010-09-15) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=129.206.100.212; country=DE; region=01; city=Heidelberg; latitude=49.4167; longitude=8.7000; http://maps.google.com/maps?q=49.4167,8.7000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0BDn1cyRn - 13c3f9f0e4ae - 20101025 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:62920 Archived-At: --===============0559569229== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="E39vaYmALEf/7YXx" Content-Disposition: inline --E39vaYmALEf/7YXx Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2010-10-25 <12:45:17>, Steffen Wolfrum wrote: >=20 > Am 25.10.2010 um 12:26 schrieb Philipp Gesang: > > \unexpanded\gdef\hyphenatedurl > >=20 > > Should work in footnotes. Regards, Philipp >=20 >=20 > No, it doesn't (see below). > Do you have an other idea? Right; it works in footnotes but doesn=E2=80=99t accomplish what you want. Sorry, I tried a lot but =E2=80=98\letterpercent=E2=80=99 is the only way it works for me. Concerning the urlencoding I referred to browsers automatically converting raw urls, like for instance http://www.google.com/search?q=3D=C3=A4hre , which is encoded as http://www.google.com/search?q=3D%C3%A4hre by my browser. As long as your urls mainly consist of unicode strings you might not need the actual (ascii) percent sign. In this case you could be fine simply by converting strings like =E2=80=98%C3%A4hre=E2=80=99 to =E2=80=98=C3=84hre=E2=80=99, rendering urls = percent-less, and rely on the browsers to re-encode them on the fly. Might be a bit far fetched, though. Philipp >=20 > Thanks, Steffen > (ConTeXt ver: 2010.10.21) >=20 >=20 > Runaway argument? > {test \hyphenatedurl {www.test\par \stoptext \par=20 > ! File ended while scanning use of \@@notemakedescription. >=20 > system > error on line 0 in file : File ended while scanning use= of \@@notemakedescription ... >=20 >=20 > \let\normalhyphenatedurl\hyphenatedurl >=20 > \bgroup >=20 > \catcode`\%=3D11 >=20 > \unexpanded\gdef\hyphenatedurl > {\bgroup > \catcode`\%=3D11 > \expandafter\egroup > \normalhyphenatedurl} >=20 > \egroup >=20 > \setupinteraction > [state=3Dstart] >=20 > \starttext >=20 > text\footnote{test \hyphenatedurl{www.test%it.com} test.} text. >=20 > \stoptext >=20 >=20 >=20 >=20 > _________________________________________________________________________= __________ > If your question is of interest to others as well, please add an entry to= the Wiki! >=20 > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-co= ntext > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : http://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > _________________________________________________________________________= __________ --E39vaYmALEf/7YXx Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAkzFgj4ACgkQ02lYlJYWs9I+BwCfaU0TUbeEmzADsesuthiwJ9c2 WRcAn23uXnM+aLVvzyQgt+te/EyYKp6/ =ldgp -----END PGP SIGNATURE----- --E39vaYmALEf/7YXx-- --===============0559569229== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============0559569229==--