KileOnWindows: bug in live preview
Fritz Meier
fmeier868 at yahoo.de
Mon Nov 18 06:17:18 UTC 2013
Installing the current KileOnWindows version (based on the Git repository of Kile), I found that it works already quite well. Except LivePreview. Searching with Google I found a lot of reports concerning this bug.
When I studied this problem, I found that the TEXINPUTS variable was set absolutely wrong, when starting the LivePreview. This variable should contain at least the temporary LivePreview directory and the directory, which contains the TEX file. So using Windows it should look like
TEXINPUTS=directory1;directory2
But it looks like
TEXINPUTS=directory1:directory2
In a real example, this environment variable was set to
TEXINPUTS=C:/Users/fritz/AppData/Roaming/.kde/share/apps/kile/livepreview/preview-iIhaaa/:C:/Users/fritz/Documents:
You see, that not ';' is taken as separator using Windows, but ':'. So the TEX file couldn't be found by Kile's LivePreview.
I attached a fix, which solves this problem. I also sent this patch to the maintainer of Kile, but didn't get an answer so far.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-windows/attachments/20131118/36b6d3fd/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kile-windows.diff
Type: text/x-patch
Size: 1579 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-windows/attachments/20131118/36b6d3fd/attachment.diff>
More information about the Kde-windows
mailing list