Menu

#25 KLFOOoMain.xba has no path

(all)
open
nobody
None
5
2016-06-27
2016-06-27
W Unruh
No

KLFOOoMain.xba in extras does not seem to have a PATH and thus attempting to use klatexformula in LibreOffice does not work. Using the Tools->Extentionmanager does install the icons on the Impress worksheet, but if One tries to use it, it fails with "command not found". The problem is with the
Shell(cmd) item, which tries to run klatexformula. If one changes that to
cmd = "/usr/bin/klatexformula ...."
instead, everything works.

(Of course if were on a system in which klatexformula were in /usr/local/bin instead, I guess this would not work either).
Ie, Libreoffice does not seem to maintain the PATH information when it runs these scripts.

(This is using the scripts in klatexformula 3.3.0)

Discussion