summaryrefslogtreecommitdiffstats
path: root/src/kile2.0-2_upd.pl
blob: 072915527cc0b5306f5b88b4ad000fc0a4ac94df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
#!/usr/bin/perl

# tbraun 9.2.2006

# first delete some groups and keys, if they exist
print "# DELETEGROUP [Tool/Archive/Default]\n";
print "# DELETEGROUP [Tool/LaTeXtoHTML/latex2html]\n";
print "# DELETEGROUP [Tool/LaTeXtoHTML/TeX4ht]\n";
print "# DELETEGROUP [Tool/LaTeXtoDocBook/Default]\n";
print "# DELETE [Tools]Archive\n";
print "# DELETE [Tools]LaTeXtoHTML\n";
print "# DELETE [Tools]LaTeXtoDocBook\n";
print "# DELETE [Tools]TeX4ht\n";
print "# DELETE [ToolsGUI]Archive\n";
print "# DELETE [ToolsGUI]LaTeXtoHTML\n";
print "# DELETE [ToolsGUI]LaTeXtoDocBook\n";
print "# DELETE [ToolsGUI]TeX\n";
print "# DELETE [ToolsGUI]PDFTeX\n";

# now filter the configuration file
print <<EOT;
[Tool/Archive/Tar]
class=Archive
command=tar
options=cvf '%S.tar' %AFL
from=kilepr
to=tar
type=Process

[Tool/Archive/Tar + gzip]
class=Archive
command=tar
options=zcvf '%S.tar.gz' %AFL
from=kilepr
to=tar.gz
type=Process

[Tool/Archive/Tar + bzip2]
class=Archive
command=tar
options=jcvf '%S.tar.bz2' %AFL
from=kilepr
to=tar.bz2
type=Process

[Tool/Archive/Zip]
class=Archive
command=zip
options='%S.zip' %AFL
from=kilepr
to=zip
type=Process

[Tool/DBLaTeX/Convert to DVI]
class=Compile
command=dblatex
options=-tdvi '%S.xml'
from=xml
to=dvi
type=Process

[Tool/DBLaTeX/Convert to PDF]
class=Compile
command=dblatex
from=xml
to=pdf
options=-tpdf '%S.xml'
type=Process

[Tool/DBLaTeX/Convert to LaTeX]
class=Compile
command=dblatex
from=xml
to=tex
options=-ttex '%S.xml'
type=Process

[Tool/DBLaTeX/Convert to Postscript]
class=Compile
command=dblatex
from=xml
to=ps
options=-tps '%S.xml'
type=Process

[Tool/DVItoPDF/Black and White]
command=dvipdfm
options=-c '%S.dvi'
from=dvi
to=pdf
type=Process

[Tool/DVItoPDF/Landscape]
command=dvipdfm
options=-l '%S.dvi'
from=dvi
to=pdf
type=Process

[Tool/LaTeX to Web/TeX4ht (LaTeX to HTML)]
class=Compile
command=mk4ht
from=tex
to=html
options=htlatex '%source'
type=Process

[Tool/LaTeX to Web/TeX4ht (LaTeX to MathML)]
class=Compile
command=mk4ht
from=tex
to=xml
options=xhmlatex '%source'
type=Process

[Tool/LaTeX to Web/TeX4ht (LaTeX to XML)]
class=Compile
command=mk4ht
from=tex
to=xml
options=xhlatex '%source'
type=Process

[Tool/LaTeX to Web/latex2html]
class=Compile
command=latex2html
options='%source'
from=tex
to=html
type=Process

[Tool/QuickBuild/LaTeX]
class=Sequence
type=Sequence
sequence=LaTeX

[Tool/ViewBib/JabRef]
type=Process
class=ViewBib
command=jabref
options='%source'
from=bib
to=bib

[Tool/ViewBib/gbib]
type=Process
class=ViewBib
command=gbib
options='%source'
from=bib
to=bib

[Tool/ViewBib/KBib]
class=ViewBib
command=kbib
options='%source'
from=bib
to=bib
type=Process

[Tool/Lilypond/PDF]
class=Compile
command=lilypond
options=--pdf '%source'
from=ly
to=pdf
type=Process

[Tool/Lilypond/DVI]
class=Compile
command=lilypond
options=--dvi '%source'
from=ly
to=dvi
type=Process

[Tool/Lilypond/TeX]
class=Compile
command=lilypond
options=--tex '%source'
from=ly
to=tex
type=Process

[Tool/Lilypond/PS]
class=Compile
command=lilypond
options=--ps '%source'
from=ly
to=ps
type=Process

[Tool/Lilypond/PNG]
class=Compile
command=lilypond
options=--png '%source'
from=ly
to=png
type=Process

[Tools]
Archive=Tar + gzip
DBLaTeX=Convert to LaTeX
LaTeX to Web=latex2html
Lilypond=PDF

[ToolsGUI]
Lilypond=Compile,lilypond
Archive=Archive,package
LaTeX to Web=Compile,l2h
DBLaTeX=Compile,dblatex
TeX=Compile,texcompiler
PDFTeX=Compile,pdftex
EOT