#!/bin/sh
xelatex main
asy main
xelatex main
makeindex main
bibtex main
xelatex main
xelatex main
mv main.pdf AsymptoteByExample.pdf