How to hide subtitles in bibliography?

I understand that Zotero automatically parses titles and subtitles (based on colons/periods/other punctuation). How can I edit a CSL author-date style to only show titles and hide subtitles in the bibliography?

I am trying to shorten my bibliography to hit a word count. It has to be more or less Chicago author-date style but I think I can cut (journal, book, article and chapter) subtitles and DOIs.
  • To illustrate by example, here is a regular Chicago bibliography entry:

    Balkan, Stacey. 2019. “Inhabiting the Chthulucene: Forging Tentacular Intimacies at the End of the World.” ISLE: Interdisciplinary Studies in Literature and Environment 26 (4): 843–63. https://doi.org/10.1093/isle/isz045.

    And here is an abbreviated version:

    Balkan, Stacey. 2019. “Inhabiting the Chthulucene.” ISLE 26 (4): 843–63.
  • you would replace the variable "title" with "title-short".
    Which style are you using? Then we can give more specific help if need be.

    General editing instructions here: https://www.zotero.org/support/dev/citation_styles/style_editing_step-by-step
  • Thanks damnation, this is very helpful. I am using Chicago author-date style.
    I have replaced "title" with "title-short" (except for text-case="title") and "container-title" with "container-title-short", and I removed the part where it pulls in DOIs.

    I think the main issue I have now is for citations without short titles (i.e., there is no colon/punctuation in the title field) it doesn't show any title, whereas it should show the full title. Is there an easy way to make sure it pulls the full title when there is no short title?
  • You'd have to build in a conditional.
    If title short
    Else title

    The style will have plenty of those, so you should be able to copy this from another part in the style.
  • Thanks so much damnation, so I've got it working pretty well now. I actually found I could avoid the conditional using <"title" form="short"> instead of using <"title-short">.

    A remaining issue is I can't seem to access the short form of the container title for books. So if I have a chapter in a book or edited collection, it pulls in the full title and subtitle of the book, even if there is a colon and I have specified <"container-title-short"> or <"container-title" form="short">. Is this a Zotero limitation or something I can address in CSL?
  • You should need to enter the short form of the container title in Extra:

    container-title-short: A book
Sign In or Register to comment.