我尝试使用该\bibentry
命令在我的文本中获取完整引文。但它没有显示任何内容。
梅威瑟:
\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{bibentry}
\usepackage{natbib}
\usepackage[german,refpage]{nomencl}
\bibliographystyle{dinat}
\usepackage{filecontents}
\begin{document}
\selectlanguage{ngerman}
\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*}
\bibliography{\jobname}
Here i need a full Cite:
\\
\bibentry{rice1999optical}
\end{document}
我究竟做错了什么?
编辑:我不确定如果文档的范围不同,问题是否相同,但这是 MWE。去水晶球吧。
希望 MWE 能澄清这一点!再次感谢!
答案1
参考书目样式dinat.bst
与 不完全兼容bibentry
。如果您忽略它引发的错误 ---
! Undefined control sequence.
<argument> \dinatlabel
{Rice u.\,a. 1999} \textsc {Rice}, S.V.~; \textsc {Na...
l.51 \bibentry{rice1999optical}
您会从中获得某种输出bibentry
。我让您自行决定是否对所获得的输出感到满意……
\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}