On 2010-10-28 <08:46:55>, Steffen Wolfrum wrote:
Am 28.10.2010 um 00:05 schrieb Philipp Gesang:
% Usage example here:
\startuseURL[anotherurl][urldescription] http://test%it.example.com \stopuseURL
\starttext
\from[anotherurl]\par \url[anotherurl]\par
Test.\footnote{\url[anotherurl]}
\stoptext
Hi Philipp,
this doesn't work ... the address gets corrupt!
Just run it, open the PDF in Acrobat and test the link:
"Acrobat is attempting to connect to http://test%25it.example.com"
This can’t get corrupted any more because it’s illegal. From RFC 1738: ···8<···························································· hostname = *[ domainlabel "." ] toplabel domainlabel = alphadigit | alphadigit *[ alphadigit | "-" ] alphadigit ···8<···························································· No percent signs allowed in the hostname. Put your test percent sign somewhere else and it will work (don’t know about acrobat, but okular cooperates): http://testit.example.com/%25 http://www.google.com/search?q=L%C3%A4rmbel%C3%A4stigung Hth, Philipp
Steffen ___________________________________________________________________________________ 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 ___________________________________________________________________________________
-- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments