我正在使用 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 友好内容。例如,在您列出的引文中,我可以看到带有 的 URL $\sim$
。这可能给您带来了问题,需要将其删除。尝试创建一个新的 BibTeX 文件并逐一添加参考文献,以检查哪些有问题,哪些没有问题。
答案2
您可以尝试以下几件事:
1)确保引用正确,例如\cite{authorlabel}
:\cite{Abdessalem10}
。
2)尝试将您的.bib 文件放在与主文件相同的目录中,并直接指向它。例如:
\bibliography{myrefs}
3) 如果使用 TeXnicCenter,请确保您已UsesBibTeX
在项目属性中选中该选项。