1#!/usr/local/bin/perl 2 3# tbraun 9.2.2006 4 5# first delete some groups and keys, if they exist 6print "# DELETEGROUP [Tool/Archive/Default]\n"; 7print "# DELETEGROUP [Tool/LaTeXtoHTML/latex2html]\n"; 8print "# DELETEGROUP [Tool/LaTeXtoHTML/TeX4ht]\n"; 9print "# DELETEGROUP [Tool/LaTeXtoDocBook/Default]\n"; 10print "# DELETE [Tools]Archive\n"; 11print "# DELETE [Tools]LaTeXtoHTML\n"; 12print "# DELETE [Tools]LaTeXtoDocBook\n"; 13print "# DELETE [Tools]TeX4ht\n"; 14print "# DELETE [ToolsGUI]Archive\n"; 15print "# DELETE [ToolsGUI]LaTeXtoHTML\n"; 16print "# DELETE [ToolsGUI]LaTeXtoDocBook\n"; 17print "# DELETE [ToolsGUI]TeX\n"; 18print "# DELETE [ToolsGUI]PDFTeX\n"; 19 20# now filter the configuration file 21print <<EOT; 22[Tool/Archive/Tar] 23class=Archive 24command=tar 25options=cvf '%S.tar' %AFL 26from=kilepr 27to=tar 28type=Process 29 30[Tool/Archive/Tar + gzip] 31class=Archive 32command=tar 33options=zcvf '%S.tar.gz' %AFL 34from=kilepr 35to=tar.gz 36type=Process 37 38[Tool/Archive/Tar + bzip2] 39class=Archive 40command=tar 41options=jcvf '%S.tar.bz2' %AFL 42from=kilepr 43to=tar.bz2 44type=Process 45 46[Tool/Archive/Zip] 47class=Archive 48command=zip 49options='%S.zip' %AFL 50from=kilepr 51to=zip 52type=Process 53 54[Tool/DBLaTeX/Convert to DVI] 55class=Compile 56command=dblatex 57options=-tdvi '%S.xml' 58from=xml 59to=dvi 60type=Process 61 62[Tool/DBLaTeX/Convert to PDF] 63class=Compile 64command=dblatex 65from=xml 66to=pdf 67options=-tpdf '%S.xml' 68type=Process 69 70[Tool/DBLaTeX/Convert to LaTeX] 71class=Compile 72command=dblatex 73from=xml 74to=tex 75options=-ttex '%S.xml' 76type=Process 77 78[Tool/DBLaTeX/Convert to Postscript] 79class=Compile 80command=dblatex 81from=xml 82to=ps 83options=-tps '%S.xml' 84type=Process 85 86[Tool/DVItoPDF/Black and White] 87command=dvipdfm 88options=-c '%S.dvi' 89from=dvi 90to=pdf 91type=Process 92 93[Tool/DVItoPDF/Landscape] 94command=dvipdfm 95options=-l '%S.dvi' 96from=dvi 97to=pdf 98type=Process 99 100[Tool/LaTeX to Web/TeX4ht (LaTeX to HTML)] 101class=Compile 102command=mk4ht 103from=tex 104to=html 105options=htlatex '%source' 106type=Process 107 108[Tool/LaTeX to Web/TeX4ht (LaTeX to MathML)] 109class=Compile 110command=mk4ht 111from=tex 112to=xml 113options=xhmlatex '%source' 114type=Process 115 116[Tool/LaTeX to Web/TeX4ht (LaTeX to XML)] 117class=Compile 118command=mk4ht 119from=tex 120to=xml 121options=xhlatex '%source' 122type=Process 123 124[Tool/LaTeX to Web/latex2html] 125class=Compile 126command=latex2html 127options='%source' 128from=tex 129to=html 130type=Process 131 132[Tool/QuickBuild/LaTeX] 133class=Sequence 134type=Sequence 135sequence=LaTeX 136 137[Tool/ViewBib/JabRef] 138type=Process 139class=ViewBib 140command=jabref 141options='%source' 142from=bib 143to=bib 144 145[Tool/ViewBib/gbib] 146type=Process 147class=ViewBib 148command=gbib 149options='%source' 150from=bib 151to=bib 152 153[Tool/ViewBib/KBib] 154class=ViewBib 155command=kbib 156options='%source' 157from=bib 158to=bib 159type=Process 160 161[Tool/Lilypond/PDF] 162class=Compile 163command=lilypond 164options=--pdf '%source' 165from=ly 166to=pdf 167type=Process 168 169[Tool/Lilypond/DVI] 170class=Compile 171command=lilypond 172options=--dvi '%source' 173from=ly 174to=dvi 175type=Process 176 177[Tool/Lilypond/TeX] 178class=Compile 179command=lilypond 180options=--tex '%source' 181from=ly 182to=tex 183type=Process 184 185[Tool/Lilypond/PS] 186class=Compile 187command=lilypond 188options=--ps '%source' 189from=ly 190to=ps 191type=Process 192 193[Tool/Lilypond/PNG] 194class=Compile 195command=lilypond 196options=--png '%source' 197from=ly 198to=png 199type=Process 200 201[Tools] 202Archive=Tar + gzip 203DBLaTeX=Convert to LaTeX 204LaTeX to Web=latex2html 205Lilypond=PDF 206 207[ToolsGUI] 208Lilypond=Compile,lilypond 209Archive=Archive,package 210LaTeX to Web=Compile,l2h 211DBLaTeX=Compile,dblatex 212TeX=Compile,texcompiler 213PDFTeX=Compile,pdftex 214EOT 215