SCBI-ForestGEO / McGregor_climate-sensitivity-variation

repository for linking the climate sensitity of tree growth (derived from cores) to functional traits
0 stars 0 forks source link

citations and eventual need to generate word file #147

Closed teixeirak closed 4 years ago

teixeirak commented 4 years ago

@mcgregorian1 , we'll eventually need to send the journal a word file of the main manuscript text for production. It would normally be easy for me to change that, except that I think the citation package you're using makes things complicated, and I get errors if I try to switch to a word doc.

In other papers, I've been using this setup:

image

...and have figured out how to use it to add citations to the references section without them being cited in the text:

image

We'll need this to deal with refs in the figure captions, which are currently getting stuck in a funny place in the tables & figs doc.

We can work around the "nocite" citations issue by doing a one-time copy-paste from elsewhere, but figuring out how to generate a word file with citations will be essential (and would be helpful now for coauthor review, word count, etc)

mcgregorian1 commented 4 years ago

Per your previous commit, I added those three citations myself to zotero then exported those to a .bib file (similar to what you did, I guess?). Then I tried copy/pasting those into the ,Rmd. It did knit, but then all the citations were "????". So I tried getting rid of the package: natbib from the yaml header and now things look like they work. I'll try the word document thing in a second.

mcgregorian1 commented 4 years ago

@teixeirak I tried doing the following to the yaml and this worked. I think it has something to do with how it interprets how the output command is formatted? image

teixeirak commented 4 years ago

Thanks, that works when I knit as well. I deleted the pdf version; we can stick with word for the main text now.