Hi,
I have a fresh installation of win10 (64bit) and I have installed LibreOffice 5.0.1.2 (64bit).
Unfortunately libreoffice crashes every time by using TexMaths 0.41.
Do you have an idea for solving this problem?
Thank you in advance.
I tested TexMaths 41 under Libreoffice 5.0.1.2 (64 bits) with MikTex 2.9.5721 (64 bits) and dvisvgm 1.10 (64 bits) under Windows 7.
TexMaths works as expected (though there is a small issue with a transient DOS window) and equations are produced normally and can be edited as usual.
I suggest you reinstall TexMaths completely, using this tip :
Uninstall TexMaths from the Tools / Extension Manager menu of LibreOffice Writer
Turn on hidden files view in Windows Explorer
Remove the directory: C:\texmaths-<your username=""></your>
Remove the directory C:\Users\<your username="">\AppData\Roaming\LibreOffice\4\user\TexMaths</your>
Reinstall TexMaths
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have tested now the TexMaths Extension with open OfficeOffice 4.1.1 on my 64bit machine. It works very fine. Your Extension is excellent.
Next week, I will try your suggestion also for LibreOffice.
Thank You.
burki007
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have a similar problem.
Windows 7(64 bit)
LIbreOffice 5.0.3.2
MikTeX 2.9.5721
tried to reinstall TexMaths following suggestions in this thread to no avail.
I am getting the following error:
BASIC runtime error.
An exception occurred
Type: com.sun.star.container.NoSuchElementException
Message: .
while the My Macros & Dialogs.TexMaths - LibreOffice Basics window hangs at
DialogLibraries.LoadLibrary( "TexMaths" )
Thanks for any pointers. Alex.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I investigated a bit about this crash problem with LibreOffice 5 and here is what I found:
the crash only occurs on Windows, there is no crash with LO 5 on Linux
the crash only happens when the clipboard is empty before launching TexMaths. If the clipboard is not empty, there is no crash and TexMaths works as expected
I found the location of the problem in the code and it appears to be a LibreOffice bug in the basic module. So I filled a bug report to the LO team but I guess it won't be fixed soon...
Anyway, here is aworkaround for this problem (in TexMaths 0.41):
Open the macro dialog in Writer using the menu Tools / Macros / Organize Macros / LibreOffice Basic
Click on the small + in front of the word TexMaths to expand the list of macros
Click on TexMathsEquations in the left most list and on MakeEquation in the right most list and then click on the Edit button
In the MakeEquation macro, comment the following lines as they appear below:
' Save initial clipboard content because it will be lost when pasting the image
'Dim sClipContent as String
'sClipContent = ClipboardToText()
(at the beginning of the macro)
and
' If Writer is installed, restore initial clipboard content
'If ComponentInstalled( "Writer" ) Then
'TextToClipboard(sClipContent)
'End If
(near the end of the macro).
Close Writer
After that, you should be able to enter and edit TexMaths equations as usual. However, the clipboard is no more restored between calls of the TexMaths macro but this not a major issue.
Last edit: Roland Baudin 2015-11-20
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I implemented a workaround for Windows and you should be able to run TexMaths with LibreOffice 5.x on Windows. I also filled in a bug report to the LlibreOffice team.
So I think I can close the bug now.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I tested TexMaths 41 under Libreoffice 5.0.1.2 (64 bits) with MikTex 2.9.5721 (64 bits) and dvisvgm 1.10 (64 bits) under Windows 7.
TexMaths works as expected (though there is a small issue with a transient DOS window) and equations are produced normally and can be edited as usual.
I suggest you reinstall TexMaths completely, using this tip :
Thank you very much for the answer,
I have tested now the TexMaths Extension with open OfficeOffice 4.1.1 on my 64bit machine. It works very fine. Your Extension is excellent.
Next week, I will try your suggestion also for LibreOffice.
Thank You.
burki007
Hey,
I have the same problem. My specs.
Windows 10 (64 bit)
LibreOffice 5.0.2.2 (64 bit)
TexMaths 0.41
I also have the problem on a Windows 8.1 (64 bit) machine. It seems to work fine with a LibreOffice 4.x version.
I have a similar problem.
Windows 7(64 bit)
LIbreOffice 5.0.3.2
MikTeX 2.9.5721
tried to reinstall TexMaths following suggestions in this thread to no avail.
I am getting the following error:
BASIC runtime error.
An exception occurred
Type: com.sun.star.container.NoSuchElementException
Message: .
while the My Macros & Dialogs.TexMaths - LibreOffice Basics window hangs at
DialogLibraries.LoadLibrary( "TexMaths" )
Thanks for any pointers. Alex.
I investigated a bit about this crash problem with LibreOffice 5 and here is what I found:
I found the location of the problem in the code and it appears to be a LibreOffice bug in the basic module. So I filled a bug report to the LO team but I guess it won't be fixed soon...
Anyway, here is aworkaround for this problem (in TexMaths 0.41):
' Save initial clipboard content because it will be lost when pasting the image
'Dim sClipContent as String
'sClipContent = ClipboardToText()
(at the beginning of the macro)
and
' If Writer is installed, restore initial clipboard content
'If ComponentInstalled( "Writer" ) Then
'TextToClipboard(sClipContent)
'End If
(near the end of the macro).
After that, you should be able to enter and edit TexMaths equations as usual. However, the clipboard is no more restored between calls of the TexMaths macro but this not a major issue.
Last edit: Roland Baudin 2015-11-20
I implemented a workaround for Windows and you should be able to run TexMaths with LibreOffice 5.x on Windows. I also filled in a bug report to the LlibreOffice team.
So I think I can close the bug now.