Zotero extension for creating Zotero to CSL item type and field mappings
HTML JavaScript Python Other
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 47 commits ahead, 18 commits behind aurimasv:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
attic
content
public
README
chrome.manifest
install.rdf
mergePages.py
mlzPage.html
mlzTypeMap.xml
publish.sh
typeMap.css
typeMap.xsl
zoteroPage.html
zoteroTypeMap.xml

README

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