Zotero saves software as books

Hi all,
I am just coding a CSL style to use it with my Zotero 6.0.4 and LibreOffice 6.4.7.2 on Linux.
I need to define three title styles: titles of standalone sources need to be italics, titles of any kind of articles have no format, and software needs to be in small caps.
All works well, except for the small caps, although I inserted font-variant="small-caps" at the according line.
It is, of course, possible that there is some error in the code, since I'm not an experienced coder whatsoever, but I think I found the source of my troubles: Although software is listed as such in Zotero, the program outputs it as books, for example when I export it as a json file. Here is an excerpt with one of the software entries:
{
"id": "http://zotero.org/users/local/[redacted]",
"type": "book",
"title": "Beach Head",
"issued": {
"date-parts": [
[
"1983"
]
]
}
},

As you can see, it is listed as a book, although I have certainly saved it as software. What's that about?

To recreate the whole problem, use three steps:
Create a software entry and a book entry for comparison in Zotero (only title, publisher, and year are needed).
Safe this little test CSL as a new style: https://pastebin.com/8xS276xs
Check the style in the Zotero Style editor or in LibreOffice.

For the book, only the title should be in italic. For the software, the title should be in small caps and the publisher in italic. What happens is, however, that books and software look the same.
Is there anything that I'm missing?
  • This should be fixed in the latest Zotero beta for Windows and Linux. (Mac build should be available later today.)

    (The 'software' CSL type is new in CSL 1.0.2, and the release version of Zotero doesn't yet have that mapped.)
  • (Note that you're using an outdated version of Zotero, though, so you wouldn't have this even if it had been added in the last few months. Always be sure to update to the latest version before posting here.)
  • Thank you for the info! I will make sure to update.
Sign In or Register to comment.