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