modified tests to expect latex tags in the output
one test case passing
gnarly ternaries to make illustration italics work