Hi,

thanks Patrick for the example. The only thing is, that \useURL does not hypenate.

In Context there is also a command \hyphenatedurl:

From: \hyphenatedurl{http://www.perseus.tufts.edu/cgi-bin/ptext?doc=Perseus:text:1999.01.0218:book=1:line=1}

However you will loose the interactivity.

Another approach is then to use Patrick's example like

\setupoutput[pdftex]
\setupcolors
  [state=start]
\setupinteraction
  [state=start,color=blue]

\useURL
  [hyphenated]

[{http://www.perseus.tufts.edu/cgi-bin/ptext?doc=Perseus:text:1999.01.0218:book=1:line=1}]
  []
  [\tex{Odysee from Homeros on the Internet}]

\starttext

Read once from: \hyphenatedurl{http://www.perseus.tufts.edu/cgi-bin/ptext?doc=Perseus:text:1999.01.0218:book=1:line=1}

Read also from \from[hyphenated]!
\stoptext

Don not to forget to enclose the very long URL in braces! - Otherwise the requested page is not loaded.


Willi


Patrick Gundlach wrote:
[...]


I am seeing here and there that the syntax for \useURL is:

\useURL[][][][]


Hi, I have put an example in texshow-web
(http://texshow.contextgarden.net/cmd=useURL)

Patrick
_______________________________________________
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to