add latex boxes for end of proof
fix bad markup
Merge branch 'master' into gh-pages
rebuild ms after fixes