gnunetbib

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

commit 870f48be218590f3d37d898e523e44f82ce7276b
parent ae67ae730cdc810c242c3e16d92adf98966f82b8
Author: Nils Gillmann <ng0@n0.is>
Date:   Sat,  6 Oct 2018 13:56:20 +0000

BibTeX.py: Add conference type.

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

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

diff --git a/BibTeX.py b/BibTeX.py @@ -1,5 +1,6 @@ #!/usr/bin/python2 # Copyright 2003-2008, Nick Mathewson. See LICENSE for licensing info. +# Copyright 2018, Nils Gillmann. """BibTeX.py -- parse and manipulate BibTeX files and entries. @@ -389,6 +390,8 @@ class BibTeXEntry: fields = 'institution', elif self.type == 'misc': fields = 'howpublished', + elif self.type == 'conference': + fields = 'booktitle', 'year' elif self.type in ('mastersthesis', 'phdthesis'): fields = () else: