diff --git a/exemplars/book_chapter_doyle.toml b/exemplars/book_chapter_doyle.toml new file mode 100644 index 0000000..d942c70 --- /dev/null +++ b/exemplars/book_chapter_doyle.toml @@ -0,0 +1,17 @@ +# Source: CMOS official citation guide (chicagomanualofstyle.org), 18th ed. +# Chapter in an edited book. CMOS 18 drops the chapter page range from the +# bibliography entry (kept in notes only). +source = "CMOS official citation guide (chicagomanualofstyle.org/tools_citationguide/citation-guide-1.html)" +type = "chapter" +tags = ["chapter", "edited-volume"] +canary = true +messy_input = "kathleen doyle, 'the queen mary psalter,' in The Book by Design: The Remarkable Story of the World's Greatest Invention, P. J. M. Marks and Stephen Parkin eds., Chicago: U of Chicago Press, 2023, pp. 114-120." +expected_bibliography = "Doyle, Kathleen. \"The Queen Mary Psalter.\" In *The Book by Design: The Remarkable Story of the World's Greatest Invention*, edited by P. J. M. Marks and Stephen Parkin. University of Chicago Press, 2023." + +[canonical] +author = "Doyle, Kathleen" +chapter_title = "The Queen Mary Psalter" +book_title = "The Book by Design: The Remarkable Story of the World's Greatest Invention" +editors = "edited by P. J. M. Marks and Stephen Parkin" +publisher = "University of Chicago Press" +year = 2023 diff --git a/exemplars/book_ebook_roy.toml b/exemplars/book_ebook_roy.toml new file mode 100644 index 0000000..e048de6 --- /dev/null +++ b/exemplars/book_ebook_roy.toml @@ -0,0 +1,15 @@ +# Source: CMOS official citation guide (chicagomanualofstyle.org), 18th ed. +# E-book with format indicator (Kindle) at the end. +source = "CMOS official citation guide (chicagomanualofstyle.org/tools_citationguide/citation-guide-1.html)" +type = "book" +tags = ["book", "ebook", "kindle"] +canary = true +messy_input = "roy, arundhati. The God of Small Things (New York: Random House, 2008), Kindle edition." +expected_bibliography = "Roy, Arundhati. *The God of Small Things*. Random House, 2008. Kindle." + +[canonical] +author = "Roy, Arundhati" +title = "The God of Small Things" +publisher = "Random House" +year = 2008 +format = "Kindle" diff --git a/exemplars/book_edition_borel.toml b/exemplars/book_edition_borel.toml new file mode 100644 index 0000000..8b5cfab --- /dev/null +++ b/exemplars/book_edition_borel.toml @@ -0,0 +1,16 @@ +# Source: CMOS official citation guide (chicagomanualofstyle.org), 18th ed. +# Book in a specific edition, accessed via a database. +source = "CMOS official citation guide (chicagomanualofstyle.org/tools_citationguide/citation-guide-1.html)" +type = "book" +tags = ["book", "edition", "database"] +canary = true +messy_input = "Borel, Brooke. The Chicago Guide to Fact-Checking, second edition. Chicago: University of Chicago Press, 2023. Accessed via EBSCOhost." +expected_bibliography = "Borel, Brooke. *The Chicago Guide to Fact-Checking*. 2nd ed. University of Chicago Press, 2023. EBSCOhost." + +[canonical] +author = "Borel, Brooke" +title = "The Chicago Guide to Fact-Checking" +edition = "2nd ed." +publisher = "University of Chicago Press" +year = 2023 +database = "EBSCOhost" diff --git a/exemplars/book_translated_liu.toml b/exemplars/book_translated_liu.toml new file mode 100644 index 0000000..1dbef30 --- /dev/null +++ b/exemplars/book_translated_liu.toml @@ -0,0 +1,17 @@ +# Source: CMOS official citation guide (chicagomanualofstyle.org), 18th ed. +# Translated book. Note: author name "Liu Xinwu" is not comma-inverted in the +# CMOS example (as is common for some non-Western names where the family name +# already leads). +source = "CMOS official citation guide (chicagomanualofstyle.org/tools_citationguide/citation-guide-1.html)" +type = "book" +tags = ["book", "translated"] +canary = true +messy_input = "Liu Xinwu. The Wedding Party. trans. Jeremy Tiang. New York: Amazon Crossing, 2021." +expected_bibliography = "Liu Xinwu. *The Wedding Party*. Translated by Jeremy Tiang. Amazon Crossing, 2021." + +[canonical] +author = "Liu Xinwu" +title = "The Wedding Party" +translator_label = "Translated by Jeremy Tiang" +publisher = "Amazon Crossing" +year = 2021 diff --git a/exemplars/book_two_authors_binder.toml b/exemplars/book_two_authors_binder.toml new file mode 100644 index 0000000..954c493 --- /dev/null +++ b/exemplars/book_two_authors_binder.toml @@ -0,0 +1,14 @@ +# Source: CMOS official citation guide (chicagomanualofstyle.org), 18th ed. +# Two-author book. Both names listed; second author NOT inverted. +source = "CMOS official citation guide (chicagomanualofstyle.org/tools_citationguide/citation-guide-1.html)" +type = "book" +tags = ["book", "two-authors"] +canary = true +messy_input = "binder amy j and jeffrey l kidder, the channels of student activism: how the left and right are winning (and losing) in campus politics today. chicago: University of Chicago Press, 2022." +expected_bibliography = "Binder, Amy J., and Jeffrey L. Kidder. *The Channels of Student Activism: How the Left and Right Are Winning (and Losing) in Campus Politics Today*. University of Chicago Press, 2022." + +[canonical] +authors = "Binder, Amy J., and Jeffrey L. Kidder" +title = "The Channels of Student Activism: How the Left and Right Are Winning (and Losing) in Campus Politics Today" +publisher = "University of Chicago Press" +year = 2022 diff --git a/exemplars/journal_many_authors_snyder.toml b/exemplars/journal_many_authors_snyder.toml new file mode 100644 index 0000000..41bad29 --- /dev/null +++ b/exemplars/journal_many_authors_snyder.toml @@ -0,0 +1,19 @@ +# Source: CMOS official citation guide (chicagomanualofstyle.org), 18th ed. +# Journal article with more than 6 authors: list the first 3, then "et al." +# CMOS 18 threshold. Page "number" here is an article ID (e0318239), not a range. +source = "CMOS official citation guide (chicagomanualofstyle.org/tools_citationguide/citation-guide-1.html)" +type = "journal" +tags = ["journal", "et-al", "doi", "article-id"] +canary = true +messy_input = "Carl D. Snyder, Manuel Bedrossian, Casey Barr, Chris A. Lindensmith, Jay L. Nadeau, Kai Wei, Eugene Serabyn. 'Extant Life Detection Using Label-Free Video Microscopy in Analog Aquatic Environments.' PLOS ONE, vol. 20, issue 3 (2025): e0318239. doi: 10.1371/journal.pone.0318239" +expected_bibliography = "Snyder, Carl D., Manuel Bedrossian, Casey Barr, et al. \"Extant Life Detection Using Label-Free Video Microscopy in Analog Aquatic Environments.\" *PLOS ONE* 20, no. 3 (2025): e0318239. https://doi.org/10.1371/journal.pone.0318239." + +[canonical] +authors = "Snyder, Carl D., Manuel Bedrossian, Casey Barr, et al." +article_title = "Extant Life Detection Using Label-Free Video Microscopy in Analog Aquatic Environments" +journal = "PLOS ONE" +volume = 20 +issue = 3 +year = 2025 +pages = "e0318239" +doi = "https://doi.org/10.1371/journal.pone.0318239" diff --git a/exemplars/magazine_mead.toml b/exemplars/magazine_mead.toml new file mode 100644 index 0000000..410cc1a --- /dev/null +++ b/exemplars/magazine_mead.toml @@ -0,0 +1,14 @@ +# Source: CMOS official citation guide (chicagomanualofstyle.org), 18th ed. +# Magazine article. No volume/issue required; full date instead. +source = "CMOS official citation guide (chicagomanualofstyle.org/tools_citationguide/citation-guide-1.html)" +type = "magazine" +tags = ["magazine"] +canary = true +messy_input = "Rebecca Mead, 'Terms of Aggrievement', The New Yorker, Dec. 18, 2023." +expected_bibliography = "Mead, Rebecca. \"Terms of Aggrievement.\" *New Yorker*, December 18, 2023." + +[canonical] +author = "Mead, Rebecca" +article_title = "Terms of Aggrievement" +magazine = "New Yorker" +date = "December 18, 2023" diff --git a/exemplars/newspaper_blum.toml b/exemplars/newspaper_blum.toml new file mode 100644 index 0000000..f907515 --- /dev/null +++ b/exemplars/newspaper_blum.toml @@ -0,0 +1,15 @@ +# Source: CMOS official citation guide (chicagomanualofstyle.org), 18th ed. +# Newspaper article with URL. CMOS 18 spells out month names in full. +source = "CMOS official citation guide (chicagomanualofstyle.org/tools_citationguide/citation-guide-1.html)" +type = "newspaper" +tags = ["newspaper", "url"] +canary = true +messy_input = "blum, dani. 'are flax seeds all that?' NYT, 12/13/2023. https://www.nytimes.com/2023/12/13/well/eat/flax-seeds-benefits.html" +expected_bibliography = "Blum, Dani. \"Are Flax Seeds All That?\" *New York Times*, December 13, 2023. https://www.nytimes.com/2023/12/13/well/eat/flax-seeds-benefits.html." + +[canonical] +author = "Blum, Dani" +article_title = "Are Flax Seeds All That?" +newspaper = "New York Times" +date = "December 13, 2023" +url = "https://www.nytimes.com/2023/12/13/well/eat/flax-seeds-benefits.html" diff --git a/exemplars/podcast_ober.toml b/exemplars/podcast_ober.toml new file mode 100644 index 0000000..0b6f475 --- /dev/null +++ b/exemplars/podcast_ober.toml @@ -0,0 +1,20 @@ +# Source: CMOS official citation guide (chicagomanualofstyle.org), 18th ed. +# Podcast episode. Podcast series title is italicized like a book; episode +# title is in quotes. Duration appears after the format label. +source = "CMOS official citation guide (chicagomanualofstyle.org/tools_citationguide/citation-guide-1.html)" +type = "podcast" +tags = ["podcast", "audio"] +canary = true +messy_input = "Lauren Ober (host). The Loudest Girl in the World (podcast). S1E2 - 'Goodbye, Routine; Hello, Meltdown!' Pushkin Industries. Released Sept 13 2022. 41:37. https://www.pushkin.fm/podcasts/loudest-girl-in-the-world" +expected_bibliography = "Ober, Lauren, host. *The Loudest Girl in the World*. Season 1, episode 2, \"Goodbye, Routine; Hello, Meltdown!\" Pushkin Industries, September 13, 2022. Podcast, 41 min., 37 sec. https://www.pushkin.fm/podcasts/loudest-girl-in-the-world." + +[canonical] +host = "Ober, Lauren, host" +podcast = "The Loudest Girl in the World" +season_episode = "Season 1, episode 2" +episode_title = "Goodbye, Routine; Hello, Meltdown!" +publisher = "Pushkin Industries" +date = "September 13, 2022" +format = "Podcast" +duration = "41 min., 37 sec." +url = "https://www.pushkin.fm/podcasts/loudest-girl-in-the-world" diff --git a/exemplars/social_media_cmos_facebook.toml b/exemplars/social_media_cmos_facebook.toml new file mode 100644 index 0000000..0ddb4ca --- /dev/null +++ b/exemplars/social_media_cmos_facebook.toml @@ -0,0 +1,16 @@ +# Source: CMOS official citation guide (chicagomanualofstyle.org), 18th ed. +# Social media post. The post text appears in quotes (like an article title); +# platform name follows, then date, then URL. +source = "CMOS official citation guide (chicagomanualofstyle.org/tools_citationguide/citation-guide-1.html)" +type = "social_media" +tags = ["social_media", "facebook", "corporate-author"] +canary = true +messy_input = "Chicago Manual of Style's facebook post from 4/17/15: 'Is the world ready for singular they? We thought so in 1993.' URL: https://www.facebook.com/ChicagoManual/posts/10152906193679151" +expected_bibliography = "Chicago Manual of Style. \"Is the world ready for singular they? We thought so in 1993.\" Facebook, April 17, 2015. https://www.facebook.com/ChicagoManual/posts/10152906193679151." + +[canonical] +author = "Chicago Manual of Style" +post_text = "Is the world ready for singular they? We thought so in 1993." +platform = "Facebook" +date = "April 17, 2015" +url = "https://www.facebook.com/ChicagoManual/posts/10152906193679151" diff --git a/exemplars/video_cowan_ted.toml b/exemplars/video_cowan_ted.toml new file mode 100644 index 0000000..8cc1379 --- /dev/null +++ b/exemplars/video_cowan_ted.toml @@ -0,0 +1,18 @@ +# Source: CMOS official citation guide (chicagomanualofstyle.org), 18th ed. +# Video (TED Talk). Video title in quotes (not italics since it's a talk, not +# a standalone work). Venue, date, format, duration, URL. +source = "CMOS official citation guide (chicagomanualofstyle.org/tools_citationguide/citation-guide-1.html)" +type = "video" +tags = ["video", "ted"] +canary = true +messy_input = "Vaitea Cowan. How Green Hydrogen Could End the Fossil Fuel Era. TED Talk. Vancouver BC. April 2022. 9 minutes 15 seconds. https://www.ted.com/talks/vaitea_cowan_how_green_hydrogen_could_end_the_fossil_fuel_era" +expected_bibliography = "Cowan, Vaitea. \"How Green Hydrogen Could End the Fossil Fuel Era.\" TED Talk, Vancouver, BC, April 2022. Video, 9 min., 15 sec. https://www.ted.com/talks/vaitea_cowan_how_green_hydrogen_could_end_the_fossil_fuel_era." + +[canonical] +author = "Cowan, Vaitea" +title = "How Green Hydrogen Could End the Fossil Fuel Era" +venue = "TED Talk, Vancouver, BC" +date = "April 2022" +format = "Video" +duration = "9 min., 15 sec." +url = "https://www.ted.com/talks/vaitea_cowan_how_green_hydrogen_could_end_the_fossil_fuel_era"