first attempt to make a second pdf 'with notes' for every date

pull/2/head
Marius Melzer 6 years ago
parent 2dceef76ee
commit 337ade5853

@ -26,4 +26,7 @@ makefile_template = ERB.new(File.read("makefile_template.erb"))
File.write File.join(outdir_path, "Makefile"), makefile_template.result
latex_template = ERB.new(File.read("latex_template.tex.erb"))
notes=false
File.write File.join(outdir_path, "slides.tex"), latex_template.result
notes=true
File.write File.join(outdir_path, "slides_with_notes.tex"), latex_template.result

@ -9,7 +9,7 @@
\usepackage{tikz}
\setbeamertemplate{footline}[frame number]
\usepackage{pgfpages}
<% if notes do %>
<% if notes %>
\setbeameroption{show notes on second screen = right}
<% end %>

@ -1,3 +1,7 @@
slides.pdf: slides.tex <%= deck_files.join " " %>
pdflatex -draftmode $<
pdflatex $<
slides_with_notes.pdf: slides_with_notes.tex <%= deck_files.join " " %>
pdflatex -draftmode $<
pdflatex $<

Loading…
Cancel
Save