- Add 'styles' directory with symlinks to actual styles for default styles
- Change schema.js to use 'styles' directory
This commit is contained in:
parent
7f1f251493
commit
c9a3d49a5e
15 changed files with 15 additions and 2 deletions
|
@ -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
1
styles/ama.csl
Symbolic link
|
@ -0,0 +1 @@
|
|||
../../../csl/ama.csl
|
1
styles/apa.csl
Symbolic link
1
styles/apa.csl
Symbolic link
|
@ -0,0 +1 @@
|
|||
../../../csl/apa.csl
|
1
styles/apsa.csl
Symbolic link
1
styles/apsa.csl
Symbolic link
|
@ -0,0 +1 @@
|
|||
../../../csl/apsa.csl
|
1
styles/chicago-author-date.csl
Symbolic link
1
styles/chicago-author-date.csl
Symbolic link
|
@ -0,0 +1 @@
|
|||
../../../csl/chicago-author-date.csl
|
1
styles/chicago-fullnote-bibliography.csl
Symbolic link
1
styles/chicago-fullnote-bibliography.csl
Symbolic link
|
@ -0,0 +1 @@
|
|||
../../../csl/chicago-fullnote-bibliography.csl
|
1
styles/chicago-note-bibliography.csl
Symbolic link
1
styles/chicago-note-bibliography.csl
Symbolic link
|
@ -0,0 +1 @@
|
|||
../../../csl/chicago-note-bibliography.csl
|
1
styles/chicago-note.csl
Symbolic link
1
styles/chicago-note.csl
Symbolic link
|
@ -0,0 +1 @@
|
|||
../../../csl/chicago-note.csl
|
1
styles/harvard1.csl
Symbolic link
1
styles/harvard1.csl
Symbolic link
|
@ -0,0 +1 @@
|
|||
../../../csl/harvard1.csl
|
1
styles/ieee.csl
Symbolic link
1
styles/ieee.csl
Symbolic link
|
@ -0,0 +1 @@
|
|||
../../../csl/ieee.csl
|
1
styles/mhra.csl
Symbolic link
1
styles/mhra.csl
Symbolic link
|
@ -0,0 +1 @@
|
|||
../../../csl/mhra.csl
|
1
styles/mhra_note_without_bibliography.csl
Symbolic link
1
styles/mhra_note_without_bibliography.csl
Symbolic link
|
@ -0,0 +1 @@
|
|||
../../../csl/mhra_note_without_bibliography.csl
|
1
styles/mla.csl
Symbolic link
1
styles/mla.csl
Symbolic link
|
@ -0,0 +1 @@
|
|||
../../../csl/mla.csl
|
1
styles/nature.csl
Symbolic link
1
styles/nature.csl
Symbolic link
|
@ -0,0 +1 @@
|
|||
../../../csl/nature.csl
|
1
styles/nlm.csl
Symbolic link
1
styles/nlm.csl
Symbolic link
|
@ -0,0 +1 @@
|
|||
../../../csl/nlm.csl
|
Loading…
Reference in a new issue