[NTG-context] URLs and online contents with BibTeX in ConTeXt

Mojca Miklavec mojca.miklavec.lists at gmail.com
Thu Nov 17 03:56:04 CET 2005


Taco Hoekwater wrote:
> Giuseppe Bilotta wrote:
> > What is the preferred way to insert URLs and references to online
> > contents with the bibtex module for ConTeXt?
>
> The beta has a \url field, as well a u= key to \startpublication.

I'm not sure if my version of the module is exactly the same as the
latest beta, but the module should be able to handle request such as

\startpublication[k=pragma,
	t=article, % I sometimes use "webpage"
	a=Hans]
\url{http://www.pragma-ade.com} % or u= inside the square brackets
\lastchecked{some date}
\stoppublication

and then you can produce the url with \cite[url][pragma]. Currently
there's no support for hyperlinks yet. It would be great if \cite[url]
would give directly the hyperlinked version of the url (perhaps there
could be an option for web addresses: active=yes|no), but Taco
mentioned a while ago that the module would need quite some rewriting
in order to support that.

However, currently you can get active links with something like this:

\getcitedata [url] [pragma] to \pragmaascii
\useURL[bibpragma][\pragmaascii]
\from[bibpragma]

Mojca


More information about the ntg-context mailing list