Page 1 of 1

BibTex import problem

Posted: Sun Apr 20, 2008 5:49 pm
by Indi
None of these records will import individually, although if I import them as a group they are lumped into one Bookends record. As far as I can tell, I have dealt with all the field names in the BibTex import filter. Any help is appreciated.


@interview{McPhee2008interview,
Author = {McPhee, John},
Organization = {WPRB Princeton},
Title = {John McPhee on WPRB Princeton 103.3 FM's Discourse, Part 1},
Url = {http://www.youtube.com/watch?v=66yuZWkxBik},
Year = {[2008?]}}

@webpage{NationalBookFoundation2008Awards,
Lastchecked = {April 14, 2008},
Month = {April},
Organization = {National Book Foundation},
Sitename = {National Book Foundation},
Title = {National Book Awards},
Url = {http://www.nationalbook.org},
Urldate = {n.d.},
Year = {2008}}

@webpage{Royte2008Crime-River,
Author = {Royte, Elizabeth},
Lastchecked = {April 14, 2008},
Month = {February},
Organization = {New York Times},
Sitename = {New York Times},
Title = {Of Crime and the River},
Url = {http://www.nytimes.com/2008/02/17/books ... nted=print},
Urldate = {February 17, 2008},
Year = {2008}}

Posted: Sun Apr 20, 2008 5:59 pm
by Jon
Bookends supports the 13 canonical BibTeX reference types, and I added "collection" just recently. It doesn't know about anything called a "webpage". If you do a search/replace in your text file and replace "webpage" with one of the BibTeX reference types (e.g. article) it should import OK.

Also, you'll need to edit the filter to handle field tags it doesn't recognize (like Sitename), which can either be imported into a Bookends field or ignored.

Jon
Sonny Software

Posted: Sun Apr 20, 2008 6:10 pm
by Indi
Jon wrote:Bookends supports the 13 canonical BibTeX reference types, and I added "collection" just recently. It doesn't know about anything called a "webpage". If you do a search/replace in your text file and replace "webpage" with one of the BibTeX reference types (e.g. article) it should import OK.

Also, you'll need to edit the filter to handle field tags it doesn't recognize (like Sitename), which can either be imported into a Bookends field or ignored.

Jon
Sonny Software
I have added all the unusual fields to various tags in the BibTex filter, and I have created a custom type called "Web page", and matched the tag "webpage" to it in the "Edit type definitions" dialog.

Shouldn't that do the trick?

Posted: Sun Apr 20, 2008 6:12 pm
by Jon
No, BibTeX is a special beast. There are 13 defined Types, and Bookends expects one of those (as I said, "collection" is an optional type that I recently added). Bookends won't recognize ad hoc BibTeX types.

Jon
Sonny Software

Posted: Sun Apr 20, 2008 6:39 pm
by Indi
I see. Is the RIS import more flexible? I have that as an option too.

Posted: Sun Apr 20, 2008 7:11 pm
by Jon
Yes, RIS is more flexible in that you can define new Types if you want.

Jon
Sonny Software