Removed whitespace at ends of lines.
texmath:  Make sure output ends with a newline.