#!/bin/bash set -e color=$1 input=$2 outpdf="/tmp/latexpic.pdf" outpng="/tmp/latexpic.png" cat <