ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Activating urls
@ 2005-04-07 18:45 Idris Samawi Hamid
  2005-04-07 19:20 ` Nikolai Weibull
  2005-04-07 19:47 ` Patrick Gundlach
  0 siblings, 2 replies; 7+ messages in thread
From: Idris Samawi Hamid @ 2005-04-07 18:45 UTC (permalink / raw)


Dear knights,

How do I get url hyperlinks? The following does not work, so I am missing 
something:

\starttext

{\tt \useURL
[Adobe]
[http://partners.adobe.com/public/developer/en/font/5091.Design_MM_Fonts.pdf][
][]
}.

\stoptext

Also, is there a manual that covers this topic?

Best
Idris

============================
Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Activating urls
  2005-04-07 18:45 Activating urls Idris Samawi Hamid
@ 2005-04-07 19:20 ` Nikolai Weibull
  2005-04-07 19:47 ` Patrick Gundlach
  1 sibling, 0 replies; 7+ messages in thread
From: Nikolai Weibull @ 2005-04-07 19:20 UTC (permalink / raw)


Idris Samawi Hamid, April 7:

> How do I get url hyperlinks? The following does not work, so I am
> missing something:

\useURL
  [Adobe]
  [http://partners.adobe.com/public/developer/en/font/5091.Design_MM_Fonts.pdf]
\setupinteraction[state=start]
\starttext
\url[Adobe].
\stoptext

Enjoy,
        nikolai

-- 
Nikolai Weibull: now available free of charge at http://bitwi.se/!
Born in Chicago, IL USA; currently residing in Gothenburg, Sweden.
main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);}

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Activating urls
  2005-04-07 18:45 Activating urls Idris Samawi Hamid
  2005-04-07 19:20 ` Nikolai Weibull
@ 2005-04-07 19:47 ` Patrick Gundlach
  2005-04-07 21:37   ` Robert Ullrey
  1 sibling, 1 reply; 7+ messages in thread
From: Patrick Gundlach @ 2005-04-07 19:47 UTC (permalink / raw)


Hello Idris,

> How do I get url hyperlinks? The following does not work, so I am missing 
> something:

I have not tried your example, but have a look at texshow-web:

http://texshow.contextgarden.net/cmd=useURL

Patrick
-- 
ConTeXt wiki and more: http://contextgarden.net

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Re: Activating urls
  2005-04-07 19:47 ` Patrick Gundlach
@ 2005-04-07 21:37   ` Robert Ullrey
  0 siblings, 0 replies; 7+ messages in thread
From: Robert Ullrey @ 2005-04-07 21:37 UTC (permalink / raw)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Idris,

Not exactly sure what you are after, do you want to "print" the url 
out, or make an active link that clicking on will take you to.

If you want to print the url, then

\setupcolors
	[state=start]
\setupinteraction
  	[state=start,color=blue]
%  To use a url,
\useURL
    [mypage] << the cite you will use
    [http://www.webpage.edu] << the actual web address
    [] << if you were linking to a file
    [\tex{My Web page}] << What you want the link to print in the 
document

\starttext
This is an example of link usage in \ConTeXt. If the link works, you 
should see that My Web Page is repeated here \from[mypage] and is 
highlighted in blue and that the link works. An alternative would be to 
list the link as a url as in here, \url[mypage]. However, using the url 
command gets a printing of the url, e.g,. http://www.webpage.edu.
\stoptext

Hope that helps.
Robert


-----BEGIN PGP SIGNATURE-----
Version: PGP 8.1

iQA/AwUBQlWoN/FTYcwurb3FEQJ98wCeIYP/PyhUp2/4LY6GBvT5UamEFGUAoPty
3sZ4KCQKalOiUAZFjmJ0cJo9
=HswA
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Re: Activating urls
  2005-04-08 15:02     ` Patrick Gundlach
@ 2005-04-09 12:15       ` Nikolai Weibull
  0 siblings, 0 replies; 7+ messages in thread
From: Nikolai Weibull @ 2005-04-09 12:15 UTC (permalink / raw)


Patrick Gundlach, April 8:

> > > I get a 'half working' hyperlink. Try to replace '\url' by
> > > '\from'.

> > Actually, for me, both work in acroread (7),

> I think that there is some magic in acroread 7. it parses the text and
> if it sees a http://someth.ing  it will make that active. 

You are right,
        nikolai

-- 
Nikolai Weibull: now available free of charge at http://bitwi.se/!
Born in Chicago, IL USA; currently residing in Gothenburg, Sweden.
main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);}

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Re: Activating urls
  2005-04-08  9:02 ` Patrick Gundlach
  2005-04-08 11:52   ` Nikolai Weibull
@ 2005-04-08 11:55   ` Nikolai Weibull
  2005-04-08 15:02     ` Patrick Gundlach
  1 sibling, 1 reply; 7+ messages in thread
From: Nikolai Weibull @ 2005-04-08 11:55 UTC (permalink / raw)


Patrick Gundlach, April 8:

> I get a 'half working' hyperlink. Try to replace '\url' by '\from'.

Actually, for me, both work in acroread (7),
        nikolai

-- 
Nikolai Weibull: now available free of charge at http://bitwi.se/!
Born in Chicago, IL USA; currently residing in Gothenburg, Sweden.
main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);}

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Re: Activating urls
  2005-04-08  9:02 ` Patrick Gundlach
@ 2005-04-08 11:52   ` Nikolai Weibull
  2005-04-08 11:55   ` Nikolai Weibull
  1 sibling, 0 replies; 7+ messages in thread
From: Nikolai Weibull @ 2005-04-08 11:52 UTC (permalink / raw)


Patrick Gundlach, April 8:

> \from[Adobe].

Aha, is that the right way to do it?  I actually get fully working
hyperlinks with \url (as far as I can tell), but perhaps \from is the
right macro.  Sorry about confusion,
        nikolai

-- 
Nikolai Weibull: now available free of charge at http://bitwi.se/!
Born in Chicago, IL USA; currently residing in Gothenburg, Sweden.
main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);}

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2005-04-09 12:15 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-07 18:45 Activating urls Idris Samawi Hamid
2005-04-07 19:20 ` Nikolai Weibull
2005-04-07 19:47 ` Patrick Gundlach
2005-04-07 21:37   ` Robert Ullrey
2005-04-07 22:43 Idris Samawi Hamid
2005-04-08  9:02 ` Patrick Gundlach
2005-04-08 11:52   ` Nikolai Weibull
2005-04-08 11:55   ` Nikolai Weibull
2005-04-08 15:02     ` Patrick Gundlach
2005-04-09 12:15       ` Nikolai Weibull

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).