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
802 stars 57 forks source link

Runtime Error 13 - Type Mismatch #5

Closed lcnittl closed 5 years ago

lcnittl commented 5 years ago

As stated in the FAQ

Q: When launching PowerPoint 2016, I get a "Type Mismatch" error.

I know. This seems to only happen on some machines (my laptop is one, if that's any consolation), for an unknown reason, and this somehow does not trigger PowerPoint's debugger , so I don't know where this comes from. Everything seems normal after just clicking "OK".

it can happen that a "Type mismatch" error happens when using IguanaTeX on different machines.

13 | Type Mismatch | Make sure your system regional settings are setup correctly and that the program you're running is made for your version of Windows.

I just found out that this can be due to a different "decimal symbol" setting ('.' vs ',') within the region/customize format settings.

The error occurred when generating IguanaTeX content on a '.' system and opening on a ',' system.

After setting the ',' system to use '.' as decimal symbol, the error was gone.

Jonathan-LeRoux commented 5 years ago

I'm not sure I was talking about the same error in the FAQ. Are you getting this error when you start PowerPoint? That's the issue I have been having on my Windows 8.1 laptop. My system is set to use '.' as decimal symbol. It sounds like you are getting the error when generating an IguanaTex display. If so, that's an error I hadn't heard of before.

lcnittl commented 5 years ago

I see. Yes, the error I get only occurs when trying to edit a LaTeX display with the ',' system that was originally created on the '.' system. (Both systems Win 10)

Jonathan-LeRoux commented 5 years ago

Thanks for confirming, I'll add a mention on the FAQ next time I update it!

universome commented 1 year ago

@lcnittl That solved the issue for me on MacOS, thank you