Add directives doc; Test latex setting