Comments (11)
It is not only the year, it can be any last field without a coma at the end. That coma is optional in BibTeX, but somehow the version 0.6 is not considering as optional.
from python-bibtexparser.
The regression was introduced in commit 19bca81
According to BibTex summary:
two fields must be separated by a coma, but the coma after the last field of an entry is optional;
Easier to notice if year is the last field, and without curly brackets (which are not mandatory for this field).
from python-bibtexparser.
Meh... it seems I confused two different issues. Sorry about the noise. In the case of this issue, the regression seems to be introduced in commit b2d022b
from python-bibtexparser.
The problem is in the line 46.
@inproceedings{amos2013applying,
title={Applying machine learning classifiers to dynamic Android
malware detection at scale},
author={Amos, Brandon and Turner, Hamilton and White, Jules},
booktitle={IWCMC'13 Security, Trust and Privacy Symposium},
year={2013}
}
% Articles.
@article{amos2014QNSTOP,
title={{QNSTOP-QuasiNewton Algorithm for Stochastic Optimization}},
author={Brandon Amos and David Easterling and Layne Watson and
William Thacker and Brent Castle and Michael Trosset},
journal={},
year={submitted},
keywords={journal}
}
If you remove %Articles.
, then the year is printed correctly. Comments should be written as:
@comment{Articles.}
from python-bibtexparser.
Many thanks to both of you. I'll try to have a look asap.
from python-bibtexparser.
Hi, thanks @gpoo for noticing I had incorrect comments in my BibTeX file.
I've corrected these and bibtexparser 0.6 is working well now.
from python-bibtexparser.
Nevertheless, the parser can ignore them or send a warning. If BibTex compiles, then a parser could honor that.
from python-bibtexparser.
I agree with gpoo. The commit that fixed bamos' bibtex bamos/cv@b0bd6b5#diff-6a584f12d8a9d2773171142f50537bb3
from python-bibtexparser.
Still the parser could ignore it, or complain that something is wrong with the formatting, instead of skipping one entry. The entries themselves are syntactically correct, it is just garbage in between.
from python-bibtexparser.
TODO: check is solved by #64
from python-bibtexparser.
Fixed by #64
from python-bibtexparser.
Related Issues (20)
- Separator first names HOT 3
- Custom middleware HOT 3
- Errors in name-split HOT 3
- ✨ Nice way to handle enclosings for months while writing with the default stack HOT 1
- Suppress warnings HOT 3
- `DuplicateFieldKeyBlock.ignore_error_block` retains `{}` in field values HOT 4
- some suggestions from a first-time user HOT 1
- How to replace bp.bparser.BibTexParser() ? HOT 2
- Enclosing middleware fails for certain content HOT 3
- Use case sensitive entry type HOT 4
- Make behaviour entry closer to `dict`: check if field is present
- Default `allow_parallel_execution=True` HOT 3
- Discussion: closer `dict` mimicking `Entry` HOT 1
- Apply style using pre-commit HOT 1
- Normalize field keys (to lowercase) HOT 8
- docs: links to code not working
- docs: switch themes? HOT 4
- Error in latex_to_unicode
- split_multiple_persons_names() bug HOT 1
- More flexible handling of case sensitivity in all keys HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from python-bibtexparser.