diff --git a/print_docs.py b/print_docs.py index 56ceff6..fd3a871 100644 --- a/print_docs.py +++ b/print_docs.py @@ -126,6 +126,8 @@ def clean_tex(src: str) -> str: url = 'https://arxiv.org/abs/'+eprint else: url = eprint + elif 'doi' in data.fields: + url = 'https://doi.org/'+data.fields['doi'] # else: # raise ValueError(f"Couldn't find a url for bib item {key}") if url: