Releases: Jonathan-LeRoux/IguanaTex
v1.61
Summary
v1.61 fixes several issues, improves error handling, and moves from the obsolete Bitmap/Vector differentiation to Picture/Shape, which corresponds on both Windows and Mac to the actual difference between the two types of displays supported by IguanaTex.
Note: Some users have reported that the IguanaTex_v1_61.ppam
file below is sometimes recognized as malware by Windows Defender and some other vendors. I strongly believe this is a false positive, as has happened in the past. We are waiting for Microsoft to white-list this file. In the meantime, if you have any malware detection issues, you can download the .pptm file and create your own .ppam file by using "Save as" (or "Export" on Mac) and selecting the file type as "PowerPoint Add-in (*.ppam)". Users report that the created .ppam is not considered as a threat.
Download
- Add-in for Windows:
IguanaTex_v1_61.ppam
- Add-in with prebuilt files for Mac:
IguanaTex_v1_61.zip
(containsIguanaTex.scpt
,libIguanaTexHelper.dylib
,IguanaTex_v1_61.ppam
) - Source code:
IguanaTex_v1_61.pptm
Note: IguanaTex_v1_61.ppam
is the same for Windows and Mac.
LaTeXiT support:
LaTeXiT-metadata-Win.zip
(Windows)LaTeXiT-metadata-macos
(Mac) (Note: make sure to give execute permission to LaTeXiT-metadata-macos)
Installation
Please refer to the README.
Help welcome in identifying:
- Missing or unclear installation instructions
- Broken features and quirks
- Potential improvements
Full list of changes
New in IguanaTex 1.61 (March 27, 2024)
- (Win/Mac) Changed Bitmap/Vector naming to Picture/Shape, to reflect the actual difference in how PowerPoint handles each type of display. The naming also better suits the fact that Picture displays on Mac are PDF and thus cannot be described as Bitmap. (fixes #41)
- (Win/Mac) Raise an error if user tries to use a combination of engine and output which requires ImageMagick without its path pointing to a file that exists (i.e., PNG output with all engines other than "latex (DVI)").
- (Mac) Implemented PNG support for Mac
- (Mac) Added option in Main Settings to specify extra path(s) to handle packages that require external executables such as pygmentize (fixes #55)
- (Win/Mac) Added option in Main Settings to decide whether to include Alternative Text or not
- (Win/Mac) Fixed bug that could occur when using dvipng and there exists already a PNG file from a prior run.
- (Win/Mac) Improved handling of error when PowerPoint version does not support conversion of SVG to Shape. (somewhat fixes #54)
- (Win/Mac) Fixed bugs in the Load Vector Graphics File function: it was impossible to load DVI/XDV files, and they would not have been processed correctly anyway; options for post-processing in the EMF conversion case were incorrectly disabled.
New in IguanaTex 1.60.3 (October 13, 2023)
- (Win/Mac) Fixed bug where extracting a LaTeXiT display (or simply checking if a display was created with LaTeXiT) would replace the clipboard text
- (Win/Mac) Fixed bug that resulted in unnecessarily checking if every display in a slide is a LaTeX display. This resulted in significant slowdowns particularly when checking for potential LaTeXiT displays is enabled. Code will now only check when necessary, and when necessary will only check the first time it encounters a given display.
New in IguanaTex 1.60.2 (August 8, 2022)
- (Win) Fixed bug occurring when using the Insert Vector Graphics File function with a presentation in a OneDrive/SharePoint directory
New in IguanaTex 1.60.1 (May 26, 2022)
- (Win/Mac) Fixed bug that would occur when no slide is selected
- (Win) Fixed bug that prevented the add-in from running on 32 bit Windows
- (Win) Changed default ImageMagick executable to magick.exe
- (Mac) Moved back to using a very thin margin on Bitmap/PDF displays on Mac. This results in the displays being cropped when viewed on Windows, but at least the size is consistent, and Windows users can "regenerate" the display in PNG at the right size by using the "rasterize" function.
New in IguanaTex 1.60 (May 20, 2022)
- (Win/Mac) Changed Main Settings icon so that it works also on Mac (
ControlsGallery
icon is not available on Office for Mac, switched toControlToolboxOutlook
) - (Win/Mac) Replaced
CDbl
byVal
in bounding box computation (fixes #18) - (Win/Mac) Implemented SVG generation via XDV/DVI file with dvisvgm (the original PDF->SVG vector route is still available as another option). This circumvents issue with some symbols when converting to SVG via PDF (#22). Added ControlTipText in Main Settings menu recommending the SVG via DVI route. Note that I considered adding more general support for XDV/DVI for xelatex, lualatex, and platex, but there is no good way to convert straight to PNG for the XDV/DVI files generated by these engines. Note also that platex already goes through DVI to generate PDF (and then PNG/EMF/SVG).
- (Win/Mac) Added DVI/XDV support when loading vector graphics files
- (Win/Mac) Refactored and simplified compilation pipeline.
- (Win/Mac) Fixed bug when loading EPS file.
- (Win/Mac) Made the "Close/Continue" button in the Error/Debug window the default selected button. As as side-effect, it is now clearer on Mac that clicking the "Copy" button is having an effect because the button becomes selected. Unfortunately, command buttons do not appear depressed when clicked on Mac, and because "Copy" does not have any visible effect, it wasn't clear that it was working.
- (Win/Mac) Fixed bug that lead to resize issues when a display's file format changed to another during regeneration (e.g., PDF<->PNG)
- (Win/Mac) On Windows, updated instructions regarding setting ImageMagick's path to magick.exe instead of convert.exe; on Mac, removed irrelevant reference in the README's instructions and removed the path selection in the Main Settings.
- (Mac) Enabled copy, cut, paste, select all, undo, redo globally in all text forms, via usual Command+Key keyboard shortcuts (This is a major feat, thanks Tsung-Ju!!)
- (Mac) Enabled shortcuts/accelerators on Mac. The accelerators are mapped to “ctrl+cmd+*” to avoid collision with system shortcuts. (Another major feat, thanks Tsung-Ju!!)
- (Mac) Changed default path for LaTeXiT-metadata application on Mac to /Library/Application Support/Microsoft/Office365/User Content.localized/Add-Ins.localized/LaTeXiT-metadata-macos, and added test for its existence if the file is under that folder. We do not check otherwise because this would trigger a permission request.
- (Mac) Debug option on Mac now shows command that will be run and offers the user to copy it, similarly to Windows. The only remaining difference is that the output of each run is only shown on Windows, not Mac.
- (Win) Added proper unicode support for strings saved to the registry (fixes #17).
- (Win) Automatically replace gswin32.exe/gswin64.exe with gswin32c.exe/gswin64c.exe (with a "c")
- (Win) Allow use of LaTeX installations that do not rely on .exe binaries by removing an unnecessary check
New in IguanaTex 1.59.1 (February 17, 2022)
- (Mac) Add-in is now M1 compatible (new dylib, fixed bug in TextWindowFont)
New in IguanaTex 1.59.0 (April 25, 2021)
- Added Mac support:
- integrated original Mac port by Tsung-Ju Chiang into latest Windows code, leading to single code base supporting both platforms.
- fixed minor issues with original Mac port: made UserForms appear the same size as on Windows (they used to be 3/4 smaller) and tweaked labels so that no text gets truncated; removed Accelerators, which are not implemented on VBA for Mac; ...
- replaced PNG with PDF for "Bitmap" on Mac (except when selecting DVIPNG compilation route): PDFs are inserted as pictures on Mac, even though they're really vector graphics under the hood (internally stored as EMF); they cannot be converted into Shapes, unfortunately.
- enabled "Vector" support on Mac, in which a display is inserted as SVG and converted into a Shape object. Contrary to EMF on Windows, Shapes obtained from SVG cannot be "ungrouped" so that individual elements can be modified independently. User needs to set path to libgs.9.dylib in Main Settings (if default one is not correct).
- enabled support for "Load vector graphics file" on Mac, with support for PS/EPS/PDF/SVG (no EMF at this point and for the foreseeable future). SVG is used for converting PS/EPS/PDF before insertion, which means that the inserted Shape cannot be freely decomposed into smaller elements, unfortunately.
- added options for setting the default height/width of the editor window in Main Settings
- enabled support for dynamically resizable editor window on Mac (Thanks, Tsung-Ju!)
- enabled support for M1 Silicon Macs (Thanks, Ts...
v1.60.3
Summary
v1.60 is the first official release supporting both Mac and Windows, as well as SVG.
Many thanks to Tsung-Ju Chiang for his great work on the Mac version.
Major new features include Mac and SVG support (from the beta v1.59), with many bug fixes and UI improvements (in particular, keyboard shortcuts on Mac).
Note: LaTeXiT-metadata-Win.zip has been updated to fix a bug where equation environments were not properly handled.
v1.60.3 is a minor update to address issues related to LaTeXiT support.
Download
- Add-in for Windows:
IguanaTex_v1_60_3.ppam
- Add-in with prebuilt files for Mac:
IguanaTex_v1_60_3.zip
(containsIguanaTex.scpt
,libIguanaTexHelper.dylib
,IguanaTex_v1_60_3.ppam
) - Source code:
IguanaTex_v1_60_3.pptm
Note: IguanaTex_v1_60_3.ppam
is the same for Windows and Mac.
LaTeXiT support:
LaTeXiT-metadata-Win.zip
(Windows)LaTeXiT-metadata-macos
(Mac) (Note: make sure to give execute permission to LaTeXiT-metadata-macos)
Installation
Please refer to the README.
Help welcome in identifying:
- Missing or unclear installation instructions
- Broken features and quirks
- Potential improvements
Full list of changes
New in IguanaTex 1.60.3 (October 13, 2023)
- (Win/Mac) Fixed bug where extracting a LaTeXiT display (or simply checking if a display was created with LaTeXiT) would replace the clipboard text
- (Win/Mac) Fixed bug that resulted in unnecessarily checking if every display in a slide is a LaTeX display. This resulted in significant slowdowns particularly when checking for potential LaTeXiT displays is enabled. Code will now only check when necessary, and when necessary will only check the first time it encounters a given display.
New in IguanaTex 1.60.2 (August 8, 2022)
- (Win) Fixed bug occurring when using the Insert Vector Graphics File function with a presentation in a OneDrive/SharePoint directory
New in IguanaTex 1.60.1 (May 26, 2022)
- (Win/Mac) Fixed bug that would occur when no slide is selected
- (Win) Fixed bug that prevented the add-in from running on 32 bit Windows
- (Win) Changed default ImageMagick executable to magick.exe
- (Mac) Moved back to using a very thin margin on Bitmap/PDF displays on Mac. This results in the displays being cropped when viewed on Windows, but at least the size is consistent, and Windows users can "regenerate" the display in PNG at the right size by using the "rasterize" function.
New in IguanaTex 1.60 (May 20, 2022)
- (Win/Mac) Changed Main Settings icon so that it works also on Mac (
ControlsGallery
icon is not available on Office for Mac, switched toControlToolboxOutlook
) - (Win/Mac) Replaced
CDbl
byVal
in bounding box computation (fixes #18) - (Win/Mac) Implemented SVG generation via XDV/DVI file with dvisvgm (the original PDF->SVG vector route is still available as another option). This circumvents issue with some symbols when converting to SVG via PDF (#22). Added ControlTipText in Main Settings menu recommending the SVG via DVI route. Note that I considered adding more general support for XDV/DVI for xelatex, lualatex, and platex, but there is no good way to convert straight to PNG for the XDV/DVI files generated by these engines. Note also that platex already goes through DVI to generate PDF (and then PNG/EMF/SVG).
- (Win/Mac) Added DVI/XDV support when loading vector graphics files
- (Win/Mac) Refactored and simplified compilation pipeline.
- (Win/Mac) Fixed bug when loading EPS file.
- (Win/Mac) Made the "Close/Continue" button in the Error/Debug window the default selected button. As as side-effect, it is now clearer on Mac that clicking the "Copy" button is having an effect because the button becomes selected. Unfortunately, command buttons do not appear depressed when clicked on Mac, and because "Copy" does not have any visible effect, it wasn't clear that it was working.
- (Win/Mac) Fixed bug that lead to resize issues when a display's file format changed to another during regeneration (e.g., PDF<->PNG)
- (Win/Mac) On Windows, updated instructions regarding setting ImageMagick's path to magick.exe instead of convert.exe; on Mac, removed irrelevant reference in the README's instructions and removed the path selection in the Main Settings.
- (Mac) Enabled copy, cut, paste, select all, undo, redo globally in all text forms, via usual Command+Key keyboard shortcuts (This is a major feat, thanks Tsung-Ju!!)
- (Mac) Enabled shortcuts/accelerators on Mac. The accelerators are mapped to “ctrl+cmd+*” to avoid collision with system shortcuts. (Another major feat, thanks Tsung-Ju!!)
- (Mac) Changed default path for LaTeXiT-metadata application on Mac to /Library/Application Support/Microsoft/Office365/User Content.localized/Add-Ins.localized/LaTeXiT-metadata-macos, and added test for its existence if the file is under that folder. We do not check otherwise because this would trigger a permission request.
- (Mac) Debug option on Mac now shows command that will be run and offers the user to copy it, similarly to Windows. The only remaining difference is that the output of each run is only shown on Windows, not Mac.
- (Win) Added proper unicode support for strings saved to the registry (fixes #17).
- (Win) Automatically replace gswin32.exe/gswin64.exe with gswin32c.exe/gswin64c.exe (with a "c")
- (Win) Allow use of LaTeX installations that do not rely on .exe binaries by removing an unnecessary check
New in IguanaTex 1.59.1 (February 17, 2022)
- (Mac) Add-in is now M1 compatible (new dylib, fixed bug in TextWindowFont)
New in IguanaTex 1.59.0 (April 25, 2021)
- Added Mac support:
- integrated original Mac port by Tsung-Ju Chiang into latest Windows code, leading to single code base supporting both platforms.
- fixed minor issues with original Mac port: made UserForms appear the same size as on Windows (they used to be 3/4 smaller) and tweaked labels so that no text gets truncated; removed Accelerators, which are not implemented on VBA for Mac; ...
- replaced PNG with PDF for "Bitmap" on Mac (except when selecting DVIPNG compilation route): PDFs are inserted as pictures on Mac, even though they're really vector graphics under the hood (internally stored as EMF); they cannot be converted into Shapes, unfortunately.
- enabled "Vector" support on Mac, in which a display is inserted as SVG and converted into a Shape object. Contrary to EMF on Windows, Shapes obtained from SVG cannot be "ungrouped" so that individual elements can be modified independently. User needs to set path to libgs.9.dylib in Main Settings (if default one is not correct).
- enabled support for "Load vector graphics file" on Mac, with support for PS/EPS/PDF/SVG (no EMF at this point and for the foreseeable future). SVG is used for converting PS/EPS/PDF before insertion, which means that the inserted Shape cannot be freely decomposed into smaller elements, unfortunately.
- added options for setting the default height/width of the editor window in Main Settings
- enabled support for dynamically resizable editor window on Mac (Thanks, Tsung-Ju!)
- enabled support for M1 Silicon Macs (Thanks, Tsung-Ju!)
- Significant code cleaning and refactoring: all variable declarations enforced via "Option Explicit"; coding style improvements suggested by Rubberduck; redundant code made into separate Subs/Functions.
- Added SVG support on Windows (Office 365 only). See above for Mac.
- Added option for selecting between SVG, EMF via TeX2img's pdfiumdraw (.tex->.pdf->.emf conversion, fast), and EMF via TeX2img itself (direct .tex->.emf conversion, slower but potentially more robust). SVG seems to lead to the best looking outcome, but one downside is that the obtained Shape cannot be "ungrouped", so that one cannot interact with individual elements.
- Added option for selecting between SVG and EMF for conversion when inserting a vector graphics file, and added option to skip shape cleanup procedure, which may be irrelevant and not work with EMF or EPS files generated by some software.
- Added support for reading LaTeX source from images inserted from LaTeXiT: this requires downloading executables (different ones on Windows and Mac) that parse the EMF/PDF files generated by LaTeXiT to retrieve the source. Major thanks to Pierre Chatelier, the developer of LaTeXiT, for kindly implementing all the parsing code, this would have been totally impossible without his fantastic help.
- Added option to use latexmk for compilation
- Added option to always keep temporary files, even when not in debug mode.
- Fixed width and height in some forms to avoid issue where a form would appear much smaller than designed, likely due to display dpi issues
- Replaced ClipBoard copying code with something much simpler that does not rely on Windows API (Windows) and added ClipBoard support on Mac using AppleScript (Thanks, Tsung-Ju!)
- Error messages now displayed in a Us...
v1.60.2
Summary
v1.60 is the first official release supporting both Mac and Windows, as well as SVG.
Many thanks to Tsung-Ju Chiang for his great work on the Mac version.
Major new features include Mac and SVG support (from the beta v1.59), with many bug fixes and UI improvements (in particular, keyboard shortcuts on Mac).
Note: LaTeXiT-metadata-Win.zip has been updated to fix a bug where equation environments were not properly handled.
v1.60.2 is a small update to address:
- Issue #34: Load Vector Graphics File function does not work if presentation saved in OneDrive/SharePoint folder
Download
- Add-in for Windows:
IguanaTex_v1_60_2.ppam
- Add-in with prebuilt files for Mac:
IguanaTex_v1_60_2.zip
(containsIguanaTex.scpt
,libIguanaTexHelper.dylib
,IguanaTex_v1_60_2.ppam
) - Source code:
IguanaTex_v1_60_2.pptm
Note: IguanaTex_v1_60_2.ppam
is the same for Windows and Mac.
LaTeXiT support:
LaTeXiT-metadata-Win.zip
(Windows)LaTeXiT-metadata-macos
(Mac) (Note: make sure to give execute permission to LaTeXiT-metadata-macos)
Installation
Please refer to the README.
Help welcome in identifying:
- Missing or unclear installation instructions
- Broken features and quirks
- Supported features in different Office versions (e.g., is SVG supported in Office 2019 Windows?)
- Potential improvements
Full list of changes
New in IguanaTex 1.60.2 (August 8, 2022)
- (Win) Fixed bug occurring when using the Insert Vector Graphics File function with a presentation in a OneDrive/SharePoint directory
New in IguanaTex 1.60.1 (May 26, 2022)
- (Win/Mac) Fixed bug that would occur when no slide is selected
- (Win) Fixed bug that prevented the add-in from running on 32 bit Windows
- (Win) Changed default ImageMagick executable to magick.exe
- (Mac) Moved back to using a very thin margin on Bitmap/PDF displays on Mac. This results in the displays being cropped when viewed on Windows, but at least the size is consistent, and Windows users can "regenerate" the display in PNG at the right size by using the "rasterize" function.
New in IguanaTex 1.60 (May 20, 2022)
- (Win/Mac) Changed Main Settings icon so that it works also on Mac (
ControlsGallery
icon is not available on Office for Mac, switched toControlToolboxOutlook
) - (Win/Mac) Replaced
CDbl
byVal
in bounding box computation (fixes #18) - (Win/Mac) Implemented SVG generation via XDV/DVI file with dvisvgm (the original PDF->SVG vector route is still available as another option). This circumvents issue with some symbols when converting to SVG via PDF (#22). Added ControlTipText in Main Settings menu recommending the SVG via DVI route. Note that I considered adding more general support for XDV/DVI for xelatex, lualatex, and platex, but there is no good way to convert straight to PNG for the XDV/DVI files generated by these engines. Note also that platex already goes through DVI to generate PDF (and then PNG/EMF/SVG).
- (Win/Mac) Added DVI/XDV support when loading vector graphics files
- (Win/Mac) Refactored and simplified compilation pipeline.
- (Win/Mac) Fixed bug when loading EPS file.
- (Win/Mac) Made the "Close/Continue" button in the Error/Debug window the default selected button. As as side-effect, it is now clearer on Mac that clicking the "Copy" button is having an effect because the button becomes selected. Unfortunately, command buttons do not appear depressed when clicked on Mac, and because "Copy" does not have any visible effect, it wasn't clear that it was working.
- (Win/Mac) Fixed bug that lead to resize issues when a display's file format changed to another during regeneration (e.g., PDF<->PNG)
- (Win/Mac) On Windows, updated instructions regarding setting ImageMagick's path to magick.exe instead of convert.exe; on Mac, removed irrelevant reference in the README's instructions and removed the path selection in the Main Settings.
- (Mac) Enabled copy, cut, paste, select all, undo, redo globally in all text forms, via usual Command+Key keyboard shortcuts (This is a major feat, thanks Tsung-Ju!!)
- (Mac) Enabled shortcuts/accelerators on Mac. The accelerators are mapped to “ctrl+cmd+*” to avoid collision with system shortcuts. (Another major feat, thanks Tsung-Ju!!)
- (Mac) Changed default path for LaTeXiT-metadata application on Mac to /Library/Application Support/Microsoft/Office365/User Content.localized/Add-Ins.localized/LaTeXiT-metadata-macos, and added test for its existence if the file is under that folder. We do not check otherwise because this would trigger a permission request.
- (Mac) Debug option on Mac now shows command that will be run and offers the user to copy it, similarly to Windows. The only remaining difference is that the output of each run is only shown on Windows, not Mac.
- (Win) Added proper unicode support for strings saved to the registry (fixes #17).
- (Win) Automatically replace gswin32.exe/gswin64.exe with gswin32c.exe/gswin64c.exe (with a "c")
- (Win) Allow use of LaTeX installations that do not rely on .exe binaries by removing an unnecessary check
New in IguanaTex 1.59.1 (February 17, 2022)
- (Mac) Add-in is now M1 compatible (new dylib, fixed bug in TextWindowFont)
New in IguanaTex 1.59.0 (April 25, 2021)
- Added Mac support:
- integrated original Mac port by Tsung-Ju Chiang into latest Windows code, leading to single code base supporting both platforms.
- fixed minor issues with original Mac port: made UserForms appear the same size as on Windows (they used to be 3/4 smaller) and tweaked labels so that no text gets truncated; removed Accelerators, which are not implemented on VBA for Mac; ...
- replaced PNG with PDF for "Bitmap" on Mac (except when selecting DVIPNG compilation route): PDFs are inserted as pictures on Mac, even though they're really vector graphics under the hood (internally stored as EMF); they cannot be converted into Shapes, unfortunately.
- enabled "Vector" support on Mac, in which a display is inserted as SVG and converted into a Shape object. Contrary to EMF on Windows, Shapes obtained from SVG cannot be "ungrouped" so that individual elements can be modified independently. User needs to set path to libgs.9.dylib in Main Settings (if default one is not correct).
- enabled support for "Load vector graphics file" on Mac, with support for PS/EPS/PDF/SVG (no EMF at this point and for the foreseeable future). SVG is used for converting PS/EPS/PDF before insertion, which means that the inserted Shape cannot be freely decomposed into smaller elements, unfortunately.
- added options for setting the default height/width of the editor window in Main Settings
- enabled support for dynamically resizable editor window on Mac (Thanks, Tsung-Ju!)
- enabled support for M1 Silicon Macs (Thanks, Tsung-Ju!)
- Significant code cleaning and refactoring: all variable declarations enforced via "Option Explicit"; coding style improvements suggested by Rubberduck; redundant code made into separate Subs/Functions.
- Added SVG support on Windows (Office 365 only). See above for Mac.
- Added option for selecting between SVG, EMF via TeX2img's pdfiumdraw (.tex->.pdf->.emf conversion, fast), and EMF via TeX2img itself (direct .tex->.emf conversion, slower but potentially more robust). SVG seems to lead to the best looking outcome, but one downside is that the obtained Shape cannot be "ungrouped", so that one cannot interact with individual elements.
- Added option for selecting between SVG and EMF for conversion when inserting a vector graphics file, and added option to skip shape cleanup procedure, which may be irrelevant and not work with EMF or EPS files generated by some software.
- Added support for reading LaTeX source from images inserted from LaTeXiT: this requires downloading executables (different ones on Windows and Mac) that parse the EMF/PDF files generated by LaTeXiT to retrieve the source. Major thanks to Pierre Chatelier, the developer of LaTeXiT, for kindly implementing all the parsing code, this would have been totally impossible without his fantastic help.
- Added option to use latexmk for compilation
- Added option to always keep temporary files, even when not in debug mode.
- Fixed width and height in some forms to avoid issue where a form would appear much smaller than designed, likely due to display dpi issues
- Replaced ClipBoard copying code with something much simpler that does not rely on Windows API (Windows) and added ClipBoard support on Mac using AppleScript (Thanks, Tsung-Ju!)
- Error messages now displayed in a UserForm with a button to copy to clipboard the command that led to an error (instead of forcing copy to clipboard, which may overwrite important information without the user first giving consent)
- Removed UseUTF8 option as not using it does not appear to have a clear advantage
- Transparency no longer han...
v1.60.1
Summary
v1.60 is the first official release supporting both Mac and Windows, as well as SVG.
Many thanks to Tsung-Ju Chiang for his great work on the Mac version.
Major new features include Mac and SVG support (from the beta v1.59), with many bug fixes and UI improvements (in particular, keyboard shortcuts on Mac).
Note: LaTeXiT-metadata-Win.zip has been updated to fix a bug where equation environments were not properly handled.
v1.60.1 is a small update to address:
- Issue #31: add-in not running on Windows 32 bit
- To some extent, Issue #32: I reverted to using a tight crop on Mac Bitmap (PDF) displays, as the extra margin resulted in bad resizing issues when going from Bitmap to Vector formats. The Bitmap displays generated on Mac thus do appear cropped on Windows, but at least Windows users can use "rasterize" or "vectorize" and regenerate a non-cropped display with the originally intended size.
- Issue arising when trying to generate a display without any slide being selected (can't believe I never noticed this in 8 years...)
Download
- Add-in for Windows:
IguanaTex_v1_60_1.ppam
- Add-in with prebuilt files for Mac:
IguanaTex_v1_60_1.zip
(containsIguanaTex.scpt
,libIguanaTexHelper.dylib
,IguanaTex_v1_60_1.ppam
) - Source code:
IguanaTex_v1_60_1.pptm
Note: IguanaTex_v1_60_1.ppam
is the same for Windows and Mac.
LaTeXiT support:
LaTeXiT-metadata-Win.zip
(Windows)LaTeXiT-metadata-macos
(Mac) (Note: make sure to give execute permission to LaTeXiT-metadata-macos)
Installation
Please refer to the README.
Help welcome in identifying:
- Missing or unclear installation instructions
- Broken features and quirks
- Supported features in different Office versions (e.g., is SVG supported in Office 2019 Windows?)
- Potential improvements
Full list of changes
New in IguanaTex 1.60.1 (May 26, 2022)
- (Win/Mac) Fixed bug that would occur when no slide is selected
- (Win) Fixed bug that prevented the add-in from running on 32 bit Windows
- (Win) Changed default ImageMagick executable to magick.exe
- (Mac) Moved back to using a very thin margin on Bitmap/PDF displays on Mac. This results in the displays being cropped when viewed on Windows, but at least the size is consistent, and Windows users can "regenerate" the display in PNG at the right size by using the "rasterize" function.
New in IguanaTex 1.60 (May 20, 2022)
- (Win/Mac) Changed Main Settings icon so that it works also on Mac (
ControlsGallery
icon is not available on Office for Mac, switched toControlToolboxOutlook
) - (Win/Mac) Replaced
CDbl
byVal
in bounding box computation (fixes #18) - (Win/Mac) Implemented SVG generation via XDV/DVI file with dvisvgm (the original PDF->SVG vector route is still available as another option). This circumvents issue with some symbols when converting to SVG via PDF (#22). Added ControlTipText in Main Settings menu recommending the SVG via DVI route. Note that I considered adding more general support for XDV/DVI for xelatex, lualatex, and platex, but there is no good way to convert straight to PNG for the XDV/DVI files generated by these engines. Note also that platex already goes through DVI to generate PDF (and then PNG/EMF/SVG).
- (Win/Mac) Added DVI/XDV support when loading vector graphics files
- (Win/Mac) Refactored and simplified compilation pipeline.
- (Win/Mac) Fixed bug when loading EPS file.
- (Win/Mac) Made the "Close/Continue" button in the Error/Debug window the default selected button. As as side-effect, it is now clearer on Mac that clicking the "Copy" button is having an effect because the button becomes selected. Unfortunately, command buttons do not appear depressed when clicked on Mac, and because "Copy" does not have any visible effect, it wasn't clear that it was working.
- (Win/Mac) Fixed bug that lead to resize issues when a display's file format changed to another during regeneration (e.g., PDF<->PNG)
- (Win/Mac) On Windows, updated instructions regarding setting ImageMagick's path to magick.exe instead of convert.exe; on Mac, removed irrelevant reference in the README's instructions and removed the path selection in the Main Settings.
- (Mac) Enabled copy, cut, paste, select all, undo, redo globally in all text forms, via usual Command+Key keyboard shortcuts (This is a major feat, thanks Tsung-Ju!!)
- (Mac) Enabled shortcuts/accelerators on Mac. The accelerators are mapped to “ctrl+cmd+*” to avoid collision with system shortcuts. (Another major feat, thanks Tsung-Ju!!)
- (Mac) Changed default path for LaTeXiT-metadata application on Mac to /Library/Application Support/Microsoft/Office365/User Content.localized/Add-Ins.localized/LaTeXiT-metadata-macos, and added test for its existence if the file is under that folder. We do not check otherwise because this would trigger a permission request.
- (Mac) Debug option on Mac now shows command that will be run and offers the user to copy it, similarly to Windows. The only remaining difference is that the output of each run is only shown on Windows, not Mac.
- (Win) Added proper unicode support for strings saved to the registry (fixes #17).
- (Win) Automatically replace gswin32.exe/gswin64.exe with gswin32c.exe/gswin64c.exe (with a "c")
- (Win) Allow use of LaTeX installations that do not rely on .exe binaries by removing an unnecessary check
New in IguanaTex 1.59.1 (February 17, 2022)
- (Mac) Add-in is now M1 compatible (new dylib, fixed bug in TextWindowFont)
New in IguanaTex 1.59.0 (April 25, 2021)
- Added Mac support:
- integrated original Mac port by Tsung-Ju Chiang into latest Windows code, leading to single code base supporting both platforms.
- fixed minor issues with original Mac port: made UserForms appear the same size as on Windows (they used to be 3/4 smaller) and tweaked labels so that no text gets truncated; removed Accelerators, which are not implemented on VBA for Mac; ...
- replaced PNG with PDF for "Bitmap" on Mac (except when selecting DVIPNG compilation route): PDFs are inserted as pictures on Mac, even though they're really vector graphics under the hood (internally stored as EMF); they cannot be converted into Shapes, unfortunately.
- enabled "Vector" support on Mac, in which a display is inserted as SVG and converted into a Shape object. Contrary to EMF on Windows, Shapes obtained from SVG cannot be "ungrouped" so that individual elements can be modified independently. User needs to set path to libgs.9.dylib in Main Settings (if default one is not correct).
- enabled support for "Load vector graphics file" on Mac, with support for PS/EPS/PDF/SVG (no EMF at this point and for the foreseeable future). SVG is used for converting PS/EPS/PDF before insertion, which means that the inserted Shape cannot be freely decomposed into smaller elements, unfortunately.
- added options for setting the default height/width of the editor window in Main Settings
- enabled support for dynamically resizable editor window on Mac (Thanks, Tsung-Ju!)
- enabled support for M1 Silicon Macs (Thanks, Tsung-Ju!)
- Significant code cleaning and refactoring: all variable declarations enforced via "Option Explicit"; coding style improvements suggested by Rubberduck; redundant code made into separate Subs/Functions.
- Added SVG support on Windows (Office 365 only). See above for Mac.
- Added option for selecting between SVG, EMF via TeX2img's pdfiumdraw (.tex->.pdf->.emf conversion, fast), and EMF via TeX2img itself (direct .tex->.emf conversion, slower but potentially more robust). SVG seems to lead to the best looking outcome, but one downside is that the obtained Shape cannot be "ungrouped", so that one cannot interact with individual elements.
- Added option for selecting between SVG and EMF for conversion when inserting a vector graphics file, and added option to skip shape cleanup procedure, which may be irrelevant and not work with EMF or EPS files generated by some software.
- Added support for reading LaTeX source from images inserted from LaTeXiT: this requires downloading executables (different ones on Windows and Mac) that parse the EMF/PDF files generated by LaTeXiT to retrieve the source. Major thanks to Pierre Chatelier, the developer of LaTeXiT, for kindly implementing all the parsing code, this would have been totally impossible without his fantastic help.
- Added option to use latexmk for compilation
- Added option to always keep temporary files, even when not in debug mode.
- Fixed width and height in some forms to avoid issue where a form would appear much smaller than designed, likely due to display dpi issues
- Replaced ClipBoard copying code with something much simpler that does not rely on Windows API (Windows) and added ClipBoard support on Mac using AppleScript (Thanks, Tsung-Ju!)
- Error messa...
v1.60
Summary
v1.60 is the first official release supporting both Mac and Windows, as well as SVG.
Many thanks to Tsung-Ju Chiang for his great work on the Mac version.
Major new features include Mac and SVG support (from the beta v1.59), with many bug fixes and UI improvements (in particular, keyboard shortcuts on Mac).
Download
- Add-in for Windows:
IguanaTex_v1_60.ppam
- Add-in with prebuilt files for Mac:
IguanaTex_v1_60.zip
(containsIguanaTex.scpt
,libIguanaTexHelper.dylib
,IguanaTex_v1_60.ppam
) - Source code:
IguanaTex_v1_60.pptm
Note: IguanaTex_v1_60.ppam
is the same for Windows and Mac.
LaTeXiT support:
LaTeXiT-metadata-Win.zip
(Windows)LaTeXiT-metadata-macos
(Mac) (Note: make sure to give execute permission to LaTeXiT-metadata-macos)
Installation
Please refer to the README.
Help welcome in identifying:
- Missing or unclear installation instructions
- Broken features and quirks
- Supported features in different Office versions (e.g., is SVG supported in Office 2019 Windows?)
- Potential improvements
Full list of changes
New in IguanaTex 1.60 (May 20, 2022)
- (Win/Mac) Changed Main Settings icon so that it works also on Mac (
ControlsGallery
icon is not available on Office for Mac, switched toControlToolboxOutlook
) - (Win/Mac) Replaced
CDbl
byVal
in bounding box computation (fixes #18) - (Win/Mac) Implemented SVG generation via XDV/DVI file with dvisvgm (the original PDF->SVG vector route is still available as another option). This circumvents issue with some symbols when converting to SVG via PDF (#22). Added ControlTipText in Main Settings menu recommending the SVG via DVI route. Note that I considered adding more general support for XDV/DVI for xelatex, lualatex, and platex, but there is no good way to convert straight to PNG for the XDV/DVI files generated by these engines. Note also that platex already goes through DVI to generate PDF (and then PNG/EMF/SVG).
- (Win/Mac) Added DVI/XDV support when loading vector graphics files
- (Win/Mac) Refactored and simplified compilation pipeline.
- (Win/Mac) Fixed bug when loading EPS file.
- (Win/Mac) Made the "Close/Continue" button in the Error/Debug window the default selected button. As as side-effect, it is now clearer on Mac that clicking the "Copy" button is having an effect because the button becomes selected. Unfortunately, command buttons do not appear depressed when clicked on Mac, and because "Copy" does not have any visible effect, it wasn't clear that it was working.
- (Win/Mac) Fixed bug that lead to resize issues when a display's file format changed to another during regeneration (e.g., PDF<->PNG)
- (Win/Mac) On Windows, updated instructions regarding setting ImageMagick's path to magick.exe instead of convert.exe; on Mac, removed irrelevant reference in the README's instructions and removed the path selection in the Main Settings.
- (Mac) Enabled copy, cut, paste, select all, undo, redo globally in all text forms, via usual Command+Key keyboard shortcuts (This is a major feat, thanks Tsung-Ju!!)
- (Mac) Enabled shortcuts/accelerators on Mac. The accelerators are mapped to “ctrl+cmd+*” to avoid collision with system shortcuts. (Another major feat, thanks Tsung-Ju!!)
- (Mac) Changed default path for LaTeXiT-metadata application on Mac to /Library/Application Support/Microsoft/Office365/User Content.localized/Add-Ins.localized/LaTeXiT-metadata-macos, and added test for its existence if the file is under that folder. We do not check otherwise because this would trigger a permission request.
- (Mac) Debug option on Mac now shows command that will be run and offers the user to copy it, similarly to Windows. The only remaining difference is that the output of each run is only shown on Windows, not Mac.
- (Win) Added proper unicode support for strings saved to the registry (fixes #17).
- (Win) Automatically replace gswin32.exe/gswin64.exe with gswin32c.exe/gswin64c.exe (with a "c")
- (Win) Allow use of LaTeX installations that do not rely on .exe binaries by removing an unnecessary check
New in IguanaTex 1.59.1 (February 17, 2022)
- (Mac) Add-in is now M1 compatible (new dylib, fixed bug in TextWindowFont)
New in IguanaTex 1.59.0 (April 25, 2021)
- Added Mac support:
- integrated original Mac port by Tsung-Ju Chiang into latest Windows code, leading to single code base supporting both platforms.
- fixed minor issues with original Mac port: made UserForms appear the same size as on Windows (they used to be 3/4 smaller) and tweaked labels so that no text gets truncated; removed Accelerators, which are not implemented on VBA for Mac; ...
- replaced PNG with PDF for "Bitmap" on Mac (except when selecting DVIPNG compilation route): PDFs are inserted as pictures on Mac, even though they're really vector graphics under the hood (internally stored as EMF); they cannot be converted into Shapes, unfortunately.
- enabled "Vector" support on Mac, in which a display is inserted as SVG and converted into a Shape object. Contrary to EMF on Windows, Shapes obtained from SVG cannot be "ungrouped" so that individual elements can be modified independently. User needs to set path to libgs.9.dylib in Main Settings (if default one is not correct).
- enabled support for "Load vector graphics file" on Mac, with support for PS/EPS/PDF/SVG (no EMF at this point and for the foreseeable future). SVG is used for converting PS/EPS/PDF before insertion, which means that the inserted Shape cannot be freely decomposed into smaller elements, unfortunately.
- added options for setting the default height/width of the editor window in Main Settings
- enabled support for dynamically resizable editor window on Mac (Thanks, Tsung-Ju!)
- enabled support for M1 Silicon Macs (Thanks, Tsung-Ju!)
- Significant code cleaning and refactoring: all variable declarations enforced via "Option Explicit"; coding style improvements suggested by Rubberduck; redundant code made into separate Subs/Functions.
- Added SVG support on Windows (Office 365 only). See above for Mac.
- Added option for selecting between SVG, EMF via TeX2img's pdfiumdraw (.tex->.pdf->.emf conversion, fast), and EMF via TeX2img itself (direct .tex->.emf conversion, slower but potentially more robust). SVG seems to lead to the best looking outcome, but one downside is that the obtained Shape cannot be "ungrouped", so that one cannot interact with individual elements.
- Added option for selecting between SVG and EMF for conversion when inserting a vector graphics file, and added option to skip shape cleanup procedure, which may be irrelevant and not work with EMF or EPS files generated by some software.
- Added support for reading LaTeX source from images inserted from LaTeXiT: this requires downloading executables (different ones on Windows and Mac) that parse the EMF/PDF files generated by LaTeXiT to retrieve the source. Major thanks to Pierre Chatelier, the developer of LaTeXiT, for kindly implementing all the parsing code, this would have been totally impossible without his fantastic help.
- Added option to use latexmk for compilation
- Added option to always keep temporary files, even when not in debug mode.
- Fixed width and height in some forms to avoid issue where a form would appear much smaller than designed, likely due to display dpi issues
- Replaced ClipBoard copying code with something much simpler that does not rely on Windows API (Windows) and added ClipBoard support on Mac using AppleScript (Thanks, Tsung-Ju!)
- Error messages now displayed in a UserForm with a button to copy to clipboard the command that led to an error (instead of forcing copy to clipboard, which may overwrite important information without the user first giving consent)
- Removed UseUTF8 option as not using it does not appear to have a clear advantage
- Transparency no longer handled by making PNG non-transparent but by adding white fill to shape (simpler and does not rely on inserted image type)
- Fixed bug occurring when regenerating displays in a group whose 1st element is not an IguanaTex display
- Automatically replace %USERPROFILE% in paths with actual value as such types of path lead to issue in CreateProcess API call
See change.log
v1.59 aka v1.60 beta
Summary
v1.59 is a beta release intended for users to help identify issues, although it should work at least as well as previous Windows-only versions.
Major new features include Mac support and SVG support.
Note: This release was updated to v1.59.1, which supports M1 Silicon Macs (Thanks, Tsung-Ju!).
Download
- Add-in for Windows:
IguanaTex_v1_59_1.ppam
- Add-in with prebuilt files for Mac:
IguanaTex_v1_59_1.zip
(containsIguanaTex.scpt
,libIguanaTexHelper.dylib
,IguanaTex_v1_59_1.ppam
) - Source code:
IguanaTex_v1_59_1.pptm
Note: IguanaTex_v1_59_1.ppam
is the same for Windows and Mac.
LaTeXiT support: LaTeXiT-metadata-Win.zip
(Windows), LaTeXiT-metadata-macos
(Mac). (Note: on Mac, make sure to give execute permission to LaTeXiT-metadata-macos)
Installation
Please refer to the README.
Help welcome in identifying:
- Missing or unclear installation instructions
- Broken features and quirks
- Supported features in different Office versions (e.g., is SVG supported in Office 2019 Windows?)
- Potential improvements
Full list of changes
- Added Mac support:
- integrated original Mac port by Tsung-Ju Chiang (https://github.com/ray851107/IguanaTexMac) into latest Windows code, leading to single code base supporting both platforms.
- fixed minor issues with original Mac port: made UserForms appear the same size as on Windows (they used to be 3/4 smaller) and tweaked labels so that no text gets truncated; removed Accelerators, which are not implemented on VBA for Mac; ...
- replaced PNG with PDF for "Bitmap" on Mac (except when selecting DVIPNG compilation route): PDFs are inserted as pictures on Mac, even though they're really vector graphics under the hood (internally stored as EMF); they cannot be converted into Shapes, unfortunately.
- enabled "Vector" support on Mac, in which a display is inserted as SVG and converted into a Shape object. Contrary to EMF on Windows, Shapes obtained from SVG cannot be "ungrouped" so that individual elements can be modified independently. User needs to set path to libgs.9.dylib in Main Settings (if default one is not correct).
- enabled support for "Load vector graphics file" on Mac, with support for PS/EPS/PDF/SVG (no EMF at this point and for the foreseeable future). SVG is used for converting PS/EPS/PDF before insertion, which means that the inserted Shape cannot be freely decomposed into smaller elements, unfortunately.
- added options for setting the default height/width of the editor window in Main Settings
- enabled support for dynamically resizable editor window on Mac (Thanks, Tsung-Ju!)
- enabled support for M1 Silicon Macs (Thanks, Tsung-Ju!)
- Significant code cleaning and refactoring: all variable declarations enforced via "Option Explicit"; coding style improvements suggested by Rubberduck; redundant code made into separate Subs/Functions.
- Added SVG support on Windows (Office 365 only). See above for Mac.
- Added option for selecting between SVG, EMF via TeX2img's pdfiumdraw (.tex->.pdf->.emf conversion, fast), and EMF via TeX2img itself (direct .tex->.emf conversion, slower but potentially more robust). SVG seems to lead to the best looking outcome, but one downside is that the obtained Shape cannot be "ungrouped", so that one cannot interact with individual elements.
- Added option for selecting between SVG and EMF for conversion when inserting a vector graphics file, and added option to skip shape cleanup procedure, which may be irrelevant and not work with EMF or EPS files generated by some software.
- Added support for reading LaTeX source from images inserted from LaTeXiT: this requires downloading executables (different ones on Windows and Mac) that parse the EMF/PDF files generated by LaTeXiT to retrieve the source. Major thanks to Pierre Chatelier, the developer of LaTeXiT, for kindly implementing all the parsing code, this would have been totally impossible without his fantastic help.
- Added option to use latexmk for compilation
- Added option to always keep temporary files, even when not in debug mode.
- Fixed width and height in some forms to avoid issue where a form would appear much smaller than designed, likely due to display dpi issues
- Replaced ClipBoard copying code with something much simpler that does not rely on Windows API (Windows) and added ClipBoard support on Mac using AppleScript (Thanks, Tsung-Ju!)
- Error messages now displayed in a UserForm with a button to copy to clipboard the command that led to an error (instead of forcing copy to clipboard, which may overwrite important information without the user first giving consent)
- Removed UseUTF8 option as not using it does not appear to have a clear advantage
- Transparency no longer handled by making PNG non-transparent but by adding white fill to shape (simpler and does not rely on inserted image type)
- Fixed bug occurring when regenerating displays in a group whose 1st element is not an IguanaTex display
- Automatically replace %USERPROFILE% in paths with actual value as such types of path lead to issue in CreateProcess API call
See change.log