Add period (.) after paper title and comma (,) after Journal Title

Hello everybody I have a problem about how to add a period (.) after paper title and comma (,) after Journal Title. The below code lines in CSL file insert (.) or (,) after paper title and after journal title in the same time but I need to add (.) after paper title and comma after Journal Title.

<<if type="article-journal">>
<<group delimiter=", ">>
<<text macro="title"/>>
<<text variable="container-title" font-style="italic" form="short"/>>
<<text macro="locators"/>>
<<text macro="page"/>>
<<text macro="issued"/>>
<<text macro="status"/>>
<</group>>
<<choose>>
<<if variable="URL DOI" match="none">>
<<<text value="."/>>
<</if>>
<<else>
<<text value=","/>>
<</else>>
<</choose>>
<<text macro="access"/>>
  • edited October 27, 2023
    Hi,

    it's probably easier if you:
    a: keep your requests in one thread
    b: actually share your whole code via pastebin.com

    It's just easier as we can refer to the lines, look into the macros, copy and paste etc.

    You have the title macro and container-title within a group with a comma delimiter. Put it into its own group with delimiter set to ". ".
  • Can you explain to me what you mean by a: keep your requests in one thread and b: share your whole code via pastebin.com, bcz I am not familiar with posting in Zotero form.

    and for your answer if I replace ", " in group delimiter=", " with ". " the period appears after the paper and journal title
  • https://www.zotero.org/support/forum_guidelines#be_patient

    https://pastebin.com/ is a page where you can paste code to share it -- easier than the awkward formatting above and you can share the whole style, not just excerpts.

    Keep your requests in one thread -- you started multiple discussions about issues you have with your citation style. That gets confusing to answer.
    and for your answer if I replace ", " in group delimiter=", " with ". " the period appears after the paper and journal title
    That's wasn't the suggestion: the recommendation was to turn this into separate groups ("Put it into its own group")
  • Thanks a lot for your reply. Can you please tell me what you mean by Put it into its own group")
    https://pastebin.com/vi6s4ETK
Sign In or Register to comment.