Use publisher macro from harvard-cite-them-right
Change-Id: I3f5e2958b19c055395ec92f050ec48d7472889d5
diff --git a/README.md b/README.md
index 595b01d..e90cb53 100644
--- a/README.md
+++ b/README.md
@@ -8,6 +8,7 @@
- unreleased
- editors' given names are not initialized
+ - switched to harvard-cite-them-right publisher macro
- v0.0.1 - 2023-01-21
- given names are not initialized
diff --git a/styles/ICLC-10.csl b/styles/ICLC-10.csl
index 150b50d..7b34289 100644
--- a/styles/ICLC-10.csl
+++ b/styles/ICLC-10.csl
@@ -147,52 +147,45 @@
</choose>
</macro>
<macro name="publisher">
- <group delimiter="; ">
- <choose>
- <if type="thesis">
- <choose>
- <if variable="archive DOI URL" match="none">
- <text variable="publisher"/>
- </if>
- </choose>
- </if>
- <else-if type="post webpage" match="any">
- <!-- For websites, treat container title like publisher -->
- <group delimiter="; ">
- <text variable="container-title" text-case="title"/>
+ <choose>
+ <if type="thesis">
+ <group delimiter=". ">
+ <text variable="genre"/>
+ <text variable="publisher"/>
+ </group>
+ </if>
+ <else-if type="report">
+ <group delimiter=". ">
+ <group delimiter=" ">
+ <text variable="genre"/>
+ <text variable="number"/>
+ </group>
+ <group delimiter=": ">
+ <text variable="publisher-place"/>
<text variable="publisher"/>
</group>
- </else-if>
- <else-if type="paper-conference">
- <!-- For paper-conference, don't print publisher if in a journal-like proceedings -->
- <choose>
- <if variable="collection-editor editor editorial-director" match="any">
+ </group>
+ </else-if>
+ <else-if type="article-journal article-newspaper article-magazine" match="none">
+ <group delimiter=" ">
+ <group delimiter=", ">
+ <choose>
+ <if type="speech" variable="event" match="any">
+ <text variable="event" font-style="italic"/>
+ </if>
+ </choose>
+ <group delimiter=": ">
+ <text variable="publisher-place"/>
<text variable="publisher"/>
- </if>
- </choose>
- </else-if>
- <else-if type="article-journal article-magazine article-newspaper post-weblog" match="none">
- <text variable="publisher"/>
- </else-if>
- </choose>
- <group delimiter=", ">
- <choose>
- <if variable="archive-place">
- <!-- With `archive-place`: physical archives. Without: online archives. -->
- <!-- For physical archives, print the location before the archive name.
- For electronic archives, these are printed in macro="description". -->
- <!-- Split "archive_location" into "archive_collection" and "archive_location" as that becomes available -->
- <!-- Must test for archive_collection:
- With collection: archive_collection (archive_location), archive, archive-place
- No collection: archive (archive_location), archive-place
- -->
- <text variable="archive_location"/>
- </if>
- </choose>
- <text variable="archive"/>
- <text variable="archive-place"/>
- </group>
- </group>
+ </group>
+ </group>
+ <group prefix="(" suffix=")" delimiter=", ">
+ <text variable="collection-title"/>
+ <text variable="collection-number"/>
+ </group>
+ </group>
+ </else-if>
+ </choose>
</macro>
<macro name="year-date">
<choose>