From b19c6ec5b193d142554df1aa43e1827720c84a14 Mon Sep 17 00:00:00 2001 From: Stefan Huber Date: Tue, 1 Aug 2023 09:05:31 +0200 Subject: [PATCH] bib2html.py: Add [url] to entries --- bib2html.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 = [] -- 2.39.5