diff options
Diffstat (limited to 'biblio/citation-style-language/vancouver.csl')
-rw-r--r-- | biblio/citation-style-language/vancouver.csl | 39 |
1 files changed, 32 insertions, 7 deletions
diff --git a/biblio/citation-style-language/vancouver.csl b/biblio/citation-style-language/vancouver.csl index c3a0332c87..21c27b899c 100644 --- a/biblio/citation-style-language/vancouver.csl +++ b/biblio/citation-style-language/vancouver.csl @@ -19,7 +19,7 @@ <category citation-format="numeric"/> <category field="medicine"/> <summary>Vancouver style as outlined by International Committee of Medical Journal Editors Uniform Requirements for Manuscripts Submitted to Biomedical Journals: Sample References</summary> - <updated>2022-09-28T07:33:04-04:00</updated> + <updated>2023-06-24T15:29:06-04:00</updated> <rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights> </info> <locale xml:lang="en"> @@ -50,6 +50,7 @@ <name sort-separator=" " initialize-with="" name-as-sort-order="all" delimiter=", " delimiter-precedes-last="always"/> <label form="long" prefix=", "/> <substitute> + <text macro="webpage-title"/> <names variable="editor"/> </substitute> </names> @@ -67,6 +68,17 @@ </if> </choose> </macro> + <macro name="webpage-title"> + <!--If a webpage has a container, we're assuming the citation is "part of a website" as per ch. 25 Citing Medicine https://www.ncbi.nlm.nih.gov/books/NBK7274/?report=reader --> + <choose> + <if type="webpage" variable="container-title" match="all"> + <group delimiter=" "> + <text variable="container-title"/> + <text term="internet" prefix="[" suffix="]" text-case="capitalize-first"/> + </group> + </if> + </choose> + </macro> <macro name="publisher"> <choose> <!--discard publisher info for articles--> @@ -164,16 +176,21 @@ </choose> </macro> <macro name="title"> - <text variable="title"/> <choose> - <if type="article-journal article-magazine chapter paper-conference article-newspaper review review-book entry-dictionary entry-encyclopedia" match="none"> + <if type="webpage" variable="container-title" match="all"/> + <else> + <text variable="title"/> <choose> - <if variable="URL"> - <text term="internet" prefix=" [" suffix="]" text-case="capitalize-first"/> + <if type="article-journal article-magazine chapter paper-conference article-newspaper review review-book entry-dictionary entry-encyclopedia" match="none"> + <choose> + <if variable="URL"> + <text term="internet" prefix=" [" suffix="]" text-case="capitalize-first"/> + </if> + </choose> + <text macro="edition" prefix=". "/> </if> </choose> - <text macro="edition" prefix=". "/> - </if> + </else> </choose> <choose> <if type="thesis"> @@ -283,6 +300,13 @@ </if> </choose> </macro> + <macro name="webpage-part"> + <choose> + <if type="webpage" variable="container-title" match="all"> + <text variable="title"/> + </if> + </choose> + </macro> <macro name="collection-details"> <choose> <if type="article-journal article-magazine article-newspaper review review-book" match="none"> @@ -342,6 +366,7 @@ <text macro="journal-location"/> <text macro="pages"/> </group> + <text macro="webpage-part"/> </group> <text macro="collection-details" suffix=". "/> <text macro="report-details" suffix=". "/> |