0

I have a problem with getting bibliographies in the text using bibentry package. I followed a suggestion in the comments here, but it didn't work either. In the Options->Config->Completion the natbib.cwl is checked.

So what's happening essentially is I get black space instead of bibliography in the text. In the document preamble I have

\usepackage{bibentry}
\nobibliography{source.bib} 

So the first problem is that \nobibliography{source.bib} is marked red as unrecognized command. In the text of course I use \bibentry{relevant entry}, which is also marked as unrecognized command.

So any suggestions are very welcome.

EDIT: I used the code snippet from here:

\documentclass{article}

% This is the sample bib file
\begin{filecontents}{\jobname.bib}
@book{Saussure1995,
    Author = {Ferdinand de Saussure},
    Origyear = {1916},
    Publisher = {Payot},
    Title = {Cours de Linguistique G{\'e}n{\'e}rale},
    Year = {1995}}

\end{filecontents}


\usepackage{natbib,bibentry}
\bibliographystyle{apalike}
\begin{document}
\nobibliography{\jobname}
This is a complete citation in the middle of the text: 

\bibentry{Saussure1995}

\end{document}

And get a blank page, no errors reported. If I use biblatex instead (from the same answer), I just get the reference number, in this case Saussure1995.

Alex
  • 141

0 Answers0