diff kdiff3/doc/createpdfdoc @ 80:fcd146072e0c

0.9.93
author joachim99
date Tue, 06 Jan 2009 17:51:29 +0000
parents 8febbfb1148c
children
line wrap: on
line diff
--- a/kdiff3/doc/createpdfdoc	Tue Jan 06 17:15:53 2009 +0000
+++ b/kdiff3/doc/createpdfdoc	Tue Jan 06 17:51:29 2009 +0000
@@ -1,8 +1,14 @@
+# html2ps is from the "html2ps"-package
+# ps2pdf is part of the "ghostscript-library"-package
 for i in `find * -maxdepth 0 -type d`; do
-cd $i
-echo $i
-LANG=de_DE meinproc --check index.docbook --stylesheet /opt/kde3/share/apps/ksgmltools2/customization/kde-nochunk.xsl
-html2ps -D -u -n index.html >index.ps
-ps2pdf index.ps ../kdiff3_$i.pdf
-cd ..
+  cd $i
+  echo $i
+  if [ $i != "en" ]; then
+     for j in `ls ../en | grep png`; do ln -s ../en/$j $j; done
+     ln -s ../en/common common
+  fi
+  LANG=de_DE meinproc4 --check index.docbook --stylesheet /usr/share/kde4/apps/ksgmltools2/customization/kde-nochunk.xsl
+  html2ps --rcfile /usr/lib/html2ps/html2psrc -D -u -n index.html >index.ps
+  ps2pdf index.ps ../kdiff3_$i.pdf
+  cd ..
 done