Estou tentando criar entradas bibliográficas isoladas sem uma bibliografia real, mas elas não aparecem no documento final compilado.
MWE:
document.tex
\documentclass{article}
\usepackage{bibentry}
\begin{document}
Some text
\bibentry{thing}
\bibliographystyle{alpha}
\nobibliography{biblography}
\nocite{*}
\end{document}
biblography.bib
@Article{thing,
author="Someone",
title="Something",
journal="Some Journal",
year="2018",
month="Feb",
day="12",
}
A saída é um documento que contém apenas "Algum texto", mas nenhuma entrada bibliográfica. Quero que a entrada apareça.
Responder1
Você deve emitir\nobibliography
antesqualquer uso de \bibentry
.
Estes
\bibentry
comandos [ ] só podem ser emitidos após\nobibliography
, caso contrário os textos de referência não são conhecidos.
\documentclass{article}
\usepackage{bibentry}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@Article{thing,
author="Someone",
title="Something",
journal="Some Journal",
year="2018",
month="Feb",
day="12",
}
\end{filecontents}
\begin{document}
\nobibliography{\jobname}
Some text
\bibentry{thing}
\bibliographystyle{alpha}
\end{document}