latex lexer: proper handling of whitespaces, ascii control characters and comments