Natbib 引用不起作用

Natbib 引用不起作用

研究完这个问题后,我找不到任何解决方案,所以我不得不自己去问。

问题是使用 natbib 时引用根本不起作用。我做了以下事情:

参考书目.bib带有示例 bib 代码的文件:

@article{Reference1,
Abstract = {We have developed an enhanced Littrow configuration extended cavity diode laser (ECDL) that can be tuned without changing the direction of the output beam. The output of a conventional Littrow ECDL is reflected from a plane mirror fixed parallel to the tuning diffraction grating. Using a free-space Michelson wavemeter to measure the laser wavelength, we can tune the laser over a range greater than 10 nm without any alteration of alignment.},
Author = {C. J. Hawthorn and K. P. Weber and R. E. Scholten},
Journal = {Review of Scientific Instruments},
Month = {December},
Number = {12},
Numpages = {3},
Pages = {4477--4479},
Title = {Littrow Configuration Tunable External Cavity Diode Laser with Fixed Direction Output Beam},
Volume = {72},
Url = {http://link.aip.org/link/?RSI/72/4477/1},
Year = {2001}}

然后我创建了一个测试 tex 文件:

\documentclass[]{article}
\usepackage[square, numbers, comma, sort&compress]{natbib} 

\begin{document}

\title{Title}
\author{Author}
\date{Today}
\maketitle

Content

test.  \citet{Reference1}  \cite{Reference1} \citet*{1.01} \citet{Reference2}       \citet{Reference3} 

\label{Bibliography}


\bibliographystyle{unsrtnat} % Use the "unsrtnat" BibTeX style for formatting the    Bibliography
%\bibliographystyle{plain}

\bibliography{Bibliography} % The references (bibliography) information are stored in the         file named "Bibliography.bib"

\end{document}

但输出仍然如下:

参考书目部分正确(无枚举),但引用无效

如上图所示,您可能会注意到,甚至参考书目中的枚举也无法正常工作。

请问可能是什么问题?

测试项目内容:书目.bib,测试.tex。此外,我正在使用 Latexian

日志:

This is pdfTeX, Version 3.14159265-2.6-1.40.15 (TeX Live 2014) (preloaded format=pdflatex)
 \write18 enabled.
entering extended mode
(/Users/Wiltabone/Desktop/Test/TSWLatexianTemp_000017.tex
LaTeX2e <2014/05/01>
Babel <3.9k> and hyphenation patterns for 78 languages loaded.
(/usr/local/texlive/2014/texmf-dist/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(/usr/local/texlive/2014/texmf-dist/tex/latex/base/size10.clo)) (/usr/local/texlive/2014/texmf-dist/tex/latex/natbib/natbib.sty) (./TSWLatexianTemp_000017.aux)

Package natbib Warning: Citation `Reference1' on page 1 undefined on input line 13.


Package natbib Warning: Citation `Reference1' on page 1 undefined on input line 13.


Package natbib Warning: Citation `1.01' on page 1 undefined on input line 13.


Package natbib Warning: Citation `Reference2' on page 1 undefined on input line 13.


Package natbib Warning: Citation `Reference3' on page 1 undefined on input line 13.

(./TSWLatexianTemp_000017.bbl
Underfull \hbox (badness 1102) in paragraph at lines 23--28
[]\OT1/cmr/m/n/10 Carl E. Wie-man and Leo Holl-berg.  Us-ing diode lasers for atomic
)

Package natbib Warning: There were undefined citations.

[1{/usr/local/texlive/2014/texmf-var/fonts/map/pdftex/updmap/pdftex.map}] (./TSWLatexianTemp_000017.aux

Package natbib Warning: Citation(s) may have changed.
(natbib)                Rerun to get citations correct.

谢谢

相关内容