CommunityData:Build papers: Difference between revisions
From CommunityData
(Created page with "== Basic steps (quick and dirty version) == # Export a bib file from Zotero into the directory where you're building your paper. Call the file <code>refs.bib</code> # The fir...") |
(No difference)
|
Revision as of 21:25, 14 April 2016
Basic steps (quick and dirty version)
- Export a bib file from Zotero into the directory where you're building your paper. Call the file
refs.bib
- The first time you're building the paper, you can just run
make
ormake all
. After that, you probably want to runmake clean; make all
. This should work whether you're using an .Rnw (knitter) or .tex (LaTeX) file.
Style notes and more details (add as needed)
- For sanity, it's good to create sub-directories within the paper directory to store things like knitter data and figures. For most of our existing projects these sub-directories have informative names like
knitter_data
andfigures
. - Don't edit
refs-processed.bib
by hand. This is a file that the Makefile builds every time it compiles the paper. If you have some reason to edit the bibliography by hand, editsrefs.bib
, but do so at your own risk since collaborators and other Community Data folks may come by your repository and try to build the paper by downloading a new bib file from Zotero unless you tell them otherwise!