Editing CSL style - adding period after footnote

edited April 19, 2023
Hi,
I've tried searching in the forums without any luck. I'm using the style "Norsk Apa 7" (Norwegian APA). This style does not contain any periods at the end of the footnote (suffix?). That is, whether I have one or seven authors in one footnote, the footnote does not end with a period mark, so I have to add that manually for every footnote. I have edited csl files earlier, but I can't remember which suffix I should edit in order to end every footnote to a period mark. I do NOT want there to be a period between every of the seven authors, but at the ultimate end of the footnote I want a period.

NB: It's not an in-text reference, but a footnote.

Can anyone help?
  • edited April 19, 2023
    Line 1560. (that's the line starting with "layout" within the "citation" block")
    Change <layout delimiter="; "> to <layout delimiter="; " suffix=".">

    Make sure to change style ID etc. as explained here: https://www.zotero.org/support/dev/citation_styles/style_editing_step-by-step
  • edited April 21, 2023
    Hey!
    I've copy-pasted it to notepad and searched for "layout delimiter" without any luck. But I found a line under the line <citation et-al-min="4" et-al-use-first="1" disambiguate-add-names="true"> which has <layout suffix="." delimiter="; ">. Is that one it? In that case I don't really understand what to change, as it already has "suffix = ."
  • I guess you've modified the style so much that things have moved.
    You will have a line that starts with <citation....
    And just below that, if there is no "sort" section will be a line that starts with "layout". That's the line you need to edit.

    If that doesn't work, share your code via pastebin.com or similar.
  • Thanks! I realized that when I clicked my style and then clicked "style editor", it showed me the Society of Biblical Literature 2nd ed style (which has a "." suffix). So when I manually chose my Norsk APA (which I haven't edited at all) and searched for <citation , I found what I was looking foor.
    Thanks for pointing me to the <layout part of the style.
Sign In or Register to comment.