latex parser: handled nesting of opt args