Entradas bibliográficas aisladas sin bibliografía

Entradas bibliográficas aisladas sin bibliografía

Estoy intentando crear entradas bibliográficas aisladas sin una bibliografía real, pero no aparecen en absoluto en el documento compilado final.

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",
}

El resultado es un documento que solo contiene "algo de texto", pero ninguna entrada bibliográfica. Quiero que aparezca la entrada.

Respuesta1

debes emitir\nobibliography antescualquier uso de \bibentry.

Elbibentrydocumentacióndice

Estos \bibentrycomandos [ ] sólo pueden emitirse después de \nobibliography, de lo contrario no se conocen los textos de referencia.

\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}

información relacionada