From 855d0b7fba4755dea1b0becc7543457ef4567630 Mon Sep 17 00:00:00 2001 From: Frank Bennett Date: Fri, 19 Apr 2013 10:55:11 +0900 Subject: [PATCH] Use rebuildProcessorState() in RTF Scan. Fixes AGM SIG-CHI Proceedings (numeric style, bib sorted by author), and possibly others. --- chrome/content/zotero/rtfScan.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/chrome/content/zotero/rtfScan.js b/chrome/content/zotero/rtfScan.js index e00f037c9f..fdcbf5911c 100644 --- a/chrome/content/zotero/rtfScan.js +++ b/chrome/content/zotero/rtfScan.js @@ -531,11 +531,14 @@ var Zotero_RTFScan = new function() { Zotero.debug(itemIDs); style.updateItems(itemIDs); + // prepare the list of rendered citations + var citationResults = style.rebuildProcessorState(cslCitations, "rtf"); + // format citations var contentArray = []; var lastEnd = 0; for(var i=0; i