Skip to content

Commit

Permalink
prep for submission
Browse files Browse the repository at this point in the history
  • Loading branch information
jsta committed Jul 28, 2020
1 parent e6e1074 commit 6fc9af7
Show file tree
Hide file tree
Showing 6 changed files with 88 additions and 100 deletions.
10 changes: 6 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -117,17 +117,15 @@ data/lagosne_depth_predictors.csv
manuscript/combined.pdf: manuscript/figures.pdf manuscript/appendix.pdf
pdftk manuscript/figures.pdf manuscript/appendix.pdf output manuscript/combined.pdf

manuscript/appendix.pdf: manuscript/appendix.Rmd \
manuscript/appendix.pdf: manuscript/si_template_2019.tex \
figures/00_map_bathy-1.pdf \
figures/lgnemanual-vs-bathy-depth-1.pdf \
figures/01_contrasts-1.pdf \
figures/01_hypsography-1.pdf \
figures/01_geometry_grid-1.pdf \
figures/02_depth_model_importance-1.pdf \
figures/gg_effort-1.pdf
Rscript -e "rmarkdown::render('$<', output_format = 'pdf_document')"
-pdftk manuscript/appendix.pdf cat 2-end output manuscript/appendix2.pdf
-mv manuscript/appendix2.pdf manuscript/appendix.pdf
cd manuscript && make appendix.pdf

manuscript/figures.pdf: manuscript/figures.Rmd \
manuscript/tables.pdf \
Expand All @@ -153,6 +151,10 @@ manuscript/manuscript.pdf: manuscript/agujournaltemplate.tex \
manuscript/lagosdepth.bib
cd manuscript && make manuscript.pdf

wordcountms:
@echo wordcount:
@~/.TinyTeX/bin/x86_64-linux/texcount manuscript/agujournaltemplate.tex -sum -sub=section

# data/gis.gpkg
figures/00_map-1.pdf: figures/00_maps.Rmd
Rscript -e "rmarkdown::render('$<', output_format = 'pdf_document')"
Expand Down
7 changes: 5 additions & 2 deletions manuscript/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
manuscript.pdf: agujournaltemplate.pdf
manuscript.pdf: agujournaltemplate.pdf wrr_submission.pdf
cp agujournaltemplate.pdf manuscript.pdf
@echo wordcount:
@~/.TinyTeX/bin/x86_64-linux/texcount agujournaltemplate.tex -sum -sub=section -1
@~/.TinyTeX/bin/x86_64-linux/texcount agujournaltemplate.tex -sum -sub=section

appendix.pdf: si_template_2019.pdf
cp si_template_2019.pdf appendix.pdf

agujournaltemplate.pdf: agujournaltemplate.tex lagosdepth.bib
pdflatex agujournaltemplate
Expand Down
Loading

0 comments on commit 6fc9af7

Please sign in to comment.