make latex commands indent properly, also added JAVA_HOME entry to env settings