addresses #463, ibid and repeat citation support in footnotes. still need to deal with page numbers on ibid; does this need to be handled in the CSL, or is it the same for all styles?.
This commit is contained in:
parent
fa78056ec6
commit
c831357c36
|
@ -419,8 +419,9 @@ Zotero.CSL.prototype.preprocessItems = function(items) {
|
|||
*/
|
||||
Zotero.CSL.prototype.createCitation = function(citation, format) {
|
||||
if(citation.citationType == 2) {
|
||||
var string = this._getTerm("ibid");
|
||||
string = string[0].toUpperCase()+string.substr(1);
|
||||
var string = new Zotero.CSL.FormattedString(this, format);
|
||||
var term = this._getTerm("ibid");
|
||||
string.append(term[0].toUpperCase()+term.substr(1));
|
||||
} else {
|
||||
var lasti = citation.itemIDs.length-1;
|
||||
for(var i in citation.itemIDs) {
|
||||
|
|
|
@ -666,7 +666,7 @@ Zotero.Integration.CitationSet.prototype.addCitation = function(citation) {
|
|||
}
|
||||
}
|
||||
|
||||
this.lastItemID = (citation.itemIDs.length == 1 ? citation.itemIDString : null);
|
||||
this.lastItemIDString = (citation.itemIDs.length == 1 ? citation.itemIDString : null);
|
||||
this.citationsByIndex[citation.index] = citation;
|
||||
|
||||
return isDuplicate;
|
||||
|
|
Loading…
Reference in New Issue
Block a user