Latex backend:  Regression bugs fixed. Java-exec tested in math mode, imp and demo tested in math, bubble and poster.