JFM 模板不适用于 BibTex 文件吗?

JFM 模板不适用于 BibTex 文件吗?

我遇到了期刊模板类的问题,当我为参考文献包含 bibtex 文件时它会停止编译。

我正在使用 JFM模板

如果我注释掉参考书目包含命令,则 pdf 将使用 ??? 而不是参考文献进行编译。

示例代码:

\documentclass{jfm}
\usepackage{graphicx}
\usepackage{epstopdf, epsfig}

\shorttitle{T-Junction}
\shortauthor{E.}
\title{T-Junction}
\author{Edgar}

\begin{document}

\maketitle
\begin{abstract}
\end{abstract}
\begin{keywords}
Authors should not enter keywords on the manuscript, as these must be 
chosen by the author during the online submission process and will then 
be added during the typesetting process (see 
http://journals.cambridge.org/data/\linebreak[3]relatedlink/jfm-\linebreak[3]keywords.pdf for the full list)
\end{keywords}


\section{Introduction}
Model on shortened thesis introductions
\begin{itemize}
\item Wide range of applications of capsules and inherent interest
\item Scarcity of experimental studies
\item Importance of understand how capsules negotiating bifurcations
\item Applications to measure deformability and sort capsule by deformability
\item introduce the four papers \cite{KoolivandDimitrakopoulos2017, KuriakoseDimitrakopoulos13} \cite{KuriakoseDimitrakopoulos11, HuEtAl12} that have dealt with a T-Junction, and rectangular and square channels
\end{itemize}

\bibliographystyle{jfm}
\bibliography{Capsules}
\end{document}

如果我不使用 JFM 风格,一切都会顺利编译

\documentclass[a4paper,12pt]{article}

\title{T-Junction}
\author{Edgar}
\date{\today}

\begin{document}
\maketitle

\section{Introduction}
Model on shortened thesis introductions
\begin{itemize}
\item Wide range of applications of capsules and inherent interest
\item Scarcity of experimental studies
\item Importance of understand how capsules negotiating bifurcations
\item Applications to measure deformability and sort capsule by deformability
\item introduce the four papers \cite{KoolivandDimitrakopoulos2017, KuriakoseDimitrakopoulos13} \cite{KuriakoseDimitrakopoulos11, HuEtAl12} that have dealt with a T-Junction, and rectangular and square channels
\end{itemize}

\bibliographystyle{plain}    % (uses file "plain.bst") %nar
\bibliography{Capsules}

\end{document}

我不确定如何继续调试。如能提供任何帮助,我将不胜感激。

更新日期:2018/01/15 该问题出现在使用 MixTex 的 Windows 上,以及 Mac OSX 和 Ubuntu 上的默认 Latex 环境上。

不知道是什么原因造成的,有时它能工作,然后又停止工作。没有错误消息,latex/pdflatex 从未完成。

答案1

JFM 类使用natbib包。正如说明书PDF文档第 7 页,您必须使用\citep{}̀(括号之间的引用)或\citet{}(文中引用)命令,而不是本机\cite{}命令。

不要忘记多次编译:Pdflatex、Bibtex、Pdflatex 并再次 Pdflatex。

相关内容