mirror of
https://github.com/zotero/zotero.git
synced 2026-10-03 02:21:49 +00:00
Use rebuildProcessorState() in RTF Scan. Fixes AGM SIG-CHI Proceedings (numeric style, bib sorted by author), and possibly others.
This commit is contained in:
parent
127cb259c1
commit
855d0b7fba
1 changed files with 4 additions and 1 deletions
|
|
@ -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<citations.length; i++) {
|
||||
var citation = style.appendCitationCluster(cslCitations[i], true)[0][1];
|
||||
var citation = citationResults[i][2];
|
||||
Zotero.debug("Formatted "+citation);
|
||||
|
||||
// if using notes, we might have to move the note after the punctuation
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue