added caption, label, don't print semicolon, and custom user options to latex source generator