0

In the notes version of biblatex-chicago, the first citation gives a full citation in footnotes while any subsequent citations will only give the last name and short title. Is there any way to add the footnote number where the full citation is used?

So in the example:

\documentclass{memoir}
\usepackage[notes]{biblatex-chicago}
\usepackage{filecontents}

\begin{filecontents}{biblio.bib}
    @book{book1,
        title = {First Book title},
        author = {Author, The},
        location = {Place},
        publisher = {Publisher},
        date = {2020},
    }
    @book{book2,
        title = {Second Book title},
        author = {Author, Another},
        location = {Place},
        publisher = {Publisher},
        date = {2020},
    }
\end{filecontents}
\bibliography{biblio}
\begin{document}
Here is\footcite{book1} some\footcite{book2} text as filler.\footcite{book1}

\end{document}

The output of note 3 should be "Author, First book title (ref. 1)" instead of just "Author, First book title"

To get this to work properly, I would also require citations to be reset at the start of each chapter.

  • I found out I could reset the citations per chapter by adding to option citereset=chapter when calling biblatex-chicago in case anyone else was wondering. \usepackage[notes,citereset=chapter]{biblatex-chicago} – cktai Feb 3 at 20:48
1

The standard style verbose-note offers an option like this, so we can try and transplant its code into biblatex-chicago.

\documentclass{memoir}
\usepackage[notes]{biblatex-chicago}

% Taken from verbose-note.cbx
\newtoggle{cbx:pageref}
\DeclareBibliographyOption[boolean]{pageref}[true]{%
  \settoggle{cbx:pageref}{#1}%
  \iftoggle{cbx:pageref}
    {\ExecuteBibliographyOptions{pagetracker}}
    {}}

\newbibmacro*{seenote}{%
  \printtext[parens]{%
    \bibstring{seenote}\addnbspace
    \ref{cbx@\csuse{cbx@f@\thefield{entrykey}}}%
    \iftoggle{cbx:pageref}
      {\ifsamepage{\the\value{instcount}}
                  {\csuse{cbx@f@\thefield{entrykey}}}
         {}
         {\addcomma\space\bibstring{page}\addnbspace
          \pageref{cbx@\csuse{cbx@f@\thefield{entrykey}}}}}
      {}}%
}

% Simplified version of chicago-notes.cbx's definition
% cf. also the definition in verbose-note.cbx
\renewbibmacro*{footcite:save}{%
  \iffootnote
    {\csxdef{cbx@f@\thefield{entrykey}}{\the\value{instcount}}%
     \label{cbx@\the\value{instcount}}}%
    {}}%

\makeatletter
% Just add a call to \usebibmacro{seenote} to the definition
\renewbibmacro*{cite:short}[1]{%
  \global\let\cms@pnsaved\undefined%
  \ifcsundef{cite:short:#1}%
    {\csuse{cite:short:book}}%
    {\csuse{cite:short:#1}}%
   \setunit{\addspace}%
   \usebibmacro{seenote}}%
\makeatother


\begin{filecontents}{\jobname.bib}
@book{book1,
  title     = {First Book title},
  author    = {Author, The},
  location  = {Place},
  publisher = {Publisher},
  date      = {2020},
}
@book{book2,
  title     = {Second Book title},
  author    = {Author, Another},
  location  = {Place},
  publisher = {Publisher},
  date      = {2020},
}
\end{filecontents}
\addbibresource{\jobname.bib}

\begin{document}
Here is\footcite{book1} some\footcite{book2} text as filler.\footcite{book1}
\end{document}

Author, First Book title (see note 1).

edit Updated for version 2020/04/20 of biblatex-chicago. See the edit history for code working with older versions.

| improve this answer | |
  • Thanks, this works fine. I just replaced the "\bibstring{seenote}" for "Ref." as that was the string I needed. Is there anywhere I can change the seenote bibstring so that it works more rigorously? – cktai Feb 3 at 20:46
  • 1
    @ChaokangTai You can change the bibstring with \DefineBibliographyStrings{english}{seenote = {ref\adddot}}. – moewe Feb 3 at 20:48
  • This used to work fine but now I suddenly get the error Bibliography macro 'cite:short:cms' undefined. What causes that? – cktai Jun 5 at 15:27
  • 1
    @cktai The recent update to biblatex-chicago has completely changed the definition of cite:short. Check out the edit, please. – moewe Jun 5 at 18:36
  • awesome that fixed it, thanks! – cktai Jun 5 at 23:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.