template structure
This commit is contained in:
8
scripts/slides_to_pdf.sh
Executable file
8
scripts/slides_to_pdf.sh
Executable file
@@ -0,0 +1,8 @@
|
||||
#! /usr/bin/env bash
|
||||
HIGHLIGHT_STYLE=tango
|
||||
SLIDE_LEVEL=2
|
||||
|
||||
my_header=$(<./templates/pdf_header.md)
|
||||
headEscapedForSed=${my_header//$'\n'/\\$'\n'}
|
||||
|
||||
sed -e "s|SLIDEHEAD|$headEscapedForSed|g" slides.md | pandoc -t beamer -o slides.pdf --slide-level=$SLIDE_LEVEL --highlight-style=$HIGHLIGHT_STYLE -H ./templates/code-style.tex
|
||||
Reference in New Issue
Block a user