DOC-988 latex errors with code block within params list