name consistency
relax the document class detection regex a lot
handle another kind of warning inside number brackets