basic runtime error when loading svg file
Brought to you by:
baudinr
Shortly after clicking on "generate latex equation", a pop-up appears with the following text:
"BASIC runtime error
Object variable not set".
The problem seems to come from the following lines in TexMathTools:
oDrawDoc = StarDesktop.loadComponentFromURL( cURL, "_blank", 0, arg1() )
oDrawDocCtrl = oDrawDoc.getCurrentController()
Specifically oDrawDoc seems to be NULL after the first line. I've checked that cURL points to a valid svg file.
Let me know if it'd be useful to provide add. information.
Thanks. (great tool by the way!)
Upon further investigation it looks like the problem is not with TexMaths but rather with libreoffice's "svg loader". For now instead of encoding equations into svg I use png and it works without any problems.
I guess I may have to wait for libreoffice 4 before going back to svg...