I'm writing a paper that summarizes a dataset, and how to access and use it. In the same way that I might like to use \citeauthor
or \citeyear
, I'd like to have a couple of bibliography entries where I print a DOI or URL inline.
I have in mind something like:
The updated dataset can then be downloaded from the data repository at \citedoi{datarepo} to a subdirectory in the code repository at \citeurl{software}
which would compile to:
"*The updated dataset can then be downloaded from the data repository at www.doi.org/10.00.something.001 to a subdirectory in the code repository at www.github.com/etc.*"
...with both citations linking to the appropriate spots in the bibliography.
Is there a way to do this with natbib?
(NB: Since it's just a couple of citations (and I don't want to create a headache for the journal editors by adding a bunch of packages) I'll probably just input the DOI and URL manually if there's not a straightforward solution available. If there is, though, I'd like to know about it.)