Check that citations are all using cites
check_literal_citations(filename, .report_error)
filename
TeX document
.report_error
Function to report errors