0

It seems this bibliography style is not properly maintained or does not support certain commands to cite year and author separately. A warning is issued indicating there is no year available in the bibliography entry (although there is) and the text is replaced with author?.

Any idea how can I create a command to replicate the citeyear behaviour?

Example:

Warning I'm getting is:

Package natbib Warning: Author undefined for citation `paperA' on page 6 on input line 339.

Then the output looks like:

enter image description here

  • Welcome to TeX.SX! I think it would be relevant to add a minimal working example to demonstrate the problem, to show which document class you are using, and to show what system you use to manage the bibliography. – Vincent Sep 29 '20 at 13:08
  • 1
    Unrelated: Nature's referencing style is numeric: "References are each numbered, ordered sequentially as they appear in the text" (https://www.nature.com/nature/for-authors/formatting-guide). Author/year style would not be needed in that scheme. But it depends on what class and package(s) you are using, and whether or not it is the same Nature magazine under discussion. – Cicada Sep 29 '20 at 14:25
  • What if I want to cite the publication year? or the author name? – Carlos Vega Sep 29 '20 at 17:39
  • The behaviour is similar to this issue https://tex.stackexchange.com/questions/111790/natbib-in-text-citation-displays-author – Carlos Vega Sep 29 '20 at 17:41
  • I'd strongly suggest using the biblatex style nature here, and moving away from 'classical' BibTeX if you can. (Note: I am the author of that style.) – Joseph Wright Sep 29 '20 at 18:07
  • I think that's the only solution I think. I'm looking for a two column template that would support such bibliography style, do you have any? – Carlos Vega Sep 29 '20 at 18:14

0 Answers0