我正在嘗試使用該\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}