funcmap
The funcmap setting lets you assign your own formatting functions to specific item types
Last updated
// This presupposes the following :
// window.customBookFormat = function(item){ ... }
// window.customPaperFormat = function(item){ ... }
// For item types other than Book | Conference Paper | Journal Article,
// the built-in function getItemMetadata will be called.
zoteroRoam_settings = {
// dataRequests: {...},
funcmap: {
book: "customBookFormat",
conferencePaper: "customPaperFormat",
journalArticle: "customPaperFormat"
}
}// This presupposes the following :
// window.customChapterFormat = function(item){ ... }
// window.customDefaultFormattingFunction = function(item){ ... }
// The built-in function getItemMetadata will never be called.
zoteroRoam_settings = {
// dataRequests: {...},
funcmap: {
bookSection: "customChapterFormat",
DEFAULT: "customDefaultFormattingFunction"
}
}