1

This is one of the BibTex entries giving the problem:

@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}
}

and corresponding bbl file giving the error at compilation is

\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.

My guess is that Kile doesn't like references of the form 2015ApJ...808L..36B since these are the only ones giving the error.

Can somebody hint me to the problem in this? Thank you very much

  • 1
    Doe you have something like \newcommand\apjl{The Astrophysical Journal Letters}? – samcarter Apr 25 '17 at 14:39
  • 1
    And for the second reference \newcommand\apj{The Astrophysical Journal} – samcarter Apr 25 '17 at 14:41
  • 1
    Please edit your posting to report the exact wording of the error message(s). I strongly doubt that there's a problem with the key 2015ApJ...808L..36B. How and where are the macros \apj and \apjl defined? Are the macro definitions provided in the bib file? If not, where else? Incidentally, which bibliography style do you employ? – Mico Apr 25 '17 at 14:41
  • Let me guess, did you get the bib entries of the problematic publications from ads? From the ads website: "Please note that our BibTeX entries make use of the AASTeX macro definitions for the most popular astronomical journals. If you're not using the AASTeX package then you will need to include these macros in your LaTeX source. " adsabs.harvard.edu/abs_doc/faq.html#bibtex – samcarter Apr 25 '17 at 14:47
  • yes yes yes, you are all right. I'm using a Latex template from the university, not the ones provided by the journals. thank you all – andrea Apr 25 '17 at 14:51
4

Based on the citation keys of the problematic entries, I would guess they originate from ADS.

From the ADS FAQ:

Please note that our BibTeX entries make use of the AASTeX macro definitions for the most popular astronomical journals. If you're not using the AASTeX package then you will need to include these macros in your LaTeX source.

In its current state, your document seems to be missing suitable definitions for \apjl and \apj.

0

Save this file of macros: http://adsabs.harvard.edu/abs_doc/aas_macros.sty

and then \usepackage{aas_macros}

  • Please explain why this macros solves the given issue ... – Kurt Oct 8 '17 at 21:00
  • It's related to his specific problem: these macros are typical of some astrophysics journals. They are nothing magic, but the exact solution to his problem (the "website" from which he takes his Bibtex entries uses them). I think it's worth keeping the question and the answer here because many other astrophysicists will have the same problem at a certain point. – spec3 Oct 9 '17 at 0:36
  • 1
    Well, at last it is already mentioned by the accepted answer ... – Kurt Oct 9 '17 at 13:38
  • Yes, the accepted answer has the merit to identify the problem as the macros. My contribution is to give the right macros, without defining them one by one by hand (in the comments of the previous post there are suggestion to use \newcommand). I think it is helpful, because the next astrophysics grad student that will need to use bibtex for his thesis, will google for this problem: in this way he will find a complete and quick answer. – spec3 Oct 10 '17 at 15:07

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.