Not displaying period/full-stop after URL

I would like to display a period/full-stop after a URL or DOI. I've amended the CSL to add a suffix, the style editor and preview show its addition, and Zotero doesn't complain about an invalid CSL file. However, when I use the Word plugin, no period/full-stop. Any suggestions?

<macro name="access">
<choose>
<if variable="DOI">
<text variable="DOI" prefix="DOI:https://doi.org/"; suffix="."/>
</if>
<else-if variable="URL">
<group delimiter=" ">
<text term="retrieved" text-case="capitalize-first"/>
<date variable="accessed" form="text"/>
<text term="from"/>
<text variable="URL" suffix="."/>
</group>
</else-if>
</choose>
</macro>
  • Nope, my bad. I had to change to a different style, let Word and the plugin do their magic, then change back.
  • Glad you got this working, but I’d generally recommend against this if possible (not required by your journal). A full stop address a URL or DOI makes it much more difficult for readers to copy/paste the URL from your document.

This is an old discussion that has not been active in a long time. Before commenting here, you should strongly consider starting a new discussion instead. If you think the content of this discussion is still relevant, you can link to it from your new discussion.

Sign In or Register to comment.