![缺少 BibTeX 枚举](https://linux22.com/image/348903/%E7%BC%BA%E5%B0%91%20BibTeX%20%E6%9E%9A%E4%B8%BE.png)
目前我需要用 LaTeX 写一篇短文,并用 BibTeX 收集所有参考文献。目前我使用的是书目样式“ieeetr”,文中的引用看起来应该如此。
然而,不知何故,我的所有参考文献列表中都缺少枚举。条目仅列出,而没有相应的编号。
使用的文档类别是
\documentclass[prodmode]{acmlarge}
引用由
\bibliographystyle{ieeetr}
\bibliography{gameanalysis}
出了什么问题?缺少了什么重要的东西吗?
编辑:可编译的示例
你需要: acmlarge.cls
我的 tex 文件:
\documentclass[prodmode]{acmlarge}
% Metadata Information
\acmVolume{2}
\acmNumber{3}
\acmArticle{1}
\articleSeq{1}
\acmYear{2010}
\acmMonth{5}
% Package to generate and customize Algorithm as per ACM style
\usepackage[ruled]{algorithm2e}
\SetAlFnt{\algofont}
\SetAlCapFnt{\algofont}
\SetAlCapNameFnt{\algofont}
\SetAlCapHSkip{0pt}
\IncMargin{-\parindent}
\renewcommand{\algorithmcfname}{ALGORITHM}
\usepackage{float}
%\usepackage{hyperref}
% Page heads
\markboth{Me, Myself \& I}{My topic}
% Title portion
\title{My Title}
\author{Me, Myself \& I
\affil{My University}
}
\begin{document}
\maketitle
\section{Introduction}
\subsection{Business Simulation Games}
Business Simulation Games are a sub-genre of simulation games and are also known as Tycoon Games \cite{WikipediaListOfTycoonGames} \cite[p.~71]{ErnestAdams}. The focus of these types of games is on the management of economic processes through the perspective of a business. \cite[p.~527]{ErnestAdams} \newline
According to the definition of ``Pure Business Simulation Games`` by Ernest Adams in his book about ``Fundamentals of Game Design`` \cite[p.~536]{ErnestAdams}, games in this sub-genre are abstract and focused numerical analysis. Most published games fall outside this definition, because they emphasize the aspect of business decisions and often provide creative graphical layer. Thus the player is able to not just see the simulation in numbers, but also structures that exist in the virtual world of the game.\newline
Looking at the aspect of realism from the player's point of view, there is a high interest in realistic simulation achieved by accurate algorithms and plausible data. For each player's action in-game there is also an expected realistic in-game consequence. \cite[p.~36]{ErnestAdams} Christine Elgood, who specializes in the subject of design, facilitation and creation of simulation games, considers a good one has to ``mirror the real world`` and features ``[...] content which is accurate and believable`` \cite{ChristineElgood}.
% Bibliography
\bibliographystyle{ieeetr}
\bibliography{issue}
\end{document}
我的 bib 文件(我不得不删除 url...):
@Book{ErnestAdams,
author = "Ernest Adams",
title = "Fundamentals of Game Design",
publisher = "Pearson Prentice Hall",
year = "2009",
address = "",
edition = "2nd.",
editor = "",
volume = "",
number = "",
series = "",
month = "",
note = "",
}
@misc{ChristineElgood,
key = {Christine Elgood},
title = {How do you create effective business simulation games? - Elgood's 10 Step Design Process},
year = 2011
}
@misc{GoldenAgeOfVideoGames,
key = {Encyclopedia Gamia},
title = {Golden age of video games},
note = {},
year = 2016
}
@article{ChrisCrawford,
author = {Sharon Darling},
title = {Birth of a computer game},
journal = {Compute!},
issue_date = {February 1985},
number = {57},
month = {February},
year = {1985},
}
@misc{WikipediaListOfTycoonGames,
key = {List of business simulation video games},
title = {List of business simulation video games},
year = 2016
}
答案1
类文件
%% Bibliographic cite forms needed:
%%
%% \cite{key}
%% which produces citations with author list and year.
%% eg. [Brown 1978; Jarke, et al. 1985]
%% \citeA{key}
%% which produces citations with only the author list.
%% eg. [Brown; Jarke, et al.]
%% \citeN{key}
%% which produces citations with the author list and year, but
%% can be used as nouns in a sentence; no brackets appear around
%% the author names, but only around the year.
%% eg. Shneiderman [1978] states that......
%% \citeN should only be used for a single citation.
%% \citeNN{refkey1,refkey2} for author [ref1year; ref2year]
%% \citeyear{key}
%% which produces the year information only, within brackets.
%%
%% Abbreviated author lists use the ``et al.'' construct.
%%
%% The above are examples of required ACM bibliographic cite formats needed.
因此,您需要使用符合这些要求的参考书目样式,但 ieeetr 显然不符合,最终您会得到命名和数字约定的混合。ACM 的示例文档使用
\bibliographystyle{ACM-Reference-Format}
如果你使用它,你不会得到任何数字: