gnunetbib

Bibliography (BibTeX, based on AnonBib)
Log | Files | Refs | README | LICENSE

commit ffde10c8990e3cf66aef08f4489db48a079ff2dc
parent ae6bd7bcf4b131b5217bf50b709070610a9ec4cb
Author: Nils Gillmann <ng0@n0.is>
Date:   Sat,  6 Oct 2018 15:42:41 +0000

Add booklet type to BibTeX.py

Signed-off-by: Nils Gillmann <ng0@n0.is>

Diffstat:
MBibTeX.py | 7+++++++
1 file changed, 7 insertions(+), 0 deletions(-)

diff --git a/BibTeX.py b/BibTeX.py @@ -374,6 +374,11 @@ class BibTeXEntry: print e return not errs + # FIXME: Here's some fields repeated after you enter the + # if self.type != 'proceedings' + # conditional body. + # Besides the official BibTeX resources, this is a good + # reference point: https://verbosus.com/bibtex-style-examples.html def _check(self): errs = [] if self.type == 'inproceedings': @@ -386,6 +391,8 @@ class BibTeXEntry: fields = 'journal', 'year' elif self.type == 'book': fields = 'title', 'year' + elif self.type == 'booklet': + fields = 'howpublished' elif self.type == 'techreport': fields = 'institution', elif self.type == 'misc':