Bibtex bibliography import Date issue.

A place for users to ask each other questions, make suggestions, and discuss Bookends.
Post Reply
Maru
Posts: 3
Joined: Fri Nov 02, 2018 6:30 pm

Bibtex bibliography import Date issue.

Post by Maru »

Hi all, I'm currently evaluating whether Bookends might be a good replacement for Zotero when working on non-Latex work (using the excellent scan functionality). I have a large existing BibTeX library which I would like to import to Bookends, so I can use Bookends to scan the same BibTex keys I use elsewhere to generate a bibliography in Scrivener. This works great. However, upon importing the BibTex references something goes wrong with the Date/Year field and I cannot figure out why this happens. Hopefully, someone here can help me out. Would be amazing. Thanks in advance :D!

I attached a screenshot with an example of what happens.
Screen Shot 2018-11-02 at 23.35.28.png
Screen Shot 2018-11-02 at 23.35.28.png (181.18 KiB) Viewed 3736 times
And the Bibtex I used to test the import function:

Code: Select all

@BOOK{Graham2006-cn,
  title     = "The Intelligent Investor: The Definitive Book on Value
               Investing. A Book of Practical Counsel (Revised Edition)
               (Collins Business Essentials)",
  author    = "Graham, Benjamin and Zweig, Jason and Buffett, Warren E",
  publisher = "HarperBusiness",
  edition   = "Revised, Subsequent edition",
  month     =  feb,
  year      =  2006,
  url       = "https://www.amazon.com/Intelligent-Investor-Definitive-Investing-Essentials/dp/0060555661/ref=sr_1_1?s=amazon-devices&ie=UTF8&qid=1540472676&sr=8-1&keywords=the+intelligent+investor",
  keywords  = "Private/Chart Analysis",
  language  = "en"
}

@BOOK{Schon1983-xm,
  title     = "The reflective practitioner: How professionals think in action",
  author    = "Schon, Donald A",
  publisher = "Basic Books New York",
  year      =  1983
}
Jon
Site Admin
Posts: 10066
Joined: Tue Jul 13, 2004 6:27 pm
Location: Bethesda, MD
Contact:

Re: Bibtex bibliography import Date issue.

Post by Jon »

There are no quote mark delimiters around month or day. When you add them, the date imports properly

month = "feb",
year = "2006",

Jon
Sonny Software
Maru
Posts: 3
Joined: Fri Nov 02, 2018 6:30 pm

Re: Bibtex bibliography import Date issue.

Post by Maru »

Ah, makes total sense! Stupid me. A pity that the whole Bibtex file is like that... gonna have to find a way to automatically fix that.
Anyway, thanks for the prompt response :D!
Maru
Posts: 3
Joined: Fri Nov 02, 2018 6:30 pm

Re: Bibtex bibliography import Date issue.

Post by Maru »

Ow, one little additional question. If I use the recommended cite keys and I accidentally import duplicates, does cleaning the duplicates also replace the unique ID tag? (i.e. does the automatic removal of duplicates removes the one I added later).
Jon
Site Admin
Posts: 10066
Joined: Tue Jul 13, 2004 6:27 pm
Location: Bethesda, MD
Contact:

Re: Bibtex bibliography import Date issue.

Post by Jon »

Removing duplicates means remove entire references that are duplicates (so you only have one reference in the library). Nothing special is done with the Key field of the remaining reference, it's left as is.

Jon
Sonny Software
Post Reply