When converting a Google Doc to a latex file, most of the figures with captions (using the Docx2Latex add-on functions) are duplicated. In the code produced you can see the code:
inserted above the figure code.
I assume this is a bug in the add-on as I have experienced this issue with multiple documents and conversions. I have no clue how to fix this issue except by manually deleting the snippet of code above. Can you help me with this?