Incorrect quoting of titles
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kbibtex (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I think there is a bug in how titles are quoted, but only if certain options are selected. To reproduce, one can start kbibtex and create a new file. Then choose "Save" and a window entitled "BibTeX File Settings" will appear. Here, choose:
* String Delimiters: "..."
* Protect Casing?: Check "Yes" for "Protect Titles"
Then create a new element (i.e., an article) and enter something in the title. Switch to the source tab and the quoting becomes:
@article{New1,
title = "{Test"}
}
I guess the final two characters of the "title" line should be reversed. If I save and reopen this file, then it will be read as two entries (I haven't tried it with this example, but it has happened with my actual BibTeX file). The second entry starts from where the "} are inverted. I am fairly sure now that the issue is introduced when the entry is saved; and not when it is subsequently read in.
I haven't tried yet, but I can avoid this problem if I change the string delimiter and/or protect casing. But I thought I should report this. Hopefully someone else sees this bug and it isn't just me...
Details about my system are:
$ lsb_release -rd
Description: Ubuntu 18.04.1 LTS
Release: 18.04
$ apt-cache policy kbibtex
kbibtex:
Installed: 0.8~20170819git
Candidate: 0.8~20170819git
Version table:
*** 0.8~20170819git
500 http://
100 /var/lib/
Status changed to 'Confirmed' because the bug affects multiple users.