From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/40598 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: % in URL Date: Tue, 22 Apr 2008 16:48:39 +0200 Message-ID: <480DFAC7.5040600@wxs.nl> References: <768E9592-03CD-48EF-A536-C94B76AF5EFF@princeton.edu> <115224fb0804212314p5c33972am922702e2d0711fae@mail.gmail.com> <50A80C5D-2C78-4B84-9970-E23934349663@princeton.edu> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1208875830 7344 80.91.229.12 (22 Apr 2008 14:50:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 22 Apr 2008 14:50:30 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Apr 22 16:51:01 2008 connect(): Connection refused Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1JoJpV-0003zQ-4V for gctc-ntg-context-518@m.gmane.org; Tue, 22 Apr 2008 16:50:45 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8A79B1FC98; Tue, 22 Apr 2008 16:50:03 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 27169-08-11; Tue, 22 Apr 2008 16:49:25 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 7C1F61FCA1; Tue, 22 Apr 2008 16:49:24 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8F90B1FCA1 for ; Tue, 22 Apr 2008 16:49:22 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 27164-07-14 for ; Tue, 22 Apr 2008 16:48:49 +0200 (CEST) Original-Received: from mail.pragma-ade.net (dsl-083-247-100-017.solcon.nl [83.247.100.17]) by ronja.ntg.nl (Postfix) with ESMTP id 04FA21FC0D for ; Tue, 22 Apr 2008 16:48:48 +0200 (CEST) Original-Received: from [10.100.1.100] (unverified [10.100.1.100]) by controller-1 (SurgeMail 3.7b8) with ESMTP id 1153 for ; Tue, 22 Apr 2008 16:48:48 +0200 User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) In-Reply-To: <50A80C5D-2C78-4B84-9970-E23934349663@princeton.edu> X-Server: High Performance Mail Server - http://surgemail.com r=-274017400 X-Authenticated-User: hagen@controller-1 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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 X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:40598 Archived-At: Alan Bowen wrote: > Again, many thanks, Wolfgang. > = > The key is to use \from rather than \goto. As for using just % in the = > links, > = > \useURL > [Hoyrup2007bURL] > [{http://www.akira.ruc.dk/~jensh/Publications/2005%7BR%7D1_Folkerts_vol-1= .PDF = > }] > [] > [{http://www.akira.ruc.dk/\~{}jensh/Publications/2005\%7BR\%7D1 = > \_Folkerts\_vol-1.PDF}] > = > works but looks odd, since TeXShop (my editor) puts everything from = > the the first =93%=94 on in the URL field (the 2nd field) in red = > (indicating that it is commented out). Using =93\%=94 in this field seems= = > to work too. > = > Very best, Alan > = > On Apr 22, 2008, at 02;14,05 , Wolfgang Schuster wrote: > = >> On Tue, Apr 22, 2008 at 4:00 AM, Alan Bowen = >> wrote: >>> I am trying to typeset a URL that has numerous "%"s in it which I am >>> replacing with "\%"s. The problem is that while the typeset URL = >>> works, >>> the printed URL is showing the "\%"s rather than just the "%"s. >>> >>> For example, >>> \useURL >>> [Hoyrup2007bURL] >>> [{http://www.akira.ruc.dk/~jensh/Publications/2005\ >>> %7BR{\percent}7D1_Folkerts_vol-1.PDF}] >>> [] >>> [{http://www.akira.ruc.dk/~jensh/Publications/2005\%7BR\ >>> %7D1_Folkerts_vol-1.PDF}] >>> >>> produces a link that works but reads as >>> http://www.akira.ruc.dk/~jensh/Publications/2005\ >>> %7BR{\percent}7D1_Folkerts_vol-1.PDF >>> >>> I notice that "\&" behaves as it should in this context. >>> >>> Any suggestions or pointers to a solution will be much appreciated. >> You could write % just as % in your links. >> >> \useURL >> [Hoyrup2007bURL] >> [http://www.akira.ruc.dk/~jensh/Publications/2005%7BR%7D1_Folkerts_vol-= 1..PDF = >> ] >> >> \starttext >> \from[Hoyrup2007bURL] >> \stoptext \expanded{\whatever[messycode\letterpercent andmore]} ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________= ________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________