summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKen Kellner <ken@kenkellner.com>2018-09-18 19:06:39 (GMT)
committerKen Kellner <ken@kenkellner.com>2018-09-18 19:06:39 (GMT)
commitc2f5a90cd0d667a267958bf15422405df459dc48 (patch)
tree144cd2e0e3390e4ef4d64af32b1fa4ee3dc310c1
parent27641c75ee141013acaeec7a24532887b5403ff2 (diff)
Switch back to pdftk and set up aspect optionsHEADv4.0master
-rw-r--r--.gitignore1
-rw-r--r--content.md10
-rw-r--r--makefile16
-rw-r--r--talk.tex3
4 files changed, 22 insertions, 8 deletions
diff --git a/.gitignore b/.gitignore
index 5f821b3..4c3c64a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -16,3 +16,4 @@ content.tex
datasources.R
images/*
figures*
+aspect.tex
diff --git a/content.md b/content.md
index 74034cd..7a052b4 100644
--- a/content.md
+++ b/content.md
@@ -189,9 +189,9 @@ How does timber harvesting affect:
\colbegin
\column{.4\paperwidth}
\centering
-\includegraphics[height=2.7in]{hee_map_sub.pdf}
+\includegraphics[height=2.5in]{hee_map_sub.pdf}
\column{.5\paperwidth}
-\includegraphics[height=2.7in]{hee_cores.pdf}
+\p\includegraphics[height=2.5in]{hee_cores.pdf}
\colend
## Bird Response Summary
@@ -337,6 +337,10 @@ Does this affect oak regeneration success?
## Visualizing the Simulation
\centering
+\includegraphics[height=2.4in]{soel/frame-0.png}
+
+## Visualizing the Simulation
+\centering
\animategraphics[loop,autoplay,height=2.4in]{4}{soel/frame-}{0}{33}
## Simulation Results
@@ -360,7 +364,7 @@ Does this affect oak regeneration success?
* Other filters more important for saplings
* Increased light > negative effects on dispersal
-## Overall Conclusions
+## Take-home
1. Timber harvest has both numeric and behavioral effects on wildlife
diff --git a/makefile b/makefile
index 9654667..af76a5a 100644
--- a/makefile
+++ b/makefile
@@ -1,12 +1,20 @@
+widescreen:
+ echo '\documentclass[aspectratio=169]{beamer}' > aspect.tex
+ make talk-cu-2018.pdf
+
+standard:
+ echo '\documentclass[aspectratio=43]{beamer}' > aspect.tex
+ make talk-cu-2018.pdf
+
talk-cu-2018.pdf: content.md talk.tex common.tex references.bib images figures
pandoc content.md --slide-level 2 --listings -t beamer -o content.tex
xelatex talk.tex
biber talk
xelatex talk.tex
- pdfjam talk.pdf 1-36 --fitpaper true --outfile talk1.pdf
- pdfjam talk.pdf 37- --fitpaper true --outfile talk2.pdf
+ pdftk talk.pdf cat 1-41 output talk1.pdf
+ pdftk talk.pdf cat 42-end output talk2.pdf
gs -sDEVICE=pdfwrite -dMaxSubsetPct=100 -dPDFSETTINGS=/prepress -dEmbedAllFonts=true -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -sOutputFile="talk1_small.pdf" -dNOPAUSE -dBATCH "talk1.pdf"
- pdfjam talk1_small.pdf talk2.pdf --fitpaper true --outfile talk-clemson-2018.pdf
+ pdftk talk1_small.pdf talk2.pdf cat output talk-clemson-2018.pdf
rm -f talk1_small.pdf talk2.pdf talk.pdf talk1.pdf
references.bib: content.md
@@ -21,4 +29,4 @@ figures: figures.R data-sources.R
Rscript figures.R
clean:
- rm -fv *.aux *.log *.toc *.blg *.bbl *.synctex.gz *.out *.snm *.nav *.vrb content.tex *.bib *.run.xml *.bcf
+ rm -fv *.aux *.log *.toc *.blg *.bbl *.synctex.gz *.out *.snm *.nav *.vrb content.tex *.bib *.run.xml *.bcf aspect.tex
diff --git a/talk.tex b/talk.tex
index ebc243d..944dea2 100644
--- a/talk.tex
+++ b/talk.tex
@@ -1,4 +1,5 @@
-\documentclass[aspectratio=43]{beamer}
+%\documentclass[aspectratio=169]{beamer}
+\input{aspect}
\usetheme{metropolis} % Use metropolis theme
\include{common}