X-Git-Url: http://git.sthu.org/?a=blobdiff_plain;f=bib2html.py;h=5db0d075d32d4ba6b75cbe1ddc7ba66a51cc822c;hb=aed683d1d5066a1ecfa529973bb887b08dfcb893;hp=72a57718d7ab96976e315531b5774b74d7d37dae;hpb=f6bc474d0d9d01ef8dfe8fc313f39a7c2a9c241e;p=shutils.git diff --git a/bib2html.py b/bib2html.py index 72a5771..5db0d07 100755 --- a/bib2html.py +++ b/bib2html.py @@ -65,8 +65,9 @@ def format_details_article(entry): format_field(entry, 'number', pre='(', post=')')) line.append(format_field(entry, 'month', post=' ') + \ format_field(entry, 'year')) - line = filter(lambda l: l != "", line) + line.append(format_field(entry, 'note')) + line = filter(lambda l: l != "", line) return [where, ", ".join(line)] def format_details_inproceedings(entry): @@ -77,6 +78,9 @@ def format_details_inproceedings(entry): line.append(format_field(entry, 'address')) line.append(format_field(entry, 'month', post=' ') + \ format_field(entry, 'year')) + line.append(format_field(entry, 'isbn', pre='ISBN ')) + line.append(format_field(entry, 'note')) + line = filter(lambda l: l != "", line) return [where, ", ".join(line)] @@ -85,6 +89,8 @@ def format_details_thesis(entry): line.append(format_field(entry, 'school')) line.append(format_field(entry, 'month', post=' ') + \ format_field(entry, 'year')) + line.append(format_field(entry, 'note')) + line = filter(lambda l: l != "", line) return [", ".join(line)] @@ -94,6 +100,8 @@ def format_details_book(entry): line.append(format_field(entry, 'isbn', pre='ISBN ')) line.append(format_field(entry, 'month', post=' ') + \ format_field(entry, 'year')) + line.append(format_field(entry, 'note')) + line = filter(lambda l: l != "", line) return [", ".join(line)]