如何安装/使用 biblatex

如何安装/使用 biblatex

我最近决定将 改为natbibbiblatex但是使用 时遇到了一些麻烦biblatex。我的骨架文档如下所示:

\documentclass[12pt,a4paper]{report}
\pagestyle{myheadings}

%\pagestyle{empty}
\usepackage{epsfig}
\usepackage{amsmath}
\usepackage{titlesec}
\usepackage{lipsum}
\usepackage{tipa}
\usepackage{hyperref}
\usepackage[backend=biber,sorting=nyt,style=apa]{biblatex}
\addbibresource{myrefs.bib}
\usepackage[english]{babel}
\usepackage{csquotes}
\usepackage[export]{adjustbox}
\usepackage[toc,page]{appendix}
\usepackage{float}
\usepackage{amssymb,amsmath}
\usepackage{graphicx}
\usepackage{listings}
\usepackage{color}

\begin{document}

\textcite{dynamicCouplingMarketInst}

\printbibliography
\end{document}

我已经用 替换了所有引文,但是\textcite参考书目现在不会显示在文档末尾,并且引文现在只显示粗体引文别名,而不是实际详细信息。我知道这是一个基本问题,但是您必须手动安装吗biblatex?我以前用得natbib很好。我在 Mac 上,安装了 BibTeX。我使用 Texpad 作为编辑器,并在更改后运行了 BibTeX。

更新2backend=bibtext:谢谢大家的帮助,我已经添加了加载包时的选项biblatex,但是这导致了以下两个错误:

apa.bbx - datelabel undefined

thesistemplate.tex - Package biblatex Error: backend=biber required by style (\begin{document})

我的 bib 引擎是现在比伯

这些错误现在已经消失,我删除了.bbl文件并清除了 biber 缓存,错误消失了,但是参考书目和引文仍然没有显示。

在日志中,对于我的每一个引用,它都显示:

LaTeX Warning: Citation 'citation name' on page x undefined on input line y

.BIB 文件:

@article{flashBoys,
  title     = {Flash Boys: Cracking the money code},
  author    = "Michael Lewis",
  year      = "2014",
  publisher = "The Penguin Group, London, England"
}

@article{cohen2012limit,
  title={A limit order book model for latency arbitrage},
  author={Cohen, Samuel N and Szpruch, Lukasz},
  journal={Mathematics and Financial Economics},
  volume={6},
  number={3},
  pages={211--227},
  year={2012},
  publisher={Springer}
}

@article{LatencyArbitrageTheRealPower,
  title     = {Latency Arbitrage: The Real Power Behind Predatory High Frequency Trading},
  author    = "Sal Arnuk and Joseph Saluzzi",
  year      = "2009"
  publisher = "Themis Trading LLC"
}

@inproceedings{wah2013latency,
  title={Latency arbitrage, market fragmentation, and efficiency: a two-market model},
  author={Wah, Elaine and Wellman, Michael P},
  booktitle={Proceedings of the fourteenth ACM conference on Electronic commerce},
  pages={855--872},
  year={2013},
  organization={ACM}
}

@article{colocationAdvantage,
  title     = {High-Frequency Trading: The Co-Location Advantage},
  url       = "https://blog.lordabbett.com/blog/2014/05/high-frequency_trading_the_co-      location_advantage.html",
  author    = "Ted Oberhaus",
  year      = "2014"
}

@article{programmingInMiranda,
  title     = {Programming with Miranda},
  author    = "Chris Clack and Colin Myers and Ellen Poon",
  year      = "2011"
}


@article{dynamicCouplingMarketInst,
  title     = {Dynamic Coupling and Market Instability},
  author    = "Chris Clack and Elias Court and Dmitrijs Zaparanuks",
  year      = "2014"
}

@article{michaelLewisWrong,
    title  = {Michael Lewis Is Entirely Wrong About High Frequency Trading Hitting The Little Guy},
    author = "Tim Worstall",
    publisher = "Forbes"
    year    = "2014",
    url     = "http://www.forbes.com/sites/timworstall/2014/03/31/michael-lewis-is-entirely-wrong-about-high-frequency-trading-hitting-the-little-guy/"   

}  

@article{naturalGasLeak,
    title  = {Natural Gas Leak},
    author = "Eric Hunsader",
    publisher = "Nanex",
    year      = "2013",
    url       = "http://www.nanex.net/aqck2/4090.html"  
}

@article{marketMakerInvestopedia,
    title  = {Market Maker Definition},
    author = "Investopedia",
    year   = "2014",
    url    = "http://www.investopedia.com/terms/m/marketmaker.asp"
}

@article{greatFedRobbery,
    title  = {Einstein and The Great Fed Robbery},
    author = "Eric Hunsader",
    year   = "2013",
    url    = "http://www.nanex.net/aqck2/4436.html",
    publisher = "Nanex"
}


@article{flashTrading,
    title  = {Flash Trading Definition},
    author = "Investopedia",
    year   = "2014",
    url    = "http://www.investopedia.com/terms/f/flash-trading.asp"
}


@article{brunnermeier2005predatory,
  title={Predatory trading},
  author={Brunnermeier, Markus K and Pedersen, Lasse Heje},
  journal={The Journal of Finance},
  volume={60},
  number={4},
  pages={1825--1863},
  year={2005},
  publisher={Wiley Online Library}
}

答案1

您的 bib 条目中LatencyArbitrageTheRealPower缺少michaelLewisWrong逗号。添加它们,所有内容都应该可以编译。

以下是两个更正后的 bib 条目:

@article{LatencyArbitrageTheRealPower,
  title     = {Latency Arbitrage: The Real Power Behind Predatory High Frequency Trading},
  author    = {Sal Arnuk and Joseph Saluzzi},
  year      = {2009},
  publisher = {Themis Trading LLC},
}


@article{michaelLewisWrong,
    title  = {Michael Lewis Is Entirely Wrong About High Frequency Trading Hitting The Little Guy},
    author = "Tim Worstall",
    publisher = "Forbes",
    year    = "2014",
    url     = "http://www.forbes.com/sites/timworstall/2014/03/31/michael-lewis-is-entirely-wrong-about-high-frequency-trading-hitting-the-little-guy/"   
}  

相关内容