#!/bin/sh neato -Txdot moves2.dot | dot2tex --preproc | neato -Txdot | dot2tex > moves2.tex && pdflatex moves2.tex && zathura moves2.pdf neato -Txdot moves2-empty.dot | dot2tex --preproc | neato -Txdot | dot2tex > moves2-empty.tex && pdflatex moves2-empty.tex && zathura moves2-empty.pdf