Citation style: Edition disappears
I changed a citation style to adapt it to my needs. It all worked well. Today, I wanted to use it again and I realized that the edition somehow disappeared in notes and bibliography. Have I changed something or did the updates of Zotero / CSL changed it? Also, URLs are missing now. Here is my code, I looked now for hours on it but could not find the problem. Maybe it is a problem in "issued"? Thank you for your help.
https://github.com/aberehrlich/zotero/blob/92a1fc11b11dc628aa95cca9d3eade846ebb8d1d/schmitt_zeitgeschichte
https://github.com/aberehrlich/zotero/blob/92a1fc11b11dc628aa95cca9d3eade846ebb8d1d/schmitt_zeitgeschichte
In the "if" starting in line 755 you're not calling the "issued" macro that contains your "edition" macro.
URLs are missing for which item type? (Please always include the item type when asking such questions)
For the bibliography, edition should appear for books (line 829) but wouldn't for any other item types -- neither macro nor edition appear anywhere.
The style also isn't valid CSL, I believe. Make sure to validate and fix any issues: https://validator.citationstyles.org/
For in-text citations you have: if book & chapter, else-if interview, else.
In the bibliography you have: if book, else-if article, else.
Concerning the item type: I talk about the "document" item type. In the older Zotero versions it was the most suitable thing for websites, archive documents and much more, so I used it a lot. Is it possible that something changed here, as the code I used was referring to it as "article", as no "document" is supported?
This will be helpful for you: https://aurimasv.github.io/z2csl/typeMap.xml
It maps out the various fields you see in Zotero vs the variables in CSL.