BibTeX, biblatex and biberClickable URL Fields in References

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
tsikerdekis
Posts: 2
Joined: Thu Oct 20, 2011 2:56 pm

Clickable URL Fields in References

Post by tsikerdekis »

Hello everybody,

i have no idea if this is a BibTeX specific problem or a LaTeX but since it has to do with references i decided to post it here.

I have a bib file with several references that contain URL fields. The journal that i am planning to send my paper requires clickable links for the URL fields. I can't figure out how to do that.

Is it a package, is it the bibliographic style or is it a certain syntax that i have to use within the bib file?
Last edited by tsikerdekis on Tue Oct 25, 2011 2:10 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

kaiserkarl13
Posts: 707
Joined: Tue Mar 25, 2008 5:02 pm

Clickable URL Fields in References

Post by kaiserkarl13 »

It is both a package and a syntax! If you define your URLs with \url around them, then all you need to do is include

Code: Select all

\usepackage[colorlinks]{hyperref}
as the last included package and it should work. Your BibTeX file would then look like this:

Code: Select all

@misc{Google,
  author = "Bad S. Peller",
  title  = "The Evil Empire",
  url    = "{\url{http://www.google.com}}",
  year   = 2011
}
tsikerdekis
Posts: 2
Joined: Thu Oct 20, 2011 2:56 pm

Re: Clickable URL Fields in References

Post by tsikerdekis »

thanks! i tried it and it works well. Turns out the \url is not neccessary for bibtex. If the link is under the url field it is automatically converted
kaiserkarl13
Posts: 707
Joined: Tue Mar 25, 2008 5:02 pm

Clickable URL Fields in References

Post by kaiserkarl13 »

True, true. I usually put it under the "howpublished" field, as URL is not supported by some bibliography styles. If it's there, you do need \url.
Post Reply