我正在使用 LaTeX 範本撰寫論文。當我嘗試匯入參考文獻時,在 texify 時出現以下錯誤thesis.tex
:
This is BibTeX, Version 0.99d (MiKTeX 2.9 64-bit)
The top-level auxiliary file: thesis.aux
A level-1 auxiliary file: 0_frontmatter/abstract.aux
A level-1 auxiliary file: 0_frontmatter/acknowledgement.aux
A level-1 auxiliary file: 1_introduction/introduction.aux
The style file: aaai.bst
I found no \bibdata command---while reading file thesis.aux
Warning--I didn't find a database entry for "Chang04"
Warning--I didn't find a database entry for "Madhavan07"
Warning--I didn't find a database entry for "Liu03"
Warning--I didn't find a database entry for "Zhai05"
Warning--I didn't find a database entry for "Zhai06"
Warning--I didn't find a database entry for "Zhao05"
Warning--I didn't find a database entry for "Zhao06"
Warning--I didn't find a database entry for "Simon05"
Warning--I didn't find a database entry for "Miao09"
Warning--I didn't find a database entry for "Liu05"
Warning--I didn't find a database entry for "Zhu06"
Warning--I didn't find a database entry for "Crescenzi01"
Warning--I didn't find a database entry for "Chang01a"
Warning--I didn't find a database entry for "Wang03"
Warning--I didn't find a database entry for "Arasu03"
Warning--I didn't find a database entry for "Liu10"
Warning--I didn't find a database entry for "Cai03"
Warning--I didn't find a database entry for "Weng11"
Warning--I didn't find a database entry for "Weng12"
Warning--I didn't find a database entry for "Lu07"
Warning--I didn't find a database entry for "Lu11"
(There was 1 error message)
Command Line: texify.exe --src "C:\Users\dweng\Dropbox\My PhD Thesis\thesis.tex"
Startup Folder: C:\Users\dweng\Dropbox\My PhD Thesis
This is pdfTeX, Version 3.1415926-2.4-1.40.13 (MiKTeX 2.9 64-bit)
entering extended mode
("C:/Users/dweng/Dropbox/My PhD Thesis/thesis.tex"
LaTeX2e <2011/06/27>
Babel <v3.8m> and hyphenation patterns for english, afrikaans, ancientgreek, ar
abic, armenian, assamese, basque, bengali, bokmal, bulgarian, catalan, coptic,
croatian, czech, danish, dutch, esperanto, estonian, farsi, finnish, french, ga
lician, german, german-x-2012-05-30, greek, gujarati, hindi, hungarian, iceland
ic, indonesian, interlingua, irish, italian, kannada, kurmanji, latin, latvian,
lithuanian, malayalam, marathi, mongolian, mongolianlmc, monogreek, ngerman, n
german-x-2012-05-30, nynorsk, oriya, panjabi, pinyin, polish, portuguese, roman
ian, russian, sanskrit, serbian, slovak, slovenian, spanish, swedish, swissgerm
an, tamil, telugu, turkish, turkmen, ukenglish, ukrainian, uppersorbian, usengl
ishmax, welsh, loaded.
("C:\Users\dweng\Dropbox\My PhD Thesis\Latex/Classes/PhDthesisPSnPDF.cls"
Document Class: Latex/Classes/PhDthesisPSnPDF 2007/09/06 v2 PhD thesis class
("C:\Program Files\MiKTeX 2.9\tex\latex\base\book.cls"
Document Class: book 2007/10/19 v1.4h Standard LaTeX document class
("C:\Program Files\MiKTeX 2.9\tex\latex\base\bk12.clo"))
("C:\Program Files\MiKTeX 2.9\tex\latex\amsfonts\amssymb.sty"
("C:\Program Files\MiKTeX 2.9\tex\latex\amsfonts\amsfonts.sty"))
("C:\Program Files\MiKTeX 2.9\tex\latex\graphics\graphics.sty"
("C:\Program Files\MiKTeX 2.9\tex\latex\graphics\trig.sty")
("C:\Program Files\MiKTeX 2.9\tex\latex\00miktex\graphics.cfg")
("C:\Program Files\MiKTeX 2.9\tex\latex\graphics\dvips.def"))
("C:\Program Files\MiKTeX 2.9\tex\latex\caption\caption.sty"
("C:\Program Files\MiKTeX 2.9\tex\latex\caption\caption3.sty"
("C:\Program Files\MiKTeX 2.9\tex\latex\graphics\keyval.sty")))
("C:\Program Files\MiKTeX 2.9\tex\latex\fancyhdr\fancyhdr.sty")
("C:\Program Files\MiKTeX 2.9\tex\latex\amsfonts\eucal.sty")
("C:\Program Files\MiKTeX 2.9\tex\generic\babel\babel.sty"
*************************************
* Local config file bblopts.cfg used
*
("C:\Program Files\MiKTeX 2.9\tex\latex\00miktex\bblopts.cfg")
("C:\Program Files\MiKTeX 2.9\tex\generic\babel\english.ldf"
("C:\Program Files\MiKTeX 2.9\tex\generic\babel\babel.def")))
("C:\Program Files\MiKTeX 2.9\tex\latex\graphics\color.sty"
("C:\Program Files\MiKTeX 2.9\tex\latex\00miktex\color.cfg")
("C:\Program Files\MiKTeX 2.9\tex\latex\graphics\dvipsnam.def"))
("C:\Program Files\MiKTeX 2.9\tex\latex\footmisc\footmisc.sty")
("C:\Program Files\MiKTeX 2.9\tex\latex\base\ifthen.sty")
("C:\Program Files\MiKTeX 2.9\tex\latex\tools\multicol.sty")
("C:\Program Files\MiKTeX 2.9\tex\latex\tocbibind\tocbibind.sty"
Package tocbibind Note: Using chapter style headings, unless overridden.
) ("C:\Program Files\MiKTeX 2.9\tex\latex\nomencl\nomencl.sty")
Writing nomenclature file thesis.nlo
("C:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\ifpdf.sty")
("C:\Program Files\MiKTeX 2.9\tex\latex\hyperref\hyperref.sty"
("C:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\hobsub-hyperref.sty"
("C:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\hobsub-generic.sty"))
("C:\Program Files\MiKTeX 2.9\tex\generic\ifxetex\ifxetex.sty")
("C:\Program Files\MiKTeX 2.9\tex\latex\oberdiek\auxhook.sty")
("C:\Program Files\MiKTeX 2.9\tex\latex\oberdiek\kvoptions.sty")
("C:\Program Files\MiKTeX 2.9\tex\latex\hyperref\pd1enc.def")
("C:\Program Files\MiKTeX 2.9\tex\latex\00miktex\hyperref.cfg")
("C:\Program Files\MiKTeX 2.9\tex\latex\hyperref\backref.sty"
("C:\Program Files\MiKTeX 2.9\tex\latex\oberdiek\rerunfilecheck.sty"))
("C:\Program Files\MiKTeX 2.9\tex\latex\ltxmisc\url.sty"))
Package hyperref Message: Driver: hdvips.
("C:\Program Files\MiKTeX 2.9\tex\latex\hyperref\hdvips.def"
("C:\Program Files\MiKTeX 2.9\tex\latex\hyperref\pdfmark.def"
Package hyperref Warning: You have enabled option `breaklinks'.
(hyperref) But driver `hdvips.def' does not suppport this.
(hyperref) Expect trouble with the link areas of broken links.
)) ("C:\Program Files\MiKTeX 2.9\tex\latex\graphics\epsfig.sty"
("C:\Program Files\MiKTeX 2.9\tex\latex\graphics\graphicx.sty")))
\@input{Latex/Macros/MacroFile1.aux}
("C:\Users\dweng\Dropbox\My PhD Thesis\Latex/Macros/MacroFile1.tex")
("C:\Program Files\MiKTeX 2.9\tex\latex\jknappen\mathrsfs.sty")
("C:\Program Files\MiKTeX 2.9\tex\latex\dstroke\dsfont.sty")
LaTeX Warning: Unused global option(s):
[pdftex].
("C:\Users\dweng\Dropbox\My PhD Thesis\thesis.aux"
("C:\Users\dweng\Dropbox\My PhD Thesis\0_frontmatter/abstract.aux")
("C:\Users\dweng\Dropbox\My PhD Thesis\0_frontmatter/acknowledgement.aux")
("C:\Users\dweng\Dropbox\My PhD Thesis\1_introduction/introduction.aux"
LaTeX Warning: Label `fig1' multiply defined.
)) ("C:\Program Files\MiKTeX 2.9\tex\latex\hyperref\nameref.sty"
("C:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\gettitlestring.sty"))
("C:\Users\dweng\Dropbox\My PhD Thesis\thesis.out")
("C:\Users\dweng\Dropbox\My PhD Thesis\thesis.out") <qub.png> [1
\FN@pp@footnotehinttrue
] ("C:\Users\dweng\Dropbox\My PhD Thesis\0_frontmatter/abstract.tex" [2]
[3]) [4
\FN@pp@footnotehinttrue
] ("C:\Users\dweng\Dropbox\My PhD Thesis\0_frontmatter/acknowledgement.tex"
[1]) [2
\FN@pp@footnotehinttrue
] ("C:\Users\dweng\Dropbox\My PhD Thesis\thesis.toc") [3] [4]
("C:\Users\dweng\Dropbox\My PhD Thesis\thesis.lof"
("C:\Program Files\MiKTeX 2.9\tex\latex\amsfonts\umsa.fd")
("C:\Program Files\MiKTeX 2.9\tex\latex\amsfonts\umsb.fd")
("C:\Program Files\MiKTeX 2.9\tex\latex\jknappen\ursfs.fd")) [5] [6]
("C:\Users\dweng\Dropbox\My PhD Thesis\thesis.lot") [7] [8]
("C:\Users\dweng\Dropbox\My PhD Thesis\1_introduction/introduction.tex"
Chapter 1.
LaTeX Warning: Citation `Chang04' on page 1 undefined on input line 18.
LaTeX Warning: Citation `Madhavan07' on page 1 undefined on input line 18.
<1_introduction/figures/abebooks_query_interface.eps>
<1_introduction/figures/abebooks_two_records_prefix.eps> [1]
<1_introduction/figures/two_plates_examples.eps> [2]
LaTeX Warning: Citation `Liu03' on page 3 undefined on input line 47.
LaTeX Warning: Citation `Zhai05' on page 3 undefined on input line 47.
LaTeX Warning: Citation `Zhai06' on page 3 undefined on input line 47.
LaTeX Warning: Citation `Zhao05' on page 3 undefined on input line 47.
LaTeX Warning: Citation `Zhao06' on page 3 undefined on input line 47.
LaTeX Warning: Citation `Simon05' on page 3 undefined on input line 47.
LaTeX Warning: Citation `Miao09' on page 3 undefined on input line 47.
LaTeX Warning: Citation `Liu05' on page 3 undefined on input line 47.
LaTeX Warning: Citation `Zhu06' on page 3 undefined on input line 47.
LaTeX Warning: Citation `Crescenzi01' on page 3 undefined on input line 47.
LaTeX Warning: Citation `Chang01a' on page 3 undefined on input line 47.
LaTeX Warning: Citation `Wang03' on page 3 undefined on input line 47.
LaTeX Warning: Citation `Arasu03' on page 3 undefined on input line 47.
LaTeX Warning: Citation `Liu10' on page 3 undefined on input line 47.
LaTeX Warning: Citation `Liu10' on page 3 undefined on input line 47.
LaTeX Warning: Citation `Cai03' on page 3 undefined on input line 47.
LaTeX Warning: Citation `Crescenzi01' on page 3 undefined on input line 47.
LaTeX Warning: Citation `Chang01a' on page 3 undefined on input line 47.
LaTeX Warning: Citation `Wang03' on page 3 undefined on input line 47.
LaTeX Warning: Citation `Arasu03' on page 3 undefined on input line 47.
LaTeX Warning: Citation `Liu03' on page 3 undefined on input line 47.
LaTeX Warning: Citation `Zhai05' on page 3 undefined on input line 47.
LaTeX Warning: Citation `Zhai06' on page 3 undefined on input line 47.
LaTeX Warning: Citation `Zhao05' on page 3 undefined on input line 47.
LaTeX Warning: Citation `Zhao06' on page 3 undefined on input line 47.
LaTeX Warning: Citation `Simon05' on page 3 undefined on input line 47.
LaTeX Warning: Citation `Miao09' on page 3 undefined on input line 47.
LaTeX Warning: Citation `Liu05' on page 3 undefined on input line 47.
LaTeX Warning: Citation `Zhai05' on page 3 undefined on input line 47.
LaTeX Warning: Citation `Zhai06' on page 3 undefined on input line 47.
LaTeX Warning: Citation `Simon05' on page 3 undefined on input line 47.
LaTeX Warning: Citation `Liu05' on page 3 undefined on input line 47.
LaTeX Warning: Citation `Zhu06' on page 3 undefined on input line 47.
LaTeX Warning: Citation `Zhao06' on page 3 undefined on input line 49.
Underfull \vbox (badness 3579) has occurred while \output is active [3]
LaTeX Warning: Citation `Cai03' on page 4 undefined on input line 55.
[4] [5]
LaTeX Warning: Citation `Weng11' on page 6 undefined on input line 67.
[6] <1_introduction/figures/abebooks_two_records_prefix.eps>
LaTeX Warning: Citation `Weng11' on page 7 undefined on input line 81.
LaTeX Warning: Citation `Weng12' on page 7 undefined on input line 81.
LaTeX Warning: Citation `Lu07' on page 7 undefined on input line 81.
LaTeX Warning: Citation `Lu11' on page 7 undefined on input line 81.
LaTeX Warning: Citation `Wang03' on page 7 undefined on input line 81.
[7]
LaTeX Warning: Citation `Cai03' on page 8 undefined on input line 83.
LaTeX Warning: Citation `Weng11' on page 8 undefined on input line 83.
<1_introduction/figures/annotation_flow_chart.eps>) [8] [9]
("C:\Users\dweng\Dropbox\My PhD Thesis\thesis.bbl"
("C:\Users\dweng\Dropbox\My PhD Thesis\thesis.brf")
! LaTeX Error: Something's wrong--perhaps a missing \item.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.3 \end{thebibliography}
?
那麼如何解決這些警告,特別是如何解決「遺失\item
」的警告。我知道問題一定出現在參考書目部分。我的 bibtex 檔案的內容如下:
@article{Abdessalem10,
author = {Talel Abdessalem and
Bogdan Cautis and
Nora Derouiche},
title = {ObjectRunner: Lightweight, Targeted Extraction and Querying
of Structured Web Data},
journal = {PVLDB},
volume = {3},
number = {2},
year = {2010},
pages = {1585-1588},
ee = {http://www.comp.nus.edu.sg/$\sim$vldb2010/proceedings/files/papers/D18.pdf},
bibsource = {DBLP, http://dblp.uni-trier.de}
}
我正在使用以下程式碼:
\bibliographystyle{aaai}%{CUEPhDbiblio-url}
\bibliography{12_backmatter/myrefs} % adjust this to fit your BibTex file
我正在使用Winedt 6 & MikTex2.9 x64,在“Tex”中運行BibTex後,彈出以下錯誤:
Command Line: bibtex.exe "thesis"
Startup Folder: C:\Users\dweng\Dropbox\My PhD Thesis
This is BibTeX, Version 0.99d (MiKTeX 2.9 64-bit)
The top-level auxiliary file: thesis.aux
A level-1 auxiliary file: 0_frontmatter/abstract.aux
A level-1 auxiliary file: 0_frontmatter/acknowledgement.aux
The style file: aaai.bst
I found no \citation commands---while reading file thesis.aux
Database file #1: 12_backmatter/myrefs.bib
(There was 1 error message)
答案1
由於這種情況僅在您嘗試匯入參考文獻時發生,因此您應該仔細檢查 BibTeX 檔案中是否有不適合 LaTeX 的內容。例如,在您列出的引文中,我可以看到帶有$\sim$
.這可能會給您帶來問題,需要將其刪除。嘗試建立一個新的 BibTeX 檔案並逐一添加您的參考文獻,以檢查哪個有問題,哪個沒有。
答案2
您可以嘗試以下幾件事:
1)確保你引用正確,即\cite{authorlabel}
。例如:\cite{Abdessalem10}
.
2) 嘗試將 .bib 檔案放在與主檔案相同的目錄中,並直接指向它。例如:
\bibliography{myrefs}
3) 如果使用 TeXnicCenter,請確保您已UsesBibTeX
在專案屬性中選取該選項。