| | 1 | == Instructions for getting files from ShareLatex into astroph == |
| | 2 | |
| | 3 | === Step 1: fix figures in ShareLatex === |
| | 4 | |
| | 5 | If you see file-eps-to-pdf.pdf files in your sharelatex, do the following: |
| | 6 | |
| | 7 | 1. rename file-eps-to-pdf.pdf to file.pdf |
| | 8 | 2. edit sharelatex figures to use file.pdf instead of file.eps |
| | 9 | 3. compile, check for errors, fix |
| | 10 | |
| | 11 | === Step 2: fix big tables/figures/floats === |
| | 12 | |
| | 13 | 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 |
| | 14 | |
| | 15 | === Step 3: Download sharelatex files and strip comments from main.tex (or whatever the main file is) === |
| | 16 | |
| | 17 | The magical command is: |
| | 18 | {{{ |
| | 19 | perl -pe 's/(^|[^\\])%.*/\1%/' < old.tex > new.tex |
| | 20 | }}} |
| | 21 | |
| | 22 | 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) |
| | 23 | |
| | 24 | === Step 4: fix bib references === |
| | 25 | |
| | 26 | It seems there are multiple ways to do this, so of course we each got it to work a different way. |
| | 27 | |
| | 28 | Fix Ken's references: |
| | 29 | |
| | 30 | Compile file on share latex, save output.bbl, cut and paste into Ken's stripped tex file from step 3. |
| | 31 | |
| | 32 | Fix Heather's references: |
| | 33 | |
| | 34 | 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 |
| | 35 | |
| | 36 | === Step 5: update astroph tex files === |
| | 37 | |
| | 38 | upload ken's main1.tex file or heather's main.tex / main.bbl files, and try to process. |
| | 39 | |
| | 40 | If there are errors, *search* for ERROR and fix or get help. |
| | 41 | |
| | 42 | * floats -- > need clear page |
| | 43 | * images --> need to be uploaded or converted or match the tex |
| | 44 | |
| | 45 | === Step 6: update metadata === |
| | 46 | |
| | 47 | * Check that all the authors are listed in metadata and in correct order as paper |
| | 48 | * check that title is correct |
| | 49 | * check that abstract is correct |
| | 50 | * fix xx pages, yy figures, zz tables to match what is in paper. |
| | 51 | |
| | 52 | === Step 7: hit submit === |
| | 53 | |
| | 54 | * refresh until it says submitted |
| | 55 | * 11:00am HST seems to be the magical deadline for updates, this date will change on Jan 2. |
| | 56 | |
| | 57 | |
| | 58 | |