From: Stefan Huber Date: Tue, 1 Aug 2023 07:05:31 +0000 (+0200) Subject: bib2html.py: Add [url] to entries X-Git-Url: https://git.sthu.org/?a=commitdiff_plain;h=b19c6ec5b193d142554df1aa43e1827720c84a14;p=shutils.git bib2html.py: Add [url] to entries --- diff --git a/bib2html.py b/bib2html.py index f501b85..dee284e 100755 --- a/bib2html.py +++ b/bib2html.py @@ -109,10 +109,11 @@ def format_links(entry): doi = format_field(entry, 'doi', pre='[DOI]') webpdf = format_field(entry, 'webpdf', pre='[PDF]') weblink = format_field(entry, 'weblink', pre='[link]') + url = format_field(entry, 'url', pre='[url]') webslides = format_field(entry, 'webslides', pre='[slides]') weberrata = format_field(entry, 'weberrata', pre='[errata]') - return " ".join([doi, webpdf, weblink, webslides, weberrata]) + return " ".join([doi, webpdf, weblink, url, webslides, weberrata]) def format_entry(entry): lines = []