Allow 'tex' instead of 'latex' as format specifier