Closed teixeirak closed 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.
@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?
Thanks, that works when I knit as well. I deleted the pdf version; we can stick with word for the main text now.
@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:
...and have figured out how to use it to add citations to the references section without them being cited in the text:
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)