How to create a custom output style?

I would like to create an output style for internal institutional use that contains the Library Call No. field and the ISBN field (in addition to the customary bibliographical data). Is there such a style, and if not, where do I find (easy) guidance on how to create such a style?

Thank you,
  • If you’re not too comfortable with coding, the easiest way is with the CSL visual editor; https://editor.citationstyles.org/

    The variable for call number is call-number. For library catalog is source. For ISBN is ISBN
  • Thank you for the quick response. Are there directions somewhere to guide me through the CSL visual editor? Basically, I want to make a copy of the Chicago "full note" style, which I can then modify, adding two fields containing the new variables. But the Visual Editor is not exactly intuitive!
  • You take the code from here: https://github.com/citation-style-language/styles/blob/master/chicago-fullnote-bibliography.csl

    Copy it into the CodeEditor: https://editor.citationstyles.org/codeEditor/

    Switch over to the VisualEditor by clicking on it in the top navigation bar.

    Chicago is not the easiest style to start with, so I'd recommend you to go over to YouTube and watch some of the CSL editing videos there.
  • Thanks very much for your latest.

    We (that is, I, who knows little about coding, and my son, who is a professional software engineer), edited a copy of the Chicago style to accomplish what I want. In "Preview" mode, our new output fields show up, but when I copy the data from within Zotero (from the menu commands, or using CTRL-SHIFT C), the new data fields (call no. and ISBN) are not displayed. Very mysterious. I have tried restarting Zotero and even rebooting the computer, thinking that perhaps Zotero loads the template files only when it starts up, but to no avail. Any ideas?
    There's no for option for attaching files here, but here is a Dropbox link to the CSL file we created:
    https://www.dropbox.com/s/8ggt207x1pv97jr/chicago-manual-of-style-17th-edition-+-call-no (1).csl?dl=0
  • Disregard my last. "My bad." I had not set the style output file properly. The CSL file works properly.
    Thanks VERY much for your help.
Sign In or Register to comment.