3

Encountered some puzzling behavior with the biblatex-chicago package. When using the authordate option, which is one of two common use-cases of this package, the citetitle command produces no output.

I tried reading through the package documentation and found no mention of this behavior.

How can I tweak my document so that citetitle produces meaningful output? And is this the intended behavior?

MWE:

\documentclass[preview]{standalone}
\usepackage[authordate]{biblatex-chicago}
\usepackage{filecontents}
\begin{filecontents}{my.bib}
  @article{my_article,
    title={Title},
    author={Smithers, Mister},
    year = {1992},
  }    
\end{filecontents}
\addbibresource{my.bib}
\begin{document}
    This results in a blank: \citetitle{my_article}

\printbibliography \end{document}

Shffl
  • 237
  • If you use book instead of article, it works. If you use biblatex instead of biblatex-chicago, it works. I think it's a bug of biblatex-chicago with article. – CarLaTeX Dec 18 '23 at 23:09
  • The .bbl contains \field{labeltitlesource}{author} rather than \field{labeltitlesource}{title} when biblatex-chicago is used and this is the problem. If the line in the .bbl is corrected manually, the document compiles as expected. This should be reported to biblatex-chicago's author as a bug. – cfr Dec 18 '23 at 23:29
  • good find! I didn't think to try other document classes after trying article and standalone – Shffl Dec 18 '23 at 23:31
  • @Shffl It's not the document class. It's the entry type i.e. @article. – cfr Dec 18 '23 at 23:32
  • my mistake, read through too quickly – Shffl Dec 18 '23 at 23:34
  • i've reported it to the package author – Shffl Dec 18 '23 at 23:35
  • There's a note in chicago-dates-common.cbx which likely explains why this happens for articles but not books. I don't entirely understand it but it concludes that we can't simply print the labeltitle for these entry types. – cfr Dec 18 '23 at 23:42
  • If you add \DeclareLabeltitle[article,review,suppperiodical]{% \field{shorttitle} \field{title} \field{shortauthor} \field{author} \field{shorteditor} \field{namea} \field{editor} \field{nameb} \field{translator} \field{namec} \field{shortjournal} \field{journaltitle}}% to your preamble it 'solves' the problem, but this will presumably break the formatting of authorless articles mentioned in the comments. If you don't have authorless articles, reviews or supplementary-journal-items, you could try it, but you'd need to triple check the output. – cfr Dec 18 '23 at 23:48
  • I think that's more than sufficient for my use case. Can you write that up as an answer so I can accept it? – Shffl Dec 18 '23 at 23:50

0 Answers0