How to change Bibliography settings to enable links

AI Thread Summary
To enable hyperlinks in a bibliography when using LaTeX, consider switching from the outdated "unsrt" style to a more modern style like "unsrturl," which can recognize URLs and DOIs. The "hyperref" package is essential for automatically converting entries in the "url" field into hyperlinks. While some styles may generate URLs from DOIs, "unsrturl" does not provide this functionality. Modifying bibliography style files (bst) could be an option, but it requires familiarity with the process. Adopting updated styles and packages will enhance the citation experience by integrating hyperlinks seamlessly.
John Greger
Messages
34
Reaction score
1
TL;DR Summary
I can get the citation code from Inspire.net for papers. However, can I change the Bibliography settings in some way such that there are hyperlinks to the paper? I don't want to embed it manually for every reference.
I can get the citation code from Inspire.net for papers. However, can I change the Bibliography settings in some way such that there are hyperlinks to the paper? I don't want to embed it manually for every reference.

For instance. Now, I use the citation code

@article{Hawking:2000kj, author = "Hawking, S. W. and Hertog, T. and Reall, H. S.", title = "{Brane new world}", eprint = "hep-th/0003052", archivePrefix = "arXiv", reportNumber = "DAMTP-2000-25", doi = "10.1103/PhysRevD.62.043501", journal = "Phys. Rev. D", volume = "62", pages = "043501", year = "2000" }

In the end of my LaTeX document I also have

\addcontentsline{toc}{section}{References}
\bibliographystyle{unsrt}
\bibliography{article}

Maybe there is a different style that can enable hyperlinks automatically? Or maybe the citation code cannot accommodate this?
 
Physics news on Phys.org
Your provlem is that unsrt is an elderly style which prcedes things like DOIs or URLs (and, indeed, hyperlinks).

There are more modern styles which can recognise such fields (such as unsrturl) and some which will automatically typeset anything in a "url" bibtex field as a hyperlink if you are using the hyperref package. There may or may not be styles which will create a URL from a DOI and typeset it accordinly. However I don't think unsrturl actually does either of those things. Not having tried to mess around with bst files myself I don't know how easy it would be to modify it to do that.
 

Similar threads

Back
Top