fixes so that make latexpdf works
Merge pull request #380 from rmcgibbo/latexpdf

fixes so that make latexpdf works