From ecd7eae147dba93a13ea0c9bb289890bacf422d8 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Wed, 16 Jul 2008 05:25:53 +0000 Subject: [PATCH] Addresses #1074, "proceedings" mapped to invalid Zotero item type "conference" in BibTeX translator Merged r3046 to 1.0.7 tag --- scrapers.sql | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scrapers.sql b/scrapers.sql index a9611e7c6..2dc5e8058 100644 --- a/scrapers.sql +++ b/scrapers.sql @@ -24650,7 +24650,7 @@ function doExport() { } }'); -REPLACE INTO translators VALUES ('9cb70025-a888-4a29-a210-93ec52da40d4', '1.0.0b4.r1', '', '2008-07-01 14:30:13', '1', '200', '3', 'BibTeX', 'Simon Kornblith', 'bib', +REPLACE INTO translators VALUES ('9cb70025-a888-4a29-a210-93ec52da40d4', '1.0.0b4.r1', '', '2008-07-16 05:30:00', '1', '200', '3', 'BibTeX', 'Simon Kornblith', 'bib', 'Zotero.configure("dataMode", "block"); Zotero.addOption("UTF8", true); @@ -24747,7 +24747,7 @@ var bibtex2zoteroTypeMap = { "manual":"book", "mastersthesis":"thesis", "misc":"book", - "proceedings":"conference" + "proceedings":"book" }; /* @@ -26325,7 +26325,7 @@ function getFieldValue(read) { function beginRecord(type, closeChar) { type = Zotero.Utilities.cleanString(type.toLowerCase()); if(type != "string") { - zoteroType = bibtex2zoteroTypeMap[type]; + var zoteroType = bibtex2zoteroTypeMap[type]; if (!zoteroType) { Zotero.debug("discarded item from BibTeX; type was "+type); }