self.skip_to([self.AT]) have to be removed

Issue #23 resolved
Former user created an issue

pybtex/database/input/bibtex.py contains the following line 167: if not self.skip_to([self.AT]): The result is "syntax error" warnings if an unused entry in the .bib file contains '@​' symbol in any fileld value (e.g. author-email).

Pybtex has to fully parse every entry (avoiding string substitution in the entries that are not referenced in .tex file) instead of raising SkipEntry exception.

Moreover '@​' is valid in @​comment entries and in the entries which types are not started with '@​'. From btxdoc.pdf, page 13:

7. For Scribe compatibility, the database files allow an @​COMMENT command; it's not really needed because BibTEX allows in the database files any comment that's not within an entry. If you want to comment out an entry, simply remove the `@​' character preceding the entry type.

Comments (3)

  1. Log in to comment