Skip to content

Update rmit-university-harvard.csl - #8163

Open
nguynking wants to merge 9 commits into
citation-style-language:masterfrom
nguynking:master
Open

Update rmit-university-harvard.csl#8163
nguynking wants to merge 9 commits into
citation-style-language:masterfrom
nguynking:master

Conversation

@nguynking

Copy link
Copy Markdown

Description

Updates rmit-university-harvard.csl to better match the current RMIT Easy Cite Harvard guidance.

This revises formatting for journal articles, webpages, newspaper and magazine articles, books and chapters, conference papers, reports, and datasets. It also updates item-type-specific author/date handling, DOI/report number output, access date/URL/database formatting, no-author substitutions, and style metadata with contributor information.

Checklist

  • Check that you've added a link to the style you used as a template in the <info> block at the beginning of the file with rel="template".
  • Check that you've added a link to the style guidelines with rel="documentation".
  • Check that you've added yourself as the <author> of the style or <contributor> for a style update.
  • Check that you've used the correct terms or labels instead of hardcoding into affixes (e.g., <text variable="page" prefix="pp. "/>).
  • Check that you've not used <text value="... if not absolutely necessary.
  • Check that you've not changed line 1 of the style.

Align journal article citations and bibliography entries with RMIT Easy Cite (https://www.lib.rmit.edu.au/easy-cite/?styleguide=styleguide-1&tab=stn-2).

Changes include:
- journal-specific author rendering for citations and references
- colon-based locator formatting for journal article citations
- volume, issue, page, and article-number formatting for references
- DOI, URL, access-date, website, and database access details
…://www.lib.rmit.edu.au/easy-cite/?styleguide=styleguide-1&tab=stn-5).

Align website and webpage document references with RMIT Easy Cite guidance, including website source labels, no-date handling, homepage fallback, web author formatting, and colon locators for web/document citations.
Implemented Easy Cite Rules (https://www.lib.rmit.edu.au/easy-cite/?styleguide=styleguide-1&tab=stn-3).
  - Newspaper/magazine references now use full article dates: (Day Month Year).
  - Article titles are in single quotation marks.
  - Publication titles are italicized only in the publication-title position.
  - No-author items begin with the newspaper/magazine title, not italicized.
  - Citations use and and colon locators, e.g. (Yeates 2021:24).
  - Webpage items render accessed Day Month Year. URL with no final period.
  - Database items render accessed Day Month Year, Database Name database.
  CSL Changes
  - Added author-short-newspaper for newspaper/magazine citation names and no-author full-date citations.
  - Reworked the existing newspaper-webpage macro to output newspaper/magazine URL or database access details.
  - Added issued-date-full.
  - Added explicit article-newspaper article-magazine citation and bibliography branches.
  - Skipped the generic trailing access/page handling for newspaper/magazine articles so print references do not include pages.
  - Metadata and documentation links were not changed.
Rules Implemented, following https://www.lib.rmit.edu.au/easy-cite/?styleguide=styleguide-1&tab=stn-1:
  - Book/chapter authors now use and, not &.
  - Book/chapter in-text citations use Author year:page, and 3+ authors use et al..
  - Book references now end with publisher plus doi:number when DOI exists, otherwise place of publication, with final full stop.
  - Edited books use editor names in author position with (ed) / (eds).
  - Book chapters and dictionary/encyclopedia entries use single quoted titles, book/container titles in italics, correctly ordered editors, and DOI/place fallback.
  - No-author dictionary/encyclopedia entries cite the container title in text and render no bibliography text.
  CSL Changes
  - Added book-specific macros: editor-book, author-book, author-short-book, book-publisher.
  - Added a book/chapter/entry citation branch before the generic fallback.
  - Added dedicated bibliography branches for book, chapter, entry-dictionary, and entry-encyclopedia.
  - Split chapter out from the previous shared chapter paper-conference branch so conference papers keep existing behavior.
Implemented EasyCite conference-paper behavior, following https://www.lib.rmit.edu.au/easy-cite/?styleguide=styleguide-1&tab=stn-4:
- In-text paper-conference citations now use and and colon locators, e.g. (Rasmussen and Ngwenya 2021:76).
- Reference entries now use full conference dates, quoted paper titles, [conference presentation] / genre in brackets, italic conference name, conference city, and the correct database or URL ending.
- Unpublished conference papers end after conference place with a full stop.
- Print conference papers are still assumed to be entered as chapter, matching EasyCite’s “use Book chapter in an edited book” instruction.
CSL changes:
- Added conference-only macros: conference-format, conference-name, conference-access.
- Routed paper-conference citations through the existing book-style short-author/date branch.
- Routed paper-conference bibliography authors through author-book and dates through issued-date-full.
- Replaced the old proceedings-style paper-conference bibliography branch.
- Excluded paper-conference from the generic trailing presentation/access rendering to avoid duplicate access output.
Implemented the RMIT Easy Cite “Reports and data sets” rules, following https://www.lib.rmit.edu.au/easy-cite/?styleguide=styleguide-1&tab=stn-9:
- Reports/data sets now use colon locators in citations, e.g. (Lo 2016:2).
- Reports render italic titles, labelled report number by default, or genre such as catalogue number.
- Reports support government/publisher details, website sources, accessed dates plus URLs, and library database output like accessed 28 November 2021, IBISWorld database.
- Data sets render italic titles followed by [data set], website source, accessed date, and URL.
- Report/data-set bibliography dates now use n.d. when no issued date is present.
- Organisational abbreviations can render as RBA (Reserve Bank of Australia) by entering the abbreviation as author and the full form in authority.
CSL changes:
- Added dataset to italic no-author title handling.
- Added report/data-set specific macros: author-report, report-source, report-access, dataset-format.
- Changed report-number to add report number or a lower-cased genre label before number.
- Routed report and dataset through report/data-set bibliography branches.
- Excluded report and dataset from the generic final access fallback to avoid duplicate/misplaced access output.
- Did not change metadata, title, documentation links, or unrelated style info.
Rules Implemented, following https://www.lib.rmit.edu.au/easy-cite/?styleguide=styleguide-1&tab=stn-6:

  - Blog posts now use full post dates in references; no-author blogs begin with the blog name, and the second blog-name
    instance is italicized.
  - Social media posts now use full post dates, single-quoted post title/first words, [Tweet] / [Instagram post] /
    [Facebook post] style brackets, page name, accessed date, and URL.
  - Social media/blog citations now suppress locator output; no-author blog citations use blog name plus full date.

  CSL Changes

  - Added author-post, author-short-post, and social-media-format macros.
  - Added post and post-weblog citation branches.
  - Added bibliography date/rendering branches for post and post-weblog.
  - Changed only post-weblog no-author fallback to use container-title.
  - Excluded post and post-weblog from the generic trailing access macro to avoid duplicate access output.
  - No metadata or documentation links were changed.
@github-actions

github-actions Bot commented May 3, 2026

Copy link
Copy Markdown

Awesome! You just created a pull request to the Citation Styles Language styles repository. One of our human volunteers will try to get in touch soon (usually within a week). In the meantime, I will run some automated checks. You should be notified of the results in a few minutes.

If you haven't done so yet, please make sure your style validates and follows all our other Style Requirements.

To update this pull request, visit the "Files changed" tab above, click on the ellipsis button in the top-right corner of your style, and then select "Edit file" to start editing:

If you have any questions, please leave a comment and we'll get back to you. While we usually respond in English, feel free to write in whatever language you're most comfortable.

@github-actions

github-actions Bot commented May 3, 2026

Copy link
Copy Markdown

😃 Your submission passed all our automated tests.

Below are some sample citations generated based on your proposed changes:

rmit-university-harvard.csl (modified style)
(CSL search by example 2012; Fenner et al. 2019)
(Galindo-Castañeda et al. 2025; Hancké et al. 2007)
(Mares 2001)

CSL search by example (2012), Citation style editor website, accessed 15 December 2012. https://editor.citationstyles.org/searchByExample/
Fenner M, Crosas M, Grethe JS, Kennedy D, Hermjakob H, Rocca-Serra P, Durand G, Berjon R, Karcher S, Martone M and Clark T (2019) ‘A data citation roadmap for scholarly data repositories’, Scientific Data, 6:Article 28, doi:10.1038/s41597-019-0031-8.
Galindo-Castañeda T, Kost E, Giuliano E, Conz RF, Six J and Hartmann M (2025) ‘Locating the microbes along the maize root system under nitrogen limitation: a root phenotypic approach’, Annals of Botany, 136(5–6):1143–1162, doi:10.1093/aob/mcaf185.
Hancké B, Rhodes M and Thatcher M (eds) (2007) Beyond varieties of capitalism: conflict, contradictions, and complementarities in the European economy, Oxford University Press, doi:10.1093/acprof:oso/9780199206483.001.0001., accessed 19 October 2025. https://academic.oup.com/book/5397
Mares I (2001) ‘Firms and the welfare state: when, why, and how does social policy matter to employers?’, in Hall PA and Soskice D (eds) Varieties of capitalism: the institutional foundations of comparative advantage, Oxford University Press, doi:10.1093/0199247757.003.0005., accessed 7 January 2026. https://academic.oup.com/book/301/chapter/134896619
 (<i>CSL search by example</i> 2012; Fenner et al. 2019)<br/>
-(Galindo-Castañeda et al. 2025; Hancké, Rhodes &amp; Thatcher 2007)<br/>
+(Galindo-Castañeda et al. 2025; Hancké et al. 2007)<br/>
 (Mares 2001)<br/>
 <hr/>
-<i>CSL search by example</i> (2012), Citation style editor, accessed 15 December 2012. https://editor.citationstyles.org/searchByExample/<br/>
-Fenner M, Crosas M, Grethe JS, Kennedy D, Hermjakob H, Rocca-Serra P, Durand G, Berjon R, Karcher S, Martone M &amp; Clark T (2019) A data citation roadmap for scholarly data repositories, <i>Scientific Data</i>, vol. 6, accessed 31 March 2025. https://www.nature.com/articles/s41597-019-0031-8<br/>
-Galindo-Castañeda T, Kost E, Giuliano E, Conz RF, Six J &amp; Hartmann M (2025) Locating the microbes along the maize root system under nitrogen limitation: a root phenotypic approach HM Schneider &amp; D Vetterlein (eds), <i>Annals of Botany</i>, vol. 136, no. 5–6, pp. 1143–1162, accessed 17 January 2026. https://academic.oup.com/aob/article/136/5-6/1143/8231684<br/>
-Hancké B, Rhodes M &amp; Thatcher M (eds) (2007) <i>Beyond varieties of capitalism: conflict, contradictions, and complementarities in the European economy</i>, Oxford University Press, Oxford, accessed 19 October 2025. https://academic.oup.com/book/5397<br/>
-Mares I (2001) Firms and the welfare state: when, why, and how does social policy matter to employers?, in PA Hall &amp; D Soskice (eds), <i>Varieties of capitalism: the institutional foundations of comparative advantage</i>, Oxford University Press, Oxford, pp. 184–212, accessed 7 January 2026. https://academic.oup.com/book/301/chapter/134896619<br/>
+<i>CSL search by example</i> (2012), Citation style editor website, accessed 15 December 2012. https://editor.citationstyles.org/searchByExample/<br/>
+Fenner M, Crosas M, Grethe JS, Kennedy D, Hermjakob H, Rocca-Serra P, Durand G, Berjon R, Karcher S, Martone M and Clark T (2019) ‘A data citation roadmap for scholarly data repositories’, <i>Scientific Data</i>, 6:Article 28, doi:10.1038/s41597-019-0031-8.<br/>
+Galindo-Castañeda T, Kost E, Giuliano E, Conz RF, Six J and Hartmann M (2025) ‘Locating the microbes along the maize root system under nitrogen limitation: a root phenotypic approach’, <i>Annals of Botany</i>, 136(5–6):1143–1162, doi:10.1093/aob/mcaf185.<br/>
+Hancké B, Rhodes M and Thatcher M (eds) (2007) <i>Beyond varieties of capitalism: conflict, contradictions, and complementarities in the European economy</i>, Oxford University Press, doi:10.1093/acprof:oso/9780199206483.001.0001., accessed 19 October 2025. https://academic.oup.com/book/5397<br/>
+Mares I (2001) ‘Firms and the welfare state: when, why, and how does social policy matter to employers?’, in Hall PA and Soskice D (eds) <i>Varieties of capitalism: the institutional foundations of comparative advantage</i>, Oxford University Press, doi:10.1093/0199247757.003.0005., accessed 7 January 2026. https://academic.oup.com/book/301/chapter/134896619<br/>

@nguynking

Copy link
Copy Markdown
Author

Hi @POBrien333, could you please take a look at this PR? Is there anything I should update or address before it can be merged? Thank you!

@POBrien333 POBrien333 changed the title Update RMIT University Harvard style to match RMIT Easy Cite guidance. Update rmit-university-harvard.csl Jun 23, 2026
<text macro="year-date"/>
</group>
<group delimiter=" ">
<label variable="locator" form="short"/>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

everywhere else you call just the locator and here now also the label.
In general, it probably is better to use something like this:
<macro name="cite-locator"> <group delimiter=" "> <choose> <if match="none" locator="page"> <label variable="locator" form="short"/> </if> </choose> <text variable="locator"/> </group> </macro>

Also, take this out of the conditional and only call it once.

<label form="short" strip-periods="true" prefix=" (" suffix=")"/>
</names>
</macro>
<macro name="author-book">

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why did you create all these author-x macros?

@POBrien333 POBrien333 added the waiting-for-response-from-contributor The ticket/pull request is awaiting input from the contributor/depositor label Jun 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

waiting-for-response-from-contributor The ticket/pull request is awaiting input from the contributor/depositor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants