#!/bin/sh mkdir imgs 2>/dev/null cd imgs python3 ../data.py img || echo "You must install python3" cd .. cd document pdftex report.tex || echo "You must install \`pdftex\` (MacTeX, TeXLive, MikTeX, etc)" cd ..