commit c9a3d49a5ed6f9848011fedb0d6deffdcc374868
parent 7f1f251493102ab0397f18cdebd80b22a346dd72
Author: Dan Stillman <dstillman@zotero.org>
Date: Mon, 15 Sep 2008 20:13:33 +0000
- Add 'styles' directory with symlinks to actual styles for default styles
- Change schema.js to use 'styles' directory
Diffstat:
15 files changed, 29 insertions(+), 2 deletions(-)
diff --git a/chrome/content/zotero/xpcom/schema.js b/chrome/content/zotero/xpcom/schema.js
@@ -290,8 +290,7 @@ Zotero.Schema = new function(){
}
else {
var sourceDir = extDir.clone();
- // TODO: rename 'csl' to 'styles'
- sourceDir.append(modes == "translators" ? modes : "csl");
+ sourceDir.append(modes);
if (!sourceDir.exists()) {
Components.utils.reportError("No " + modes + " ZIP file or directory "
+ " in Zotero.Schema.updateBundledFiles()");
diff --git a/styles/ama.csl b/styles/ama.csl
@@ -0,0 +1 @@
+../../../csl/ama.csl
+\ No newline at end of file
diff --git a/styles/apa.csl b/styles/apa.csl
@@ -0,0 +1 @@
+../../../csl/apa.csl
+\ No newline at end of file
diff --git a/styles/apsa.csl b/styles/apsa.csl
@@ -0,0 +1 @@
+../../../csl/apsa.csl
+\ No newline at end of file
diff --git a/styles/chicago-author-date.csl b/styles/chicago-author-date.csl
@@ -0,0 +1 @@
+../../../csl/chicago-author-date.csl
+\ No newline at end of file
diff --git a/styles/chicago-fullnote-bibliography.csl b/styles/chicago-fullnote-bibliography.csl
@@ -0,0 +1 @@
+../../../csl/chicago-fullnote-bibliography.csl
+\ No newline at end of file
diff --git a/styles/chicago-note-bibliography.csl b/styles/chicago-note-bibliography.csl
@@ -0,0 +1 @@
+../../../csl/chicago-note-bibliography.csl
+\ No newline at end of file
diff --git a/styles/chicago-note.csl b/styles/chicago-note.csl
@@ -0,0 +1 @@
+../../../csl/chicago-note.csl
+\ No newline at end of file
diff --git a/styles/harvard1.csl b/styles/harvard1.csl
@@ -0,0 +1 @@
+../../../csl/harvard1.csl
+\ No newline at end of file
diff --git a/styles/ieee.csl b/styles/ieee.csl
@@ -0,0 +1 @@
+../../../csl/ieee.csl
+\ No newline at end of file
diff --git a/styles/mhra.csl b/styles/mhra.csl
@@ -0,0 +1 @@
+../../../csl/mhra.csl
+\ No newline at end of file
diff --git a/styles/mhra_note_without_bibliography.csl b/styles/mhra_note_without_bibliography.csl
@@ -0,0 +1 @@
+../../../csl/mhra_note_without_bibliography.csl
+\ No newline at end of file
diff --git a/styles/mla.csl b/styles/mla.csl
@@ -0,0 +1 @@
+../../../csl/mla.csl
+\ No newline at end of file
diff --git a/styles/nature.csl b/styles/nature.csl
@@ -0,0 +1 @@
+../../../csl/nature.csl
+\ No newline at end of file
diff --git a/styles/nlm.csl b/styles/nlm.csl
@@ -0,0 +1 @@
+../../../csl/nlm.csl
+\ No newline at end of file