]> git.sthu.org Git - shutils.git/commitdiff
bib2html.py: Use journaltitle
authorStefan Huber <shuber@sthu.org>
Tue, 3 Sep 2024 07:47:24 +0000 (09:47 +0200)
committerStefan Huber <shuber@sthu.org>
Tue, 3 Sep 2024 07:47:24 +0000 (09:47 +0200)
bib2html.py

index 7a1b7d93ce5bb5f4a43667941ec1cc4e701a8719..ae64a1ca9abffd8e4cfdf2aa5b92d9882ac3b15a 100755 (executable)
@@ -76,7 +76,9 @@ def format_authors(entry):
 
 def format_details_article(entry):
 
-    where = format_field(entry, 'journal')
+    where = format_field(entry, 'journaltitle')
+    if where == "":
+        where = format_field(entry, 'journal')
 
     line = []
     line.append(format_field(entry, 'pages', pre='pp. '))