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
890 stars 62 forks source link

Bug: Failure to use any function in PowerPoint 2019 32-bit #31

Closed ZheruQiu closed 2 years ago

ZheruQiu commented 2 years ago

There is an issue using IguanaTeX v1.60 on PowerPoint 2019 32-bit running on Windows 10 21H1. When I click any button on the IguanaTeX ribbon, a warning message is shown as follow and nothing happens.

image

Although this warning may suggest a security configuration problem, the same environment can run v1.59.1 without problem. Trying to run the macros in VBA, it seems a possible reason is the LongLong type used in these definitions are not supported on 32-bit PowerPoint

image

As a Windows user, I'm not sure about the functionality of these definitions, but one apparent workaround is to move these const definitions into the #If Mac Then block.

Jonathan-LeRoux commented 2 years ago

Thanks for reporting this. You're right, these declarations should be within the #If Mac Then block. I will release a small update in the next few dates.

Jonathan-LeRoux commented 2 years ago

This should now be fixed with the v1.60.1 release, please double check!