johndoe31415 / biblint Goto Github PK
View Code? Open in Web Editor NEWFind issues with LaTeX documents and their BibTeX bibliography files by static checking/linting
License: GNU General Public License v3.0
Find issues with LaTeX documents and their BibTeX bibliography files by static checking/linting
License: GNU General Public License v3.0
When I tried to run biblint on a file where many entries were missing titles, it threw an error instead of flagging the missing titles as an issue.
Traceback (most recent call last):
File "biblint", line 127, in <module>
for complaint in checker.check_all():
File "/Users/morganschwartz/Code/biblint/BibLintChecks.py", line 294, in check_all
indices_by_title = BibliographyTools.get_indices_by_title(self.bibliography)
File "/Users/morganschwartz/Code/biblint/Tools.py", line 86, in get_indices_by_title
title = BibEntryTools.readable_title(entry)
File "/Users/morganschwartz/Code/biblint/Tools.py", line 75, in readable_title
title = bibentry.rawtext("title")
File "/Users/morganschwartz/Code/biblint/BibEntry.py", line 158, in rawtext
return "".join(field.text for field in self.parsefield(fieldname))
File "/Users/morganschwartz/Code/biblint/BibEntry.py", line 154, in parsefield
parsedtext = self.parsetext(self[fieldname])
File "/Users/morganschwartz/Code/biblint/BibEntry.py", line 216, in __getitem__
return self._properties[key]
KeyError: 'title'
Exception: Error parsing BibTeX file ./Biblio.bib on line number 97: Begin of new entry found, but last entry not finished yet.
Previous bib entry ends with doi={10.1109/20.582541}}
Correcting with
doi={10.1109/20.582541}
}
And it's ok ;-)
After cloning the repo, I was unable to use the program by running ./biblint references.bib
. I ultimately needed to call python biblint references.bib
.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.