Modifications to LaTeX output; added index to LaTeX; added shell script for generating pdf from LaTeX output