Public bug reported:

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

** Affects: kbibtex (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: kbibtex

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1792499

Title:
  Incorrect quoting of titles

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/kbibtex/+bug/1792499/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to