使用 Texmaker 时,Springer 文档类 svjour3 和参考书目样式 spmpscis 中未生成 .bbl 文件

使用 Texmaker 时,Springer 文档类 svjour3 和参考书目样式 spmpscis 中未生成 .bbl 文件

我想写一篇 Springer 会议文章。我已经下载了它的模板,但是当我创建一个新的书目文件bibliography.bib并添加引文时,显示以下消息:

LaTeX Warning: Citation `wang2012mathematical' on page 1 undefined on input lin
e 51.
No file "Draft Paper".bbl.
[1{C:/Users/---/AppData/Local/MiKTeX/2.9/pdftex/config/pdftex.map}
]
("Draft Paper.aux") )

结果如下:

输出的图像,在应出现引用编号的位置显示一个问号。 我的 LaTeX 文件:

\begin{filecontents*}{Draft Paper.eps}
%!PS-Adobe-3.0 EPSF-3.0
%%BoundingBox: 19 19 221 221
%%CreationDate: Mon Sep 29 1997
%%Creator: programmed by hand (JK)
%%EndComments
gsave
newpath
  20 20 moveto
  20 220 lineto
  220 220 lineto
  220 20 lineto
closepath
2 setlinewidth
gsave
  .4 setgray fill
grestore
stroke
grestore

\end{filecontents*}
\RequirePackage{fix-cm}
\documentclass [twocolumn,draft] {svjour3} 
\smartqed  % flush right qed marks, e.g. at end of proof
\usepackage{graphicx}
\begin{document}
%title 
\title{Network interface selection}
%\subtitle{Do you have a subtitle?\\ If so, write it here}

\author{First Author         \and
        Second Author %etc.
}
\institute{F. Author \at
              first address \\
              Tel.: +123-45-678910\\
              Fax: +123-45-678910\\
              \email{[email protected]}           %  \\
%             \emph{Present address:} of F. Author  %  if needed
           \and
           S. Author \at
              second address
}
\date{Received: date / Accepted: date}
\maketitle


 

\begin{abstract}

 \cite{wang2012mathematical}.

\keywords{First keyword \and Second keyword \and More}
\end{abstract}


\bibliographystyle{spmpscis}
\bibliography{Bibliography}
                
\end{document}

有什么问题?我该如何添加参考文献?

答案1

使用从以下位置下载的 SpringerLaTeX模板这里,我可以编译您的tex文件。一些变化:a) 我找不到参考书目样式spmpscis,而是使用了spmpsci下载的 Springer 模板附带的样式。b) 添加了sample.bib用于生成参考书目的样式。

\begin{filecontents*}{Draft Paper.eps}
%!PS-Adobe-3.0 EPSF-3.0
%%BoundingBox: 19 19 221 221
%%CreationDate: Mon Sep 29 1997
%%Creator: programmed by hand (JK)
%%EndComments
gsave
newpath
  20 20 moveto
  20 220 lineto
  220 220 lineto
  220 20 lineto
closepath
2 setlinewidth
gsave
  .4 setgray fill
grestore
stroke
grestore

\end{filecontents*}
\RequirePackage{fix-cm}
\documentclass [twocolumn,draft] {svjour3} 
\smartqed  % flush right qed marks, e.g. at end of proof
\usepackage{graphicx}
\begin{document}
%title 
\title{Network interface selection}
%\subtitle{Do you have a subtitle?\\ If so, write it here}

\author{First Author         \and
        Second Author %etc.
}
\institute{F. Author \at
              first address \\
              Tel.: +123-45-678910\\
              Fax: +123-45-678910\\
              \email{[email protected]}           %  \\
%             \emph{Present address:} of F. Author  %  if needed
           \and
           S. Author \at
              second address
}
\date{Received: date / Accepted: date}
\maketitle


\begin{abstract}

 % \cite{wang2012mathematical} % uncomment it when you compile 

 % citation as in 'sample.bib'

 \cite{Berger84,Berger03}

\keywords{First keyword \and Second keyword \and More}
\end{abstract}


%\bibliographystyle{spmpscis} % not available; so commented
%\bibliography{Bibliography} % uncomment it when you compile

\bibliographystyle{spmpsci}
\bibliography{sample}


\end{document}

参考书目文件sample.bib如下:

    @ARTICLE{Berger84,
     author = {{Berger}, M.~A.},
     title = {Rigorous new limits on magnetic helicity dissipation in the solar corona},
     journal = {Geophys. Astrophys. Fluid. Dyn.},
     year = 1984,
     volume = 30,
     pages = {79-104},
 }

    @INPROCEEDINGS{Berger03,
    author = {{Berger}, M.~A.},
    title = "Topological quantities in magnetohydrodynamics",
    booktitle = {Advances in Nonlinear Dynamics},
    publisher = {Taylor and Francis Group},
    address = "London",
    editor = {{Ferriz-Mas}, A. and {N{\'u}{\~n}ez}, M.},
    year = 2003,
    pages = {345-383},
    adsurl = {http://adsabs.harvard.edu/cgi-bin/nph-bib_query?bibcode=2003and..book..345B&db_key=PHY},
  adsnote = {Provided by the NASA Astrophysics Data System}
}

相关内容