未定义的控制序列 BibTex

未定义的控制序列 BibTex

这是出现问题的 BibTex 条目之一:

@ARTICLE{2015ApJ...808L..36B,
   author = {{Bonnivard}, V. and {Combet}, C. and {Maurin}, D. and {Geringer-Sameth}, A. and 
    {Koushiappas}, S.~M. and {Walker}, M.~G. and {Mateo}, M. and 
    {Olszewski}, E.~W. and {Bailey}, III, J.~I.},
    title = "{Dark Matter Annihilation and Decay Profiles for the Reticulum II Dwarf Spheroidal Galaxy}",
  journal = {\apjl},
archivePrefix = "arXiv",
   eprint = {1504.03309},
 primaryClass = "astro-ph.HE",
 keywords = {dark matter, galaxies: dwarf, galaxies: individual: Reticulum II, gamma rays: galaxies, methods: statistical, stars: kinematics and dynamics},
     year = 2015,
    month = aug,
   volume = 808,
      eid = {L36},
    pages = {L36},
      doi = {10.1088/2041-8205/808/2/L36},
   adsurl = {http://adsabs.harvard.edu/abs/2015ApJ...808L..36B},
  adsnote = {Provided by the SAO/NASA Astrophysics Data System}
}

相应的 bbl 文件在编译时给出错误

\bibitem{2009ApJ...697.1071A}
{\sc W.~B. {Atwood}, A.~A. {Abdo}, M.~{Ackermann}, W.~{Althouse},
  B.~{Anderson}, M.~{Axelsson}, L.~{Baldini}, J.~{Ballet}, D.~L. {Band},
  G.~{Barbiellini}, and et~al.}
\newblock {\bf {The Large Area Telescope on the Fermi Gamma-Ray Space Telescope
  Mission}}.
\newblock {\em \apj}, {\bf 697}:1071--1102, June 2009.

我猜 Kile 不喜欢这种形式的引用2015ApJ...808L..36B因为只有这些引用会出现错误。

有人能告诉我这里面的问题吗?非常感谢

答案1

根据问题条目的引用键,我猜测它们源自 ADS。

来自ADS 常见问题解答:

请注意,我们的 BibTeX 条目使用了AASTeX 宏定义最受欢迎的天文学期刊。如果您不使用AASTeX 软件包那么你需要包括这些宏在你的 LaTeX 源中。

在当前状态下,您的文档似乎缺少 \apjl和的适当定义\apj

答案2

保存该宏文件: http://adsabs.harvard.edu/abs_doc/aas_macros.sty

进而\usepackage{aas_macros}

相关内容