# [Tex/LaTex] bibentry with template causes error: lonely \item–perhaps a missing list environment

bibentry

I am using this template http://www.latextemplates.com/template/cies-resume-cv to create a cv and a bib file to keep all publications etc.

I am trying to use nobibliography to be able to do this without adding a reference list at the end of the document, however this leads to the error

lonely \item–perhaps a missing list environment

after each bibentry. I expect there's something in structure that is interfering with nobibliography – as if I remove that line then the error goes away. I also have no error if I replace \nobibliography with \bibliography. I have tried adding the package before and after the structure to see if this made a difference (it doesn't).

I have looked at these solutions Lonely item error in bibliography .bbl file

Lonely \item – perhaps a missing list environment
and a few others but no luck

Is there a way to fix this problem? or an alternative to nobibliography that will achieve the same outcome? Being able to have a separate bib file and enter the full citation in the text, no list at the end.

Here is an MWE

\documentclass[10pt,a4paper]{article}

\include{structure} % Include structure.tex which contains packages and document layout definitions

\usepackage{bibentry}
\nobibliography*

\begin{document}

\hspace{2pt} \textbf{Journal Articles}
\begin{itemize}
\item \bibentry{bib1}
\item \bibentry{bib2}
\end{itemize}

% bibliography info
\bibliographystyle{plain} %plain is my normal one
\nobibliography{bibexample}

\end{document}


with example bib file

@article{bib1,
title   = "The {C}omprehensive {T}ex {A}rchive {N}etwork ({CTAN})",
year    = "1993",
journal = "TUGBoat",
volume  = "14",
number  = "3",
pages   = "342--351"
}

@book{bib2,
author    = {Peter Babington},
title     = {The title of the work},
publisher = {The name of the publisher},
year      = 1993,
volume    = 4,
series    = 10,
edition   = 3,
month     = 7,
note      = {An optional note},
isbn      = {3257227892}
}


\usepackage{bibentry}