Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hypertext links in the bibliography missing #16

Open
sneumann opened this issue Sep 15, 2019 · 3 comments
Open

Hypertext links in the bibliography missing #16

sneumann opened this issue Sep 15, 2019 · 3 comments

Comments

@sneumann
Copy link
Collaborator

Some of our references were explicitly to websites. We need to have those links.
Also, it would be great to have DOI or article links in the bibliography.

@stanstrup
Copy link
Collaborator

stanstrup commented Sep 15, 2019

It apparently is not so easy (but I agree). I looked into it yesterday and it seems the CSL standard doesn't have something for this. I didn't dig very deep so it might be possible somehow. Feel free to see if you can find a way.

@stanstrup
Copy link
Collaborator

Also might be easier in the html version than the pdf version. The latter needs latex.

@stanstrup
Copy link
Collaborator

OK it seems like it is possible. While CSL doesn't seem to have specification for this latex does.
Something like:

title = {\href{http://dx.doi.org/10.3390/metabo9070123}{{NMR} spectroscopy for metabolomics research.}}

seems to work. But for pdf only and not the html book. It would also be some work to do in the whole bibtex though. I guess it might be possible to script that though if there is an R parser for the bibtex. A script at rendering or change the whole bibtex file?

An alternative seems to be to add the url to the reference (in the csl). That should be clickable with \usepackage{hyperref}. But more ugly. Maybe also works in html.

Opinions?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants