~yofel/kile/master

527 by Holger Danielsson
update configuration files for QuickPreview
1
#!/usr/bin/perl
2
3
# dani 19.02.2005
4
5
# first delete some groups and keys, if they exist
6
print "# DELETEGROUP [Tool/PreviewLaTeX/Default]\n";
7
print "# DELETEGROUP [Tool/PreviewPDFLaTeX/Default]\n";
8
print "# DELETE [Tools]PreviewLaTeX\n";
9
print "# DELETE [Tools]PreviewPDFLaTeX\n";
10
print "# DELETE [ToolsGUI]PreviewLaTeX\n";
11
print "# DELETE [ToolsGUI]PreviewPDFLaTeX\n";
12
13
# now filter the configuration file
14
print <<EOT;
15
[Tool/PreviewLaTeX/Default]
16
autoRun=no
17
checkForRoot=no
18
class=LaTeXpreview
19
command=latex
20
from=
21
jumpToFirstError=yes
22
options=-interaction=nonstopmode '%source'
23
to=dvi
24
type=Process
25
26
[Tool/PreviewPDFLaTeX/Default]
27
autoRun=no
28
checkForRoot=no
29
class=LaTeXpreview
30
command=pdflatex
31
from=
32
jumpToFirstError=yes
33
options=-interaction=nonstopmode '%source'
34
to=pdf
35
type=Process
36
37
[Tools]
38
PreviewLaTeX=Default
39
PreviewPDFLaTeX=Default
40
41
[ToolsGUI]
42
PreviewLaTeX=none,none
43
PreviewPDFLaTeX=none,none
44
EOT