single source to multiple source
I have added a single source citation and want to add more references. I then click on "edit citation" and "multiple sources". What now happens is that the original ref disapperas and I have to add it again.
In RefMan if you but several citations after eachother they automatically get mergen to a multiple source citation. Would this be possible in Zotero too?
In RefMan if you but several citations after eachother they automatically get mergen to a multiple source citation. Would this be possible in Zotero too?
No progress yet though..
@neurosceptic: I'm not sure if that's the same issue. I think the problem is not to rearrange existing multiple citations but to create a multiple citation from a singular one, like when you rearrange your text and single citations come to stand next to each other (and should be merged) or when you just want to add a citation to a single one.
Endnote also merges adjacent citations automatically. Right now I had to note the page detail for each citation and create a new, multiple citation.
I agree. This is a major issue.
If you're familiar with patching code, you can unpack your zotero.jar and make the change yourself. But remember that the changes will be lost with an upgrade, and you'll need to reapply the patch. Also, the usual disclaimers apply; if I've messed up and something goes wrong, you're on your own. :(
diff -r -u zotero-1.0-branch.orig/chrome/content/zotero/addCitationDialog.js zotero-1.0-branch/chrome/content/zotero/addCitationDialog.js
--- zotero-1.0-branch.orig/chrome/content/zotero/addCitationDialog.js 2009-01-07 18:24:35.000000000 +0900
+++ zotero-1.0-branch/chrome/content/zotero/addCitationDialog.js 2009-01-07 19:38:29.000000000 +0900
@@ -149,14 +149,34 @@
function toggleMultipleSources() {
_multipleSourcesOn = !_multipleSourcesOn;
if(_multipleSourcesOn) {
+ var items = itemsView.getSelectedItems(true);
+ var itemID = (items.length ? items[0] : false);
+ // var itemDataID = itemID+"::"+0;
document.getElementById("multiple-sources").hidden = undefined;
document.getElementById("zotero-add-citation-dialog").width = "750";
document.getElementById("multiple-sources-button").label = Zotero.getString("citation.singleSource");
+ // move user field content to multiple before adding XXXXX
+ if (itemID) {
+ // _itemData[itemDataID] = new Object();
+ _itemData[itemID] = new Object();
+ for (box in _preserveData) {
+ element = document.getElementById(box);
+ // _itemData[itemDataID][box] = element[_preserveData[box]];
+ _itemData[itemID][box] = element[_preserveData[box]];
+ }
+ }
window.sizeToContent();
window.moveTo((window.screenX-75), window.screenY);
treeItemSelected();
// disable adding info until citation added
_itemSelected(false);
+ // add current selection
+ if (itemID) {
+ this.add();
+ } else {
+ _updateAccept();
+ _updatePreview();
+ }
} else {
document.getElementById("multiple-sources").hidden = true;
document.getElementById("zotero-add-citation-dialog").width = "600";
@@ -174,9 +194,9 @@
// delete all items
_clearCitationList();
+ _updateAccept();
+ _updatePreview();
}
- _updateAccept();
- _updatePreview();
}
/*