Skip to content
/ z2csl Public
forked from aurimasv/z2csl

Zotero extension for creating Zotero to CSL item type and field mappings

Notifications You must be signed in to change notification settings

fbennett/z2csl

 
 

Repository files navigation

This Firefox extension for Multilingual Zotero is adapted from the original
done for Zotero by Aurimas Vickevicius.

The extension adds an option to the Zotero or MLZ Actions (gear) menu to
export item and field mappings from Zotero to Citation Style Language
(CSL). The mappings are in xml format and work with typeMap.xsl and
typeMap.css files (found in the extension directory) to create a
usable page.

This plugin has been modified, and should be used only to generate
the mappings page for MLZ.

The plugin expects a directory 'csl-documentation-clone' in a specific
location on the local filesystem. To change the directory, modify the
source and rebuild the plugin.

The steps to generate a page are as follows:

1. Install the plugin in a Firefox instance that has Zotero. Run z2csl
   and save the XML file to the source directory as "zoteroTypeMap.xml".

2. Install the plugin in a Firefox instance that has MLZ. Run z2csl
   and save the XML file to the source directory as "mlzTypeMap.xml".

3. Run xsltproc typeMap.xsl zoteroTypeMap.xml > zoteroPage.html

4. Run xsltproc typeMap.xsl mlzTypeMap.xml > mlzPage.html

5. Run ./mergePages.py zoteroPage.html mlzPage.html public/index.html

6. Run ./publish.sh

FB

About

Zotero extension for creating Zotero to CSL item type and field mappings

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 95.7%
  • JavaScript 2.0%
  • Python 1.2%
  • Other 1.1%