aboutsummaryrefslogtreecommitdiff
path: root/presbuild
blob: 6f71cc43011505a21182682c5e3bcaff17961c53 (plain)
1
2
3
4
5
6
7
8
9
10
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"