BibTeX, biblatex and biberBibliography Database corrupted by KBibTeX

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
rawlins02
Posts: 22
Joined: Tue Oct 07, 2008 6:56 pm

Bibliography Database corrupted by KBibTeX

Post by rawlins02 »

The latest version of KBibTeX is giving me trouble.

Code: Select all

[12] [13] (./paper_2012.bbl
! Undefined control sequence.
<argument> \Chapin 
                   et~al., 2005
l.3 \bibitem[\Chapin et~al., 2005]{Chapin:05}
                                             
? ^C! Interruption.
<argument> \Chapin 
                   et~al., 2005
l.3 \bibitem[\Chapin et~al., 2005]{Chapin:05}
Seems that the newest version is adding slashes (\) into the elements of the reference in .bbl file, and my version of latex is not able to handle these. Those slashes were not part of the bbl reference created in the older version of KBibTeX. Prior to my using this newest version (0.4-1 on Ubuntu 12.04) I was using version 0.2.3-1 along with pdfTeX, Version 3.1415926 on Ubuntu Lucid. Seems these slashes are incompatible with this version of latex. Any ideas?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

josephwright
Site Moderator
Posts: 814
Joined: Tue Jul 01, 2008 2:19 pm

Re: Bibliography Database corrupted by KBibTeX

Post by josephwright »

We will need to see the content of your .bib file which generates this information. It looks like you have an odd entry for the author for this record.
Joseph Wright
rawlins02
Posts: 22
Joined: Tue Oct 07, 2008 6:56 pm

Bibliography Database corrupted by KBibTeX

Post by rawlins02 »

Here is that first one that appears in the .bbl file:

Code: Select all

@Article{Chapin:00,
  author = "\F. S. {\{Chapin {III}}} and \A. D. \McGuire and \J. \Randerson and \R. Pielke \{Sr} and \D. \Baldocchi and \S. E. \Hobbie and \N. \Roulet and \W. \Eugster and \E. \Kasischke and \E. B. \Rastetter and \S. A. \Zimov and \W. C. {\O}echel and \S. W. \Running",
  journal = GCB,
  pages = "5211--5223",
  title = "{Feedbacks from arctic and boreal ecosystems to climate}",
  volume = 6,
  year = 2000
}
I believe the newest version of KBibTeX rewrote all of my .bib entries; in the past, no backslashes were present in the .bib entries. I'm wondering if this format (above), with the backslashes preceeding each last name, is incompatible with the version of latex I've been using for the pastr few years.
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Bibliography Database corrupted by KBibTeX

Post by localghost »

I can't comprehend this problem. I used KBibTeX 0.4 to create the below bibliography database with the settings as shown in the attachment.

Code: Select all

@comment{x-kbibtex-personnameformatting=<%l><, %f><, %s>}

@book{knuth84,
  author = {Knuth, Donald Ervin},
  publisher = {Addison-Wesley},
  title = {{The \TeX book}},
  year = {1984}
}

@book{lamport94,
  author = {Lamport, Leslie},
  edition = {Second},
  note = {User's Guide and Reference Manual},
  publisher = {Addison-Wesley},
  title = {{\LaTeX\ -- A Document Preparation System}},
  year = {1994}
}

@book{mitgoo04,
  author = {Mittelbach, Frank and Goossens, Michel},
  edition = {Second},
  publisher = {Addison-Wesley},
  title = {{The \LaTeX\ Companion}},
  year = {2004}
}

@book{goomit07,
  author = {Goossens, Michel and Mittelbach, Frank and Rahtz, Sebastian and Roegel, Denis and Voss, Herbert},
  edition = {Second},
  publisher = {Addison-Wesley},
  title = {{The \LaTeX\ Graphics Companion}},
  year = {2007}
}
The settings dialogue appears when you want to save the database. By the way, there seems to be a missing checkbox for »Protect Casing«. Perhaps a bug.
Attachments
The settings in KBibTeX 0.4 when saving a bibliography database.
The settings in KBibTeX 0.4 when saving a bibliography database.
KBiBTeX-Save-Settings.png (27.8 KiB) Viewed 7463 times
rawlins02
Posts: 22
Joined: Tue Oct 07, 2008 6:56 pm

Re: Bibliography Database corrupted by KBibTeX

Post by rawlins02 »

I never saw that settings dialog appear when saving changes to the .bib database file. I installed this newest version of KBibTex about two weeks ago after installing Ubuntu 12.04. On first use I opened the .bib database (had been using the older KBibTex and everything had been fine), added a couple new entries, saved the file, and noticed the backslashes in the names.

I'll see if I can find the settings dialog and/or make a change which will save the database with a format without those pesky backslashes.

Mike
rawlins02
Posts: 22
Joined: Tue Oct 07, 2008 6:56 pm

Re: Bibliography Database corrupted by KBibTeX

Post by rawlins02 »

I've located the Settings menu (at top of toolbar in Unity/Ubuntu 12.04). Selected "Configure KBibTex", then "BibTex" under "Saving and Exporting". I've set Person Names Formatting to Doe, John. Saved the file. I'm still seeing the backslashes before names. Should I expect no backslashes? If so, how do I configure?
rawlins02
Posts: 22
Joined: Tue Oct 07, 2008 6:56 pm

Re: Bibliography Database corrupted by KBibTeX

Post by rawlins02 »

Problem appears to be solved. :D

As a test I created a new entry and saved it to a new .bib file. When I chose "save as" the dialog came up for formatting. I'd previously set name format to Doe, John and that was preserved. After saving I see there are no backslashes in the saved .bib file. I assume that when I open my existing .bib database, modified it and then saved it, the default setting added backslashes before nearly all of the last names, first names, and initials. Guess that was the defualt. If so one might ask why were they causing a problem with latex. If I learn more I'll post again.
Post Reply