add test for --latex option in build matrix