latex recognition, got rid of annoying mappings, fixed java annotation indent