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

No link for report type #29

Open
charlieprior opened this issue Feb 11, 2022 · 1 comment
Open

No link for report type #29

charlieprior opened this issue Feb 11, 2022 · 1 comment

Comments

@charlieprior
Copy link

When citing a report type of the format
@report{example_report_2021, location = {Geneva}, title = {Example Report.}, url = {https://www.example.com}, shorttitle = {Example}, institution = {{CERN}}, author = {Einstein, A}, urldate = {2022-01-19}, date = {2021}, langid = {english}, }
and using hyperref, there is no link in the bibliography to the included url.

Specifically, I am using the following options:
\usepackage[backend=biber, style=phys, natbib, maxbibnames=4, articletitle=false, biblabel=brackets]{biblatex}

@charlieprior
Copy link
Author

For anyone looking for a solution to this, add the following to your document:
\DeclareFieldFormat[report]{title}{\printtext[doi/url-link]{\mkbibemph{#1}}}

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

1 participant