scripts for Markdown -> pandoc -> latex -> pdf presentations
This commit is contained in:
parent
7d06f75d19
commit
94573db73d
11
presbuild
Executable file
11
presbuild
Executable file
|
@ -0,0 +1,11 @@
|
||||||
|
# build a presentation from a markdown file via pandoc and latex beamer
|
||||||
|
|
||||||
|
if [ -z $1 ]; then
|
||||||
|
echo "needs name"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
outfile="${1%.md}.pdf"
|
||||||
|
|
||||||
|
pandoc "$1" -t beamer -o "$outfile"
|
||||||
|
xdg-open "$outfile"
|
Loading…
Reference in New Issue
Block a user