692
|
|
|
W. Trevor King |
13 years ago
|
|
|
691
|
|
|
W. Trevor King |
13 years ago
|
|
|
690
|
|
|
W. Trevor King |
13 years ago
|
|
|
689
|
|
|
W. Trevor King |
13 years ago
|
|
|
688
|
|
|
W. Trevor King |
13 years ago
|
|
|
687
|
|
|
W. Trevor King |
13 years ago
|
|
|
686
|
|
|
W. Trevor King |
13 years ago
|
|
|
685
|
|
|
W. Trevor King |
13 years ago
|
|
|
684
|
|
|
W. Trevor King |
13 years ago
|
|
|
683
|
|
|
W. Trevor King |
13 years ago
|
|
|
682
|
|
|
W. Trevor King |
13 years ago
|
|
|
681
|
|
|
W. Trevor King |
13 years ago
|
|
|
680
|
|
|
W. Trevor King |
13 years ago
|
|
|
679
|
|
|
W. Trevor King |
13 years ago
|
|
|
678
|
|
Add doctest demonstrating bibtex parsing error with #' and '#.
Because the bibtex parser strips whitespace at the beginning of strings, AUthor #' and '# OTher is converted to AUthor #'and'# OTher which, after macro expansion, produces the invalid name Uthor, AandTher, O
Nosetest output looks like:
File "/tmp/pybtex/pybtex/database/input/bibtex.py", line 20, in pybtex.database.input.bibtex Failed example: bib_data = parser.parse_stream(StringIO.StringIO(''' @String{SCI = "Science"} ... ''')) Exception raised: Traceback (most recent call last): ... PybtexError: Invalid name format: Rief, MatthiasandGautel, MathiasandOesterhelt, FilippandFernandez, Julio M.andGaub, Hermann E.
|
W. Trevor King |
13 years ago
|
|
|
677
|
|
|
Andrey Golovizin |
13 years ago
|
|
|
676
|
|
|
Andrey Golovizin |
13 years ago
|
|
|
675
|
|
|
Andrey Golovizin |
13 years ago
|
|
|
674
|
|
|
Andrey Golovizin |
13 years ago
|
|
|
673
|
|
|
Andrey Golovizin |
13 years ago
|
|
|