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

rjerome’s picture

I haven't seen that before. If you post the BibTex snipet, I will debug the problem.

turing79it’s picture

I 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"
}

rjerome’s picture

Strictly speaking, the format of the BibTex is not quite right. Either the closing brace should be on the same line as the last tag...

edition = "ninth Dover printing, tenth GPO printing"}

or there should be a comma at the end of he last line...

edition = "ninth Dover printing, tenth GPO printing",
}

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).

rjerome’s picture

Status: Active » Fixed

The BibTex parser will now detect and ignore this anomaly.

http://drupalcode.org/project/biblio.git/commit/eb8350a

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.