As far as I could see from bibentry
's package documentation, the \bibentry
command is just outputting the whole reference as it stands in the bibliography. This is exactly what the \fullcite
command of biblatex
is doing, too.
Compare the output of the following code example that I adapted from your MWE:
\begin{filecontents}{ref.bib}
@BOOK{abramowitz+stegun,
author = "Milton {Abramowitz} and Irene A. {Stegun}",
title = "Handbook of Mathematical Functions with
Formulas, Graphs, and Mathematical Tables",
publisher = "Dover",
year = 1964,
address = "New York",
edition = "ninth Dover printing, tenth GPO printing"
}
\end{filecontents}
\documentclass{article}
\usepackage[backend=biber]{biblatex}
\addbibresource{ref.bib}
\begin{document}
Here's a citation \fullcite{abramowitz+stegun}
\nocite{*}
\printbibliography
\end{document}
The bibliography style dinat.bst
is not fully compatible with bibentry
. If you push through the error it raises ---
! Undefined control sequence.
<argument> \dinatlabel
{Rice u.\,a. 1999} \textsc {Rice}, S.V.~; \textsc {Na...
l.51 \bibentry{rice1999optical}
You get some kind of output from bibentry
. I leave it to you to decide if you are happy with the output you get....
\documentclass[draft=false
,paper=a4
,twoside=false
,fontsize=11pt
,headsepline
,BCOR10mm
,DIV11
]{scrbook}
\usepackage[ngerman,english]{babel}
\usepackage{iftex}
\ifPDFTeX
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\else
\ifXeTeX
\usepackage{xltxtra}
\else
\usepackage{luatextra}
\fi
\defaultfontfeatures{Ligatures=TeX}
\fi
\usepackage{filecontents}
\begin{filecontents*}{\jobname.bib}
@book{rice1999optical,
title={Optical Character Recognition: An Illustrated Guide to the Frontier},
author={Rice, S.V. and Nagy, G. and Nartker, T.A.},
isbn={9780792384922},
lccn={99020879},
series={The Springer International Series in Engineering and Computer Science},
url={http://books.google.de/books?id=u5ofWoiONPAC},
year={1999},
publisher={Springer US}}
\end{filecontents*}
\usepackage{natbib}
\usepackage{bibentry}
\usepackage[german,refpage]{nomencl}
\begin{document}
\selectlanguage{ngerman}
\nobibliography*
Here i need a full Cite:
\bibentry{rice1999optical}
% \bibliographystyle{plain}% <-- this would work (but to test, delete all auxiliary styles and complete the complete latex-bibtex-latex-latex cycle)
\bibliographystyle{dinat}
\bibliography{\jobname}
\end{document}
Best Answer
I think that for
bibentry
to works, the reference must be written in one way or another within the global bibliography, which is not something that is done by default within abibunit
environment since it uses its own.bbl
file. It is said in the documentation of bibentry:I've found two ways that seems to make this work:
globalcitecopy
of the packagebibunits
. This will create an entry in the global bibliography for each cite command within abibunit
;\nocite
command before and outside ofbibunit
.In either cases, you need to call
\nobibliography
before and outside the firstbibunit
. Here is a MWE that illustrates what I said above:Here is the content of the
MyLibrary.bib
file:Here is the result: