我的情况相当神秘。我按照https://pubsonline.informs.org/authorportal/latex-style-files
建立一个文件,这是我的 MWE。问题出在参考书目中。在标准的循环中pdflatex mwe.tex
,然后bibtex mwe.aux
然后pdflatex
在第一的 pdflatex
命令它有时显示为citep{
“未定义”。但最终,它做了正确的事情。您可能会问问题是什么。问题是我有一个更大的文件,它是此 MWE 的“超集”,并且在 Linux 命令行(TeXLive)和 Overleaf 中都显示此错误。经过几次强力的pdflatex
s 后,它确实编译并产生了正确的东西。但我感觉我在这里使用书目的方式有些不对劲。我natbib
在序言中添加了,还提供了一个示例*.bib
文件供您参考。该informs2014.bst
文件可以在上面的链接中找到。这是我第一次使用natbib
。仅通过查看下面的 MWE,组件交互的方式以所述方式弄乱了书目有什么问题?
\documentclass[mnsc]{informs3}
\OneAndAHalfSpacedXI
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage{natbib}
\TheoremsNumberedThrough % Preferred (Theorem 1, Lemma 1, Theorem 2)
\ECRepeatTheorems
\EquationsNumberedThrough % Default: (1), (2), ...
\usepackage{multirow}
\usepackage[]{graphicx}
\usepackage[font=small,labelfont=bf]{caption}
\usepackage{tocloft}
\usepackage[margin=1truein]{geometry}
\usepackage{afterpage}
\usepackage{arydshln}
\usepackage[colorlinks]{hyperref}
\usepackage[nameinlink]{cleveref}
\usepackage{framed}
\newcommand{\R}{\mathbb{R}}
\newcommand{\Q}{\mathbb{Q}}
\newcommand{\C}{\mathbb{C}}
\newcommand{\Z}{\mathbb{Z}}
\newcommand{\N}{\mathbb{N}}
\newcommand{\I}{\mathbf{I}}
\renewcommand{\vec}[1]{\mathbf{#1}}
\newcommand{\field}[1]{\mathbb{#1}}
\newcommand{\Pro}{\field{P}}
\newcommand{\Exp}{\field{E}}
\newcommand{\df}{\mathrm{d}}
\def\mb#1{\mbox{\mathbfmath $#1$}}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage{glossaries}
\newcommand{\beqna}{\begin{eqnarray}}
\newcommand{\eeqna}{\end{eqnarray}}
\newcommand{\by}{\begin{eqnarray*}}
\newcommand{\ey}{\end{eqnarray*}}
\newcommand{\bn}{\begin{enumerate}}
\newcommand{\en}{\end{enumerate}}
\usepackage{mathtools,mathrsfs}
\newcommand{\floor}[1]{\left\lfloor #1 \right\rfloor}
\newcommand{\bigzero}{\mbox{\normalfont\Large\bfseries 0}}
\DeclarePairedDelimiter{\ceil}{\lceil}{\rceil}
\setlength{\arraycolsep}{0.5mm}
\begin{document}
\ARTICLEAUTHORS{%
\AUTHOR{Snidely Slippery}
\AFF{Department of Bread Spread Engineering, Dairy University, Cowtown, IL 60208, \EMAIL{[email protected]}} %, \URL{}}
\AUTHOR{Marg Arinella}
\AFF{Institute for Food Adulteration, University of Food Plains, Food Plains, MN 55599, \EMAIL{[email protected]}}
% Enter all authors
} % end of the block
\ABSTRACT{%
abstract
}%
\KEYWORDS{keywords, more keywords}
\maketitle
\section{Introduction}
\citep{RePEc:eee:jfinec:v:91:y:2009:i:3:p:278-287}
\newcommand{\newblock}{}
\bibliographystyle{informs2014}
\bibliography{mwe}
\end{document}
和参考书目:
@ARTICLE{RePEc:eee:jfinec:v:91:y:2009:i:3:p:278-287,
title = {Strategic price complexity in retail financial markets},
author = {Carlin, Bruce I.},
year = {2009},
journal = {Journal of Financial Economics},
volume = {91},
number = {3},
pages = {278-287},
abstract = {There is mounting empirical evidence to suggest that the law of one price is
violated in retail financial markets: there is significant price dispersion even when products are
homogeneous. Also, despite the large number of firms in the market, prices remain above marginal
cost and may even rise as more firms enter. In a non-cooperative oligopoly pricing model, I show that
these anomalies arise when firms add complexity to their price structures. Complexity increases the market power of the
firms because it prevents some consumers from becoming knowledgeable about prices in the market. In the model,
as competition increases, firms tend to add more complexity to their prices as a best response, rather
than make their disclosures more transparent. Because this may substantially decrease consumer
surplus in these markets, such practices have important welfare implications.},
keywords = {Complexity Price dispersion Oligopoly},
url = {https://EconPapers.repec.org/RePEc:eee:jfinec:v:91:y:2009:i:3:p:278-287}
}
编辑:当通过运行该论文的完整版本时pdflatex
,第一次运行显示此错误消息:
这一切之后又出现了更多错误:
final.bbl
也许(final
MWE 所依据的实际论文在哪里)的内容可以提供一些启示:
\begin{thebibliography}{15}
\providecommand{\natexlab}[1]{#1}
\providecommand{\url}[1]{\texttt{#1}}
\providecommand{\urlprefix}{URL }
\bibitem[{Bellos et~al.(2017)Bellos, Ferguson, \protect\BIBand{}
Toktay}]{doi:10.1287/msom.2016.0605}
Bellos I, Ferguson M, Toktay LB (2017) The car sharing economy: Interaction of
business model choice and product line design. \emph{Manufacturing \& Service
Operations Management} 19(2):185--201,
\urlprefix\url{http://dx.doi.org/10.1287/msom.2016.0605}.
\bibitem[{Benjaafar et~al.(2019)Benjaafar, Kong, Li, \protect\BIBand{}
Courcoubetis}]{doi:10.1287/mnsc.2017.2970}
Benjaafar S, Kong G, Li X, Courcoubetis C (2019) Peer-to-peer product sharing:
Implications for ownership, usage, and social welfare in the sharing economy.
\emph{Management Science} 65(2):477--493,
\urlprefix\url{http://dx.doi.org/10.1287/mnsc.2017.2970}.
\bibitem[{Bimpikis et~al.(2019)Bimpikis, Candogan, \protect\BIBand{}
Saban}]{doi:10.1287/opre.2018.1800}
Bimpikis K, Candogan O, Saban D (2019) Spatial pricing in ride-sharing
networks. \emph{Operations Research} 67(3):744--769,
\urlprefix\url{http://dx.doi.org/10.1287/opre.2018.1800}.
\bibitem[{Boyd \protect\BIBand{} Vandenberghe(2004)}]{Boyd:2004:CO:993483}
Boyd S, Vandenberghe L (2004) \emph{Convex Optimization} (New York, NY, USA:
Cambridge University Press), ISBN 0521833787.
\bibitem[{Carlin(2009)}]{RePEc:eee:jfinec:v:91:y:2009:i:3:p:278-287}
Carlin BI (2009) Strategic price complexity in retail financial markets.
\emph{Journal of Financial Economics} 91(3):278--287,
\urlprefix\url{https://EconPapers.repec.org/RePEc:eee:jfinec:v:91:y:2009:i:3:p:278-287}.
答案1
BibTeX 样式informs2014.bst
用于\BIBand
区分作者,但该类informs3
无法对其进行定义。
仅当参考书目包含多作者文献时才会出现错误。
在 之前添加\providecommand{\BIBand}{and}
(或者,如果您的研究领域有这种用法,则\&
替换为) 。and
\begin{document}