Menu

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

closed-fixed
nobody
general (15)
trunk
2014-07-06
2012-05-13
Max
No

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.

Discussion

  • Densetsu no Ero-Sennin

    Could you please provide some example .bib file for this issue?

     
  • Densetsu no Ero-Sennin

    Fixed in 0.18.

     
  • Densetsu no Ero-Sennin

    • status: open --> closed-fixed
    • Version: --> trunk