未编纂参考书目

未编纂参考书目

我有一个用于论文的 latex 文件,其中有include几章。所有内容(\ref、图表)都编译为文件除了我的参考书目。搜索互联网对我毫无帮助,因为这似乎充满了死胡同。bibtex我收到的错误消息是:

 bibtex Thesis_Final_ps_11142012a.aux 
This is BibTeX, Version 0.99c (TeX Live 2009/Debian)
The top-level auxiliary file: Thesis_Final_ps_11142012a.aux
A level-1 auxiliary file: Applications.aux
A level-1 auxiliary file: LiteratureReview.aux
A level-1 auxiliary file: Microgravity.aux
A level-1 auxiliary file: modified-evolution-equation-11_08_2012.aux
A level-1 auxiliary file: ConstitutiveRelationship_05_17_2012a.aux
A level-1 auxiliary file: MaximizingWavenumber_11082012.aux
A level-1 auxiliary file: Validation_ps.aux
A level-1 auxiliary file: Results_1.aux
A level-1 auxiliary file: Contributions.aux
A level-1 auxiliary file: mathfluid_3.aux
I found no \bibdata command---while reading file Thesis_Final_ps_11142012a.aux
I found no \bibstyle command---while reading file Thesis_Final_ps_11142012a.aux
(There were 2 error messages)

我的乳胶文件是:

\documentclass[12pt,oneside]{book}

\usepackage{MTU_Thesis_Style21}
%
%Stuff like names that I don't want to reveal on this forum
%
\include{Applications}                                       
\include{LiteratureReview}


%% Bibliography
\bibliographystyle{/home/user/Research/Dissertation/Draft/unsrtnat}                 
\bibliography{/home/user/Research/Dissertation/Draft/dnaneet_MASTER}    

\end{document}

%% eof

我的序言(MTU_Thesis_Style21)有:

\usepackage{graphicx}
%\usepackage{float}
\usepackage[section]{placeins}    
\usepackage{caption}
\captionsetup{margin=10pt,font=small,labelsep=period,labelfont=bf}
% --------
\usepackage{lscape}         % allows for landscape tables and figures
\usepackage{paralist}       % enancements to list environment
\usepackage{array}          % enhancements to array and tabular environments
\usepackage[usenames]{color}    
\usepackage{url}            
\usepackage{longtable}      % multipage tables
\usepackage{ifthen}
\usepackage{ifpdf}
\usepackage{setspace}       % easy single or doublespacing
\usepackage{amsmath,amsfonts,amssymb}
\usepackage{rotate}
\usepackage{subfigure}
\usepackage{subfig}
\usepackage{wrapfig}
\usepackage{listings}       % for listing computer code such as matlab
\usepackage[bw]{mcode}      % for matlab code with listings package
\usepackage[square,comma,sort&compress]{natbib} % enhances bibtex citations
% \usepackage{biblatex}
\usepackage{setspace}       % \singlespacing, \onehalfspacing, \doublespacing, ...

%%%%%%%%uyser%%%%%%%%%%%%%%%55
\usepackage{epsfig}
\usepackage{epstopdf}
\usepackage{textcomp}
\usepackage{multirow}
\usepackage{subfig}
\usepackage{paralist}
\usepackage{changepage}

我似乎不知道哪里出了问题。当我尝试使用 bibtex 处理我的 aux 文件而不使用所有这些\include语句时,一切都很好!

aux为什么我的文件中大部分引用都丢失了?:(我开始非常讨厌乳胶了。

辅助文件:

\relax 
\ifx\hyper@anchor\@undefined
\global \let \oldcontentsline\contentsline
\gdef \contentsline#1#2#3#4{\oldcontentsline{#1}{#2}{#3}}
\global \let \oldnewlabel\newlabel
\gdef \newlabel#1#2{\newlabelxx{#1}#2}
\gdef \newlabelxx#1#2#3#4#5#6{\oldnewlabel{#1}{{#2}{#3}}}
\AtEndDocument{\let \contentsline\oldcontentsline
\let \newlabel\oldnewlabel}
\else
\global \let \hyper@last\relax 
\fi

\providecommand*\HyPL@Entry[1]{}
\HyPL@Entry{0<</S/r>>}
\HyPL@Entry{2<</S/r>>}
\@writefile{toc}{\contentsline {chapter}{\hbox to\@tempdima {\hfil }Table of Contents}{iii}{chapter*.1}}
\citation{Krishnamoorthy1995a}
\citation{Krishnamoorthy1995a}
\citation{Krishnamoorthy1995a}
\citation{Oron2000b}
\citation{Oron2000b}
\@writefile{toc}{\contentsline {chapter}{\hbox to\@tempdima {\hfil }List of Figures}{xiii}{chapter*.2}}
\@writefile{toc}{\contentsline {chapter}{\hbox to\@tempdima {\hfil }List of Tables}{xiv}{chapter*.3}}
\@input{Applications.aux}
\HyPL@Entry{16<</S/D>>}
\@input{LiteratureReview.aux}
\@input{Microgravity.aux}
\@input{modified-evolution-equation-11_08_2012.aux}
\@input{ConstitutiveRelationship_05_17_2012a.aux}
\@input{MaximizingWavenumber_11082012.aux}
\@input{Validation_ps.aux}
\@input{Results_1.aux}
\@input{Contributions.aux}
\@input{mathfluid_3.aux}

错误信息的原因

我收到的错误消息bibtex是由于.tex我使用以下两个文件包含的\include

%mathfluid.tex
\input{format_mathplots_3}

\begin{document}
\renewcommand*{\thesubfigure}{}
\input{include_grphx_3}
\end{document}
%% eof

mathfluid.tex我在其中一个文件中使用上述代码,\include通过 调用另一个 tex 文件\input{format_mathplots_3}。这format_math_plots.tex又被错误地包含在主文件中。不知何故(我不知道为什么)bibtex 不喜欢这样,尽管这个文件没有任何引用。这可能是由于aux文件冲突造成的,但我对此一无所知。

有人愿意对此作出解释吗?:)

答案1

BibTeX 日志报告aux文件不包含\bibstyle和。这两个指令由命令和\bibdata写入文件中。这两个命令存在于主文件中。这表明其中一个包含的文件包含。在这种情况下,出现在 中 (或如编辑所示,出现在嵌入其中的其中一个文件中)。 通常,指示 TeX 编译器终止编译,并且忽略其后的所有内容。aux\bibliographystyle\bibliography\end{document}\end{document}mathfluid_3.tex\end{document}

相关内容