#!/usr/bin/env bash

# Uses https://gitlab.wgtn.cat-it.co.nz/nickg/pandoc-catalyst-template 
# to build Markdown -> LaTeX -> PDF

set -e

docker run \
    --rm \
    -v $PWD:/source \
    gitlab.wgtn.cat-it.co.nz:4567/nickg/pandoc-catalyst-template:latest \
    userguide.md > rightplant-documentation.pdf