only keep tex is enough
change flag for OpenKey
add latex log syntex