This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Kile: "[Kile] Unknown tool LivePreviewPDFLaTeX"

Tags: None
(comma "," separated)
Frustrated
Registered Member
Posts
13
Karma
0
Will someone please explain to me how to get this working as my awkward supervisor will not accept a dissertation in any other format. I cannot get this working and I do not understand anything about this program. Someone please help me get this thing working? I really don't understand any of the above instructions.
User avatar
yurchor
Registered Member
Posts
64
Karma
1
OS
Frustrated wrote:Will someone please explain to me how to get this working as my awkward supervisor will not accept a dissertation in any other format. I cannot get this working and I do not understand anything about this program. Someone please help me get this thing working? I really don't understand any of the above instructions.

There are no real questions in your post. Please explain what you cannot understand and we will try to help you to do the things right and with minimal efforts.

It would be better to start from what you have and what you are trying to do. Should the result be a PDF file?
Frustrated
Registered Member
Posts
13
Karma
0
I'm trying to write a dissertation and I always get the error as quoted in the thread title. I don't understand how to "create a new tool" because I don't know what to write or select. Nor do I understand where to put the text in the kilerc file or why it keeps changing itself.

I'm trying to get a .pdf to show. As I have no idea how to use this program, I'd like to be able to see what I'm doing as I do it. I don't even know how to get a .pdf out of this anyway.
User avatar
yurchor
Registered Member
Posts
64
Karma
1
OS
Frustrated wrote:I'm trying to write a dissertation and I always get the error as quoted in the thread title. I don't understand how to "create a new tool" because I don't know what to write or select. Nor do I understand where to put the text in the kilerc file or why it keeps changing itself.

1. Open Kile window if it is not already open.
2. Choose "Settings -> Configure Kile..." from menu.
3. Select "Tools -> Build" on the left pane.
4. Click on "New..." button under the list of tools.
5. Type "LivePreviewPDFLaTeX" (without quotes) in the text field of the opened window.
6. Click on "Next" button, then "Finish" button.
7. Click "OK" button.
8. Close Kile window.
9. Open Explorer window.
10. Click on address bar and type "%appdata%" (without quotes). Press Enter.
11. Double-click on ".kde" folder.
12. Double-click on "share" folder.
13. Double-click on "config" folder.
14. Right-click on "kilerc" file.
15. Choose "Open".
16. Choose "Notepad".
17. Press Ctrl+F (simultaneously).
18. Type "LivePreviewP" (without quotes). Press Enter.
19. Select
[Tool/LivePreviewPDFLaTeX/Default]
autoRun=no
checkForRoot=no
class=LaTeXpreview
close=
jumpToFirstError=yes
menu=Compile
state=
type=Process
with your mouse.
20. Press Delete.
21. Switch to your browser window.
22. Select the following piece of text:
Code: Select all
[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
here in your browser.
23. Press Ctrl+C (simultaneously).
24. Switch back to Notepad window.
25. Press Ctrl+V (simultaneously).
26. Press Ctrl+S (simultaneously).
27. Close Notepad window.
28. Start Kile.
Frustrated
Registered Member
Posts
13
Karma
0
I thank you for your help, but nothing is happening. I have started a new article and put some text in the title and some text in the abstract, but nothing has happened (no unknown tool error message either). Do I have to select anything to generate a preview?
User avatar
yurchor
Registered Member
Posts
64
Karma
1
OS
Frustrated wrote:I thank you for your help, but nothing is happening. I have started a new article and put some text in the title and some text in the abstract, but nothing has happened (no unknown tool error message either). Do I have to select anything to generate a preview?

Have you installed LaTeX? If not, please install it.

You should also install Okular with KDE installer to see PDF generated by LivePreview.
Frustrated
Registered Member
Posts
13
Karma
0
I have installed MiKTeX and I installed Okular (and kate?) when I installed KILE
User avatar
yurchor
Registered Member
Posts
64
Karma
1
OS
Frustrated wrote:I have installed MiKTeX and I installed Okular (and kate?) when I installed KILE

Does it work for the following example?
Code: Select all
\documentclass[12pt]{article}
\begin{document}
\section*{Notes for My Paper}
Example
\end{document}
Frustrated
Registered Member
Posts
13
Karma
0
I did file, new, (at which point scrartd.ds not being found in koma-script popped up. I selected to install it), LaTeX document (scrartd.ds message appears again. Clicked install), empty file. Then I pasted in your suggestion and absolutely nothing happened. Nothing in the log, nothing in the preview.
User avatar
yurchor
Registered Member
Posts
64
Karma
1
OS
Frustrated wrote:I did file, new, (at which point scrartd.ds not being found in koma-script popped up. I selected to install it), LaTeX document (scrartd.ds message appears again. Clicked install), empty file. Then I pasted in your suggestion and absolutely nothing happened. Nothing in the log, nothing in the preview.

Ok. What does happen when you press Alt+6 then Alt+7?
Frustrated
Registered Member
Posts
13
Karma
0
alt + 6 "the document is not a latex root document"

continued anyway

one error says "filename:0: no file filename.aux"

Done!

alt + 7

and it works. Now to figure out why it didn't elsewhere.
User avatar
yurchor
Registered Member
Posts
64
Karma
1
OS
Frustrated wrote:alt + 6 "the document is not a latex root document"

continued anyway

one error says "filename:0: no file filename.aux"

Done!

alt + 7

and it works. Now to figure out why it didn't elsewhere.

You have "Toggle Live Preview" button (the button with magnifying glass under editor panel) unpressed. Press it.
Frustrated
Registered Member
Posts
13
Karma
0
I can;t find that at the moment, but I'm not really in the right mindset to. However, you have no idea how much you have helped me. Thank you very much.

(I also think it was somethign to do with the templates because I never got the "done!" line when saving it from the article template, but I did from the blank one)
Frustrated
Registered Member
Posts
13
Karma
0
Ok, I have cleared my head (a bit) and come back to this. Whenever I press alt + 7, I now get something pop up which says "loaded a 1-page document", but my preview does not update. So far, I have this:

\documentclass[12pt]{article}
\begin{document}
\section*{Title}
\begin{abstract}
Some text
\end{abstract}
\end{document}


Any ideas what's going wrong? You have my thanks, by the way; this program is really stressing me out, but your help is helping me to make sense of it, so I thank you.


And also, I've tried it on an entirely new document and I get "testarticle.pdf does not exist. Did you compile the source file?" What does this mean and how do I do it?

Last edited by Frustrated on Mon Feb 11, 2013 7:01 pm, edited 1 time in total.
User avatar
yurchor
Registered Member
Posts
64
Karma
1
OS
Frustrated wrote:Ok, I have cleared my head (a bit) and come back to this. Whenever I press alt + 7, I now get something pop up which says "loaded a 1-page document", but my preview does not update. So far, I have this:

\documentclass[12pt]{article}
\begin{document}
\section*{Title}
\begin{abstract}
Some text
\end{abstract}
\end{document}


Any ideas what's going wrong?

It is possible that the document was not compiled first. You have to press Alt+6 to update the PDF document on disk. The preview will be updated automatically.


Bookmarks



Who is online

Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell