Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When importing a bibtex record (pasted in the create biblio content page) I get this:
Notice: Undefined offset: 10 in PARSEENTRIES->getLine() (line 219 of .../biblio/modules/bibtexParse/PARSEENTRIES.php).
The fields are correctly populated, however.
Comments
Comment #1
rjerome CreditAttribution: rjerome commentedI haven't seen that before. If you post the BibTex snipet, I will debug the problem.
Comment #2
turing79it CreditAttribution: turing79it commentedI tried it twice, once with something of mine I don't remember, and the other time with this example on wikipedia:
@Book{abramowitz+stegun,
author = "Milton {Abramowitz} and Irene A. {Stegun}",
title = "Handbook of Mathematical Functions with
Formulas, Graphs, and Mathematical Tables",
publisher = "Dover",
year = 1964,
address = "New York",
edition = "ninth Dover printing, tenth GPO printing"
}
Comment #3
rjerome CreditAttribution: rjerome commentedStrictly speaking, the format of the BibTex is not quite right. Either the closing brace should be on the same line as the last tag...
or there should be a comma at the end of he last line...
I can put a check in the code to detect and avoid this since the BibTex format is pretty loose (even that Wikipedia page shows them both ways).
Comment #4
rjerome CreditAttribution: rjerome commentedThe BibTex parser will now detect and ignore this anomaly.
http://drupalcode.org/project/biblio.git/commit/eb8350a