commit 57a7e206c0ae288ab566bf74a3ab3e9721d79e72
parent 812609bb019dbdc3483580ec6a86e386def202e7
Author: Nils Gillmann <ng0@n0.is>
Date: Sat, 6 Oct 2018 15:57:02 +0000
BibTeX attempt to fix. Realized we are still not done.
Signed-off-by: Nils Gillmann <ng0@n0.is>
Diffstat:
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/BibTeX.py b/BibTeX.py
@@ -382,23 +382,23 @@ class BibTeXEntry:
def _check(self):
errs = []
if self.type == 'inproceedings':
- fields = 'booktitle', 'year'
+ fields = 'booktitle', 'year',
elif self.type == 'incollection':
- fields = 'booktitle', 'year'
+ fields = 'booktitle', 'year',
elif self.type == 'proceedings':
- fields = 'booktitle', 'editor'
+ fields = 'booktitle', 'editor',
elif self.type == 'article':
- fields = 'journal', 'year'
+ fields = 'journal', 'year',
elif self.type == 'book':
fields = 'title', 'year'
elif self.type == 'booklet':
- fields = 'howpublished'
+ fields = 'howpublished',
elif self.type == 'techreport':
fields = 'institution',
elif self.type == 'misc':
fields = 'howpublished',
elif self.type == 'conference':
- fields = 'booktitle', 'year'
+ fields = 'booktitle', 'year',
elif self.type in ('mastersthesis', 'phdthesis'):
fields = ()
else: