== Instructions for getting files from sharelatex into astroph == === Step 1: fix figures in sharelatex === If you see file-eps-to-pdf.pdf files in your sharelatex, do the following: 1. rename file-eps-to-pdf.pdf to file.pdf 2. edit sharelatex figures to use file.pdf instead of file.eps 3. compile, check for errors, fix === Step 2: fix big tables/figures/floats === This is what was preventing heather's tex file from working on astroph. add \clearpage right before big tables to force them to start on a new page. This removes the weird float errors on the astrph side === Step 3: Download sharelatex files and strip comments from main.tex (or whatever the main file is) === The magical command is: {{{ perl -pe 's/(^|[^\\])%.*/\1%/' < old.tex > new.tex }}} also, rename this file to whatever the tex file is on heather's astroph and ken's astroph accounts (heather's is main.tex, ken's is main1.tex) === Step 4: fix bib references === It seems there are multiple ways to do this, so of course we each got it to work a different way. Fix Ken's references: Compile file on share latex, save output.bbl, cut and paste into Ken's stripped tex file from step 3. Fix Heather's references: Compile file on share latex, save output.bbl to main.bbl (make sure name matches main.tex and that \bibliograph{main}{} is in the main.tex === Step 5: update astroph tex files === upload ken's main1.tex file or heather's main.tex / main.bbl files, and try to process. If there are errors, *search* for ERROR and fix or get help. * floats -- > need {{{\clearpage}}} before big tables * images --> need to be uploaded or converted or match the name in the .tex file === Step 6: update metadata === * Check that all the authors are listed in metadata and in correct order as paper * check that title is correct * check that abstract is correct * fix xx pages, yy figures, zz tables to match what is in paper. === Step 7: hit submit === * refresh until it says submitted * 11:00am HST seems to be the magical deadline for updates, this date will change on Jan 2.