]> git.lyx.org Git - features.git/commit
Fix bug 1826 + A more precise parser for bibtex files based on the description found...
authorBernhard Roider <bernhard.roider@sonnenkinder.org>
Wed, 4 Apr 2007 20:06:34 +0000 (20:06 +0000)
committerBernhard Roider <bernhard.roider@sonnenkinder.org>
Wed, 4 Apr 2007 20:06:34 +0000 (20:06 +0000)
commit4c9121df3b8b6f84ef5444412de58688843e6ce9
tree20fcc1dbcad3415eebc428cf784d712cddd75b1f
parent66aea64a212563d6aa0aca4be6f80c13c9d0bca2
Fix bug 1826 + A more precise parser for bibtex files based on the description found on this web page: http://artis.imag.fr/~Xavier.Decoret/resources/xdkbibtex/bibtex_summary.html

Most important improvements:
- read file character by character and treat newline like space characters.
  Thus the @ does not need to be at the beginning of a line.
- it reads @string entries and replaces the strings in the field values
- it also handles @comment entries
- it recovers from syntax errors at the next entry starting with @
- it ignores everything between entries

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17723 a592a061-630c-0410-9148-cb99ea01b6c8
src/insets/insetbibtex.C
src/support/textutils.C
src/support/textutils.h