[Tex/LaTex] Issues with Kile live preview while running on windows

kilewindows

I recently downloaded Kile 2.1 via the KDEwin installer. The editor runs flawlessly, except for the live preview.

In the log and messages I get an error message saying:

[Kile] Unknown tool LivePreviewPDFLaTeX.

I get this several times in a row, so I suppose Kile tries to run the live preview each time but does not find the tool.

I did a system check on Kile (Settings -> System Check...) and no critical failures were found, Okular is installed and working.

Anybody knows of this issue and has a possible solution?

Best Answer

As stated at the bottom of this page, after the update of Kile and Okular,

it is recommended to reset the configuration of the tools. In order to do so,

  • open the tool configuration section in the configuration dialog, which can be found under Settings / Configure Kile... / Tools / Build, and
  • press the Restore Default Tools... button.

If this is not enough, check if your kilerc file is properly configured, as stated here. The steps are:

  • restore the default tools using the wizard, as stated above,
  • if needed, create manually the LivePreview tool, using the wizard in Settings / Configure Kile... / Tools / Build
  • locate the kilerc file (which can be found in %APPDATA%\.kde\share\config)
  • change the [Tool/LivePreviewPDFLaTeX/Default] section according to

this

[Tool/LivePreviewPDFLaTeX/Default]
autoRun=no
checkForRoot=no
class=LaTeXLivePreview
close=
command=pdflatex
jumpToFirstError=yes
menu=Compile
options=-synctex=1 -interaction=nonstopmode -output-directory='%dir_target' '%source'
to=pdf
type=Process
Related Question