I use notes in my slides, what's good for my lectures. I also like to pass the notes to the students (with handout and show only notes).
When using biblatex's \printbibliography, however, the references are not processed correctly for the notes.
Here's my MWE:
\documentclass[12pt,a4paper]{beamer}
\usepackage[utf8]{inputenc}
\setbeameroption{show only notes}
\usepackage{filecontents}
\begin{filecontents*}{mybib.bib}
@book{knuth1979tex,
author = "Donald E. Knuth",
title = "Tex and Metafont, New Directions in Typesetting",
year = "1979",
publisher = "American Mathematical Society and Digital Press",
address = "Stanford"
}
\end{filecontents*}
\usepackage{biblatex}
\addbibresource{mybib.bib}
\begin{document}
\begin{frame}
Citation: \textcite{knuth1979tex}\\
Reference:\printbibliography
\note{
Citation: \textcite{knuth1979tex}\\
Reference:\printbibliography
}
\end{frame}
\end{document}
Unlike thread 60671, I do have \cites in the notes.
Biber works successfully (returns 0) and the entry is present in the bbl file:
...
\entry{knuth1979tex}{book}{}
\name{author}{1}{}{%
{{hash=fcbea740aeb72b8e941e0d4aa9f6a9c6}{%
family={Knuth},
familyi={K\bibinitperiod},
given={Donald\bibnamedelima E.},
...
In fact, the bbl file is not used when show only notes is used, ignoring the \cite and failing to generate the references. Here's the log:
LaTeX Warning: Citation 'knuth1979tex' on page 1 undefined on input line 30.
Is there a way to get the bibliography working when generating only the notes?
biblatexdoes not work within\note. Its citation requests simply don't make it to the.auxand.bcffiles. Indeed no command is allowed to write to the.auxfiles in\note(within\if@fileswyields false) and withshow only notesfile writing is disabled globally. Whether that is necessary or useful for abeamernote I can't say. – moewe Oct 29 '18 at 20:58