Incorrect quoting of titles

Bug #1792499 reported by Raymond Wan
16
This bug affects 3 people
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~20170819git31a77b27e8e83836e-3build2
  Candidate: 0.8~20170819git31a77b27e8e83836e-3build2
  Version table:
 *** 0.8~20170819git31a77b27e8e83836e-3build2 500
        500 http://us.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
        100 /var/lib/dpkg/status

Tags: kbibtex
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in kbibtex (Ubuntu):
status: New → Confirmed
Revision history for this message
Lars Behrens (lars-behrens-u) wrote :

Confirming for 18.04.2

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.