Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undefined references with kaobiblio even if there are no such references in main text #267

Open
omasanori opened this issue Feb 16, 2023 · 0 comments

Comments

@omasanori
Copy link

Description

Using kaobiblio causes a LaTeX Warning: There were undefined references. warning even if there are no such references.
This behavior hides real problems.

Minimal Working Example

Execute latexmk -pdf test with the following files.

test.tex:

\documentclass{kaobook}

\usepackage{kaobiblio}
\addbibresource{test1.bib}

\begin{document}

Test.\sidecite{test}

\printbibliography

\end{document}

test.bib:

@book{test,
author = {Foo, Bar},
title = "{Test}",
publisher = {Example Press},
year = {2023},
}

Expected behavior:

It finishes with no warnings.

Actual behavior:

The last run's log contains the following warning:

LaTeX Warning: There were undefined references.


Package biblatex Warning: Please (re)run Biber on the file:
(biblatex)                test
(biblatex)                and rerun LaTeX afterwards.

Additional Information

Modifying test.tex to:

\documentclass{kaobook}

\usepackage{biblatex} % <- updated
\addbibresource{test1.bib}

\begin{document}

Test.\cite{test} % <- updated

\printbibliography

\end{document}

and it finishes without warnings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant