- Add 'styles' directory with symlinks to actual styles for default styles

- Change schema.js to use 'styles' directory
This commit is contained in:
Dan Stillman 2008-09-15 20:13:33 +00:00
parent 7f1f251493
commit c9a3d49a5e
15 changed files with 15 additions and 2 deletions

View file

@ -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()");

1
styles/ama.csl Symbolic link
View file

@ -0,0 +1 @@
../../../csl/ama.csl

1
styles/apa.csl Symbolic link
View file

@ -0,0 +1 @@
../../../csl/apa.csl

1
styles/apsa.csl Symbolic link
View file

@ -0,0 +1 @@
../../../csl/apsa.csl

View file

@ -0,0 +1 @@
../../../csl/chicago-author-date.csl

View file

@ -0,0 +1 @@
../../../csl/chicago-fullnote-bibliography.csl

View file

@ -0,0 +1 @@
../../../csl/chicago-note-bibliography.csl

1
styles/chicago-note.csl Symbolic link
View file

@ -0,0 +1 @@
../../../csl/chicago-note.csl

1
styles/harvard1.csl Symbolic link
View file

@ -0,0 +1 @@
../../../csl/harvard1.csl

1
styles/ieee.csl Symbolic link
View file

@ -0,0 +1 @@
../../../csl/ieee.csl

1
styles/mhra.csl Symbolic link
View file

@ -0,0 +1 @@
../../../csl/mhra.csl

View file

@ -0,0 +1 @@
../../../csl/mhra_note_without_bibliography.csl

1
styles/mla.csl Symbolic link
View file

@ -0,0 +1 @@
../../../csl/mla.csl

1
styles/nature.csl Symbolic link
View file

@ -0,0 +1 @@
../../../csl/nature.csl

1
styles/nlm.csl Symbolic link
View file

@ -0,0 +1 @@
../../../csl/nlm.csl