Jonathan-LeRoux / IguanaTex

A PowerPoint add-in allowing you to insert LaTeX equations into PowerPoint presentations on Windows and Mac
http://www.jonathanleroux.org/software/iguanatex/
Other
790 stars 57 forks source link

Attempt to convert a LaTeXiT display replaces the clipboard content (with the selected picture) #53

Closed Jonathan-LeRoux closed 8 months ago

Jonathan-LeRoux commented 10 months ago

The function GetLatexTextFromLatexItShape which tries to convert a LaTeXiT display into an IguanaTex display creates a new temporary .pptx file with only the display in it by copying and pasting the display. In doing so, it overwrites the current contents of the clipboard. We need to save the content of the clipboard (at least if it's text) before the processing, and put it back at the end.

Jonathan-LeRoux commented 8 months ago

This issue is now fixed in v1.60.3.