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 “%” on in the URL field (the 2nd field) in red  
> (indicating that it is commented out). Using “\%” 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 <[EMAIL PROTECTED]>  
>> 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 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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to