diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-02-10 03:05:17 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-02-10 03:05:17 +0000 |
commit | 2c945cd914550233ed352ff195afeb4dd793f122 (patch) | |
tree | 4796bfab5733942b90b5a66bb05655be5fdcca03 /src/kile2.0-1_upd.pl | |
download | kile-2c945cd914550233ed352ff195afeb4dd793f122.tar.gz kile-2c945cd914550233ed352ff195afeb4dd793f122.zip |
Added abandoned KDE3 version of Kile
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kile@1088055 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/kile2.0-1_upd.pl')
-rw-r--r-- | src/kile2.0-1_upd.pl | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/src/kile2.0-1_upd.pl b/src/kile2.0-1_upd.pl new file mode 100644 index 0000000..cf19a13 --- /dev/null +++ b/src/kile2.0-1_upd.pl @@ -0,0 +1,58 @@ +#!/usr/bin/perl + +# dani 15.09.2006 + +# first delete some groups and keys, if they exist +print "# DELETEGROUP [Tool/Convert/eps2png]\n"; +print "# DELETEGROUP [Tool/Convert/pdf2png]\n"; +print "# DELETEGROUP [Tool/DVItoPNG/Default]\n"; +print "# DELETEGROUP [Tool/DVItoPS/dvi2eps]\n"; +print "# DELETE [Tools]Convert\n"; +print "# DELETE [Tools]DVItoPNG\n"; +print "# DELETE [ToolsGUI]Convert\n"; +print "# DELETE [ToolsGUI]DVItoPNG\n"; +print "# DELETE [ToolsGUI]ViewBib\n"; + +# now filter the configuration file +print <<EOT; +[Tool/Convert/eps2png] +class=Convert +command=convert +options=+adjoin -antialias -trim -transparent white -density %res '%S.eps' '%S.png' +ofrom=eps +to=png +type=Process + +[Tool/Convert/pdf2png] +class=Convert +command=convert +options=+adjoin -antialias -trim -transparent white -density %res '%S.pdf' '%S.png' +from=pdf +to=png +type=Process + +[Tool/DVItoPNG/Default] +class=Convert +command=dvipng +options=-T tight -D %res -o '%S.png' '%S.dvi' +from=dvi +to=png +type=Process + +[Tool/DVItoPS/dvi2eps] +class=Convert +command=dvips +options=-o '%S.eps' '%S.dvi' +from=dvi +to=eps +type=Process + +[Tools] +Convert=pdf2png +DVItoPNG=Default + +[ToolsGUI] +Convert=Convert,convert +DVItoPNG=Convert,dvipng +ViewBib=View,viewbib +EOT |