retorquere / zotero-better-bibtex

Make Zotero effective for us LaTeX holdouts
https://retorque.re/zotero-better-bibtex/
MIT License
5.34k stars 286 forks source link

biber error on generated biblatex file #99

Closed aa755 closed 10 years ago

aa755 commented 10 years ago

Biber was complaining about the following entry (syntax error: found "=", expected ",")

@book{biblatexdata[ptolemaeus:14:systemdesigneditor=Claudius, title = {System Design, Modeling, and Simulation using Ptolemy II}, url = {http://ptolemy.org/books/Systems}, publisher = {Ptolemy.org}, date = {2014}, year = {2014}, note = {Ptolemaeus{]}}, file = {ModelingTimedSystems.pdf:/home/abhishek/.zotero/zotero/41my9n7e.default/zotero/storage/3ICED3XD/ModelingTimedSystems.pdf:application/pdf} }

I guess something is wrong in my Zotero entry. Nevertheless, it would be nice if better biblatex provided an error or warning so that the problem can be detected earlier.

retorquere commented 10 years ago

No, that looks like a generator issue, not a problem with your Zotero entry. Can you get me a Zotero TestCase export of this same entry?

aa755 commented 10 years ago
{
  "config": {
    "id": "82512813-9edb-471c-aebc-eeaaf40c6cf9",
    "label": "Zotero TestCase",
    "pattern": "[auth.auth.ea][year]",
    "skipFields": [
      ""
    ],
    "usePrefix": false,
    "braceAll": false,
    "fancyURLs": false,
    "langid": "babel",
    "exportFileData": false,
    "exportNotes": false
  },
  "items": [
    {
      "itemType": "book",
      "url": "http://ptolemy.org/books/Systems",
      "rights": "",
      "series": "",
      "volume": "",
      "edition": "",
      "place": "",
      "publisher": "Ptolemy.org",
      "ISBN": "",
      "date": "2014",
      "callNumber": "",
      "archiveLocation": "",
      "extra": "bibtex: \nbiblatexdata[ptolemaeus:14:systemdesigneditor=Claudius Ptolemaeus]",
      "accessDate": "",
      "seriesNumber": "",
      "numberOfVolumes": "",
      "libraryCatalog": "",
      "language": "",
      "abstractNote": "",
      "title": "System Design, Modeling, and Simulation using Ptolemy II",
      "shortTitle": "",
      "numPages": "",
      "archive": "",
      "attachments": [
        {
          "path": "/home/abhishek/.zotero/zotero/41my9n7e.default/zotero/storage/3ICED3XD/ModelingTimedSystems.pdf",
          "title": "ModelingTimedSystems.pdf",
          "mimeType": "application/pdf"
        }
      ],
      "related": []
    }
  ]
}
retorquere commented 10 years ago

What version of BBT are you on?

aa755 commented 10 years ago

0.6.36 (latest version as of now)

retorquere commented 10 years ago

could you try resetting your translators and restarting? This testcase format is from the 0.5 series.

aa755 commented 10 years ago

Sorry, I had exported in CSL-JSON format earlier. I hope the above comment is correct now. If not, please let me know.

retorquere commented 10 years ago

Could you update just to make sure? Current version is 0.6.37

retorquere commented 10 years ago

NM, I see the problem.

retorquere commented 10 years ago

A new release is out