Doesn't preview any expression
Brought to you by:
phfaist
When introduced any formula in the main Window, you don't get any preview. When typing a latex formula in an editor, in KDE, you don't get any preview, as it used to happen.
Tested in Archlinux and Kubuntu 13.10. Both with KDE 4.11.2
Here is an output from the command line:
klatexformula --latexinput 'a^2+b^2=c^2' --output filename.png
KLatexFormula Version 3.2.7 by Philippe Faist (c) 2005-2011
Licensed under the terms of the GNU Public License GPL
gs reported an error (exit status 1). Here is full stdout output:
Unknown device: pswrite
Unrecoverable error: undefined in .uninstallpagedevice
Operand stack:
defaultdevice
It seems like ghostscript doesn't provide the 'pswrite' driver anymore. I'm working on a fix and hope to release it soon.
This issue should now be fixed in the new version release 3.2.8.
I don't know if I should have opened a new report, but I just compiled the new version and still can't preview any formula. Get this error message:
klatexformula --latexinput 'a^2+b^2=c^2' --output filename.png
KLatexFormula Version 3.2.8 by Philippe Faist (c) 2005-2011
Licensed under the terms of the GNU Public License GPL
gs reported an error (exit status 1). Here is full stderr output:
And here is full stdout output:
Compiled so in archlinux x86_64 system:
cd build
export PATH=/usr/lib/qt4/bin:$PATH
cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_CXX_FLAGS="-lX11 ${CXXFLAGS}" -DCMAKE_BUILD_TYPE=Release
make
make install
That's strange. It's a new error now, it's no longer complaining about the nonexisting pswrite device.
I unfortunately can't reproduce the bug. I've tried with Ghostscript 9.10 on a fresh virtual ubuntu install and 9.10 on my virtual windows box, and in both cases it worked fine. I briefly tried to set up a virtual arch linux box but gave up because I just can't learn to do all the set-up manually without losing an excessive amount of time.
I could think of a couple possible suggestions for workarounds:
If you could find a way to reproduce the bug on Mac OS X, Ubuntu or Windows (or possibly other systems for which I could install a virtual machine easily), then that would be very helpful.
Thank you anyway for the report.