af-lab / histone-catalogue

Core histone catalogue --- Live manuscript
1 stars 0 forks source link

\citet not returning author #20

Closed aflaus closed 8 years ago

aflaus commented 8 years ago

\citet{Marzluff02} giving returning (author?) in intro.tex line 247. Citation marker "[8]" and bibliography entry are correct.

This was working previously?

carandraug commented 8 years ago

Yes, this was working before when we were using plainnat for the bibliography style.

The vancouver bibliography style does not support using an author-year style of references in the text. Because of this, citet commands fails. You will see another one on the captions for Table S7

recognized histone variant family stem names, commonly used protein names and names for improved consistency based on proposal by (author?) [31].

You will need to pick a style that supports it (you can try on af-lab until you find something that pleases you). Don't forget to update the list of dependencies and the configure check when you change it; here, and here

carandraug commented 8 years ago

I have fixed this by setting the bibliography style to agu. The reason to use the vancouver style was to reduce paper wasted when printing the bibliography. The agu style is just as terse but is also natbib compatible and allows to use \citet. I found the reference to RefSeq to be a good example.

Under vancouver style:

Pruitt KD, Brown GR, Hiatt SM, Thibaud-Nissen F, Astashyn A, Ermolaeva O, et al. RefSeq: an update on mammalian reference sequences. Nucleic Acids Research. 2014;42:D756–763.

Under agu style:

Pruitt, K., et al., RefSeq: an update on mammalian reference sequences, Nucleic Acids Research, 42, D756–763, 2014.

Under plainnat style:

K.D. Pruitt, G.R. Brown, S.M. Hiatt, F. Thibaud-Nissen, A. Astashyn, O. Ermolaeva, C.M. Farrell, J. Hart, M.J. Landrum, K.M. McGarvey, M.R. Murphy, N.A. O’Leary, S. Pujar, B. Rajput, S.H. Rangwala, L.D. Riddick, A. Shkeda, H. Sun, P. Tamez, R.E. Tully, C. Wallin, D. Webb, J. Weber, W. Wu, M. DiCuccio, P. Kitts, D.R. Maglott, T.D. Murphy, and J.M. Ostell. RefSeq: an update on mammalian reference sequences. Nucleic Acids Research, 42:D756–763, 2014.

Also, if the reason is to not waste paper, this is making a very little difference. Since we change the line spacing from double back to to normal, such change reduces the length of the bibliography by only 1 page.