KLATEXFORMULA
Home
About
Downloads
Screen Shots
Wiki (Manuals)
News

Old Feedback and Issues

From KLFWiki

Jump to: navigation, search

This page collects feedback and issues that have been reported on this Wiki, before the bug tracker was set up.

New bugs/issues/requests should be reported on the Sourceforge-hosted bug tracker.

Contents

Linking Fails when older version installed

$qmake && make
...
make[1]: Entering directory `/home/winchen/klatexformula/klatexformula-3.1.1/src'
g++ -Wl,-O1 -o ../klatexformula main.o qrc_klfres.o    -L/usr/lib -Wl,-export-dynamic -L. -Lrelease -lklfsrc -Lklfbackend -Lklfbackend/release   -lklfbackend -lQtDBus -lQtXml -lQtGui -lQtCore -lpthread
main.o: In function `main':
main.cpp:(.text+0x6ef8): undefined reference to `KLFBackend::saveOutputToFile(KLFBackend::klfOutput const&, QString const&, QString const&)'
main.o: In function `main_save(KLFBackend::klfOutput, QString const&, QString)':
main.cpp:(.text+0x345): undefined reference to `KLFBackend::saveOutputToFile(KLFBackend::klfOutput const&, QString const&, QString const&)'
./libklfsrc.a(klfmainwin.o): In function `KLFPreviewBuilderThread::inputChanged(KLFBackend::klfInput const&)':
klfmainwin.cpp:(.text+0xe31): undefined reference to `operator==(KLFBackend::klfInput const&, KLFBackend::klfInput const&)'
./libklfsrc.a(klfmainwin.o): In function `KLFMainWin::slotEvaluateAndSave(QString const&, QString const&)':
klfmainwin.cpp:(.text+0xe7c2): undefined reference to `KLFBackend::saveOutputToFile(KLFBackend::klfOutput const&, QString const&, QString const&)'
collect2: ld returned 1 exit status
make[1]: *** [../klatexformula] Error 1
make[1]: Leaving directory `/home/winchen/klatexformula/klatexformula-3.1.1/src'
make: *** [sub-src-main-pro-make_default-ordered] Error 2

Deinstallation of an older version of klatexformula fixed the problem. This looks like a bug in the build system, which links klatexformula with global installed version of klfbackend and not the newly created.

This issue should be fixed with KLatexFormula 3.2.0.

Background Transparency lost in OpenOffice.org

When copying&pasting, or dragging&dropping in OpenOffice.org (among others), it is a known issue that the transparent background can be lost. This is because OpenOffice pastes the equation as a bitmap. The workaround (for versions before 3.2) is to save the image into some temporary file (in PNG format) and to use Insert->Picture->From File in OpenOffice.

This issue was fixed in KLatexFormula 3.2. Note that now you can now also export native OpenOffice.org drawing format from within KLatexFormula. Also, it is possible to integrate KLatexFormula into OpenOffice.org, see User Manual:Tips and Tricks#OpenOffice.org_Integration.

GS Error On Windows for package with latex

If you get the following error on windows when you installed under MS Windows the package with latex:

MiKTeX GPL Ghostscript 8.60: Can't find initialization file gs_init.ps.

then simply open the settings dialog, don't touch any settings but immediately click the "Apply" button.

Reason: mgs.exe is used as ghostscript, which needs extra environment variables to be set. Hitting the apply button in the settings dialog detects an mgs.exe setting, and sets the environment variables accordingly (and remembers this for future executions)

This issue was fixed in KLatexFormula 3.2.2.

KTextEditor Plugin Popup does not display properly

It has been reported (by Alexey Kurov) that when using the klatexformula plug-in for KTextEditor in KDE 4.5 with an NVidia card, the popup displayed when editing documents in KWrite can display with a transparent background, rendering the popup unreadable, regardless of the transparency setting.

Patches are welcome. I currently cannot address the issue myself since I can't reproduce the bug.

No output from the command line

Using klatexformula.exe (or klatexformula_cmdl.exe) with the --output option produces no output file (or message to the console). Loading the program from the command line, including passing a string with --latexinput, works as expected.

This was reproduced using both the "minimal latex" and "full latex" packages on both Windows XP (32-bit) and Windows Vista (32-bit).

Issue Resolution: In 3.2.2, klatexformula_cmdl.exe is just a copy of klatexformula.exe which does not input/output to console (related to -Wl,-subsystem,windows option when compiling with MinGW), completely hiding any error messages (in particular, unrecognized options). It still should work as expected, though. Note that --output option has to be used in conjunction with input, eg. with --latexinput. In a future version of klatexformula, klatexformula_cmdl.exe will be fixed to produce output to the console.

Please create a true svg plugin

Dvi could be converted to svg natively using http://dvisvgm.sourceforge.net/ included in recent texlive. You do not need therefore the inkspace plugin