source: trunk/gsdl-documentation/manuals/generate-pdf.sh@ 13632

Last change on this file since 13632 was 13632, checked in by lh92, 17 years ago

Initial revision

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 2.6 KB
Line 
1#!/bin/sh
2
3gsdlhome=$GSDLHOME
4export CLASSPATH=$CLASSPATH:../packages/fop-0.20.5/build/fop.jar:../packages/fop-0.20.5/lib:../
5
6
7if [ "$gsdlhome" == "" ]; then
8 # assume tutorials in a subdir of gsdl
9 pushd .. > /dev/null
10 gsdlhome=`pwd`
11 popd > /dev/null
12fi
13
14echo "procesing english manuals"
15cd en
16mkdir pdf
17
18#echo "User's manual (english)"
19#./../packages/fop-0.20.5/fop.sh -xsl ../xml-to-pdf.xsl -xml User_en.xml -pdf pdf/User_en.pdf
20echo "Developer's manual (english)"
21./../packages/fop-0.20.5/fop.sh -xsl ../xml-to-pdf.xsl -xml Develop_en.xml -pdf pdf/Develop_en.pdf
22echo "User's manual (english)"
23./../packages/fop-0.20.5/fop.sh -xsl ../xml-to-pdf.xsl -xml Install_en.xml -pdf pdf/Install_en.pdf
24echo "From Paper to Collection (english)"
25./../packages/fop-0.20.5/fop.sh -xsl ../xml-to-pdf.xsl -xml Paper_en.xml -pdf pdf/Paper_en.pdf
26
27cd ..
28
29
30echo ""
31echo "procesing french manuals"
32cd fr
33mkdir pdf
34
35#echo "User's manual (french)"
36#./../packages/fop-0.20.5/fop.sh -xsl ../xml-to-pdf.xsl -xml User_fr.xml -pdf pdf/User_fr.pdf
37echo "Developer's manual (french)"
38./../packages/fop-0.20.5/fop.sh -xsl ../xml-to-pdf.xsl -xml Develop_fr.xml -pdf pdf/Develop_fr.pdf
39echo "User's manual (french)"
40./../packages/fop-0.20.5/fop.sh -xsl ../xml-to-pdf.xsl -xml Install_fr.xml -pdf pdf/Install_fr.pdf
41echo "From Paper to Collection (french)"
42./../packages/fop-0.20.5/fop.sh -xsl ../xml-to-pdf.xsl -xml Paper_fr.xml -pdf pdf/Paper_fr.pdf
43
44cd ..
45
46
47echo ""
48echo "procesing spanish manuals"
49cd es
50mkdir pdf
51
52#echo "User's manual (spanish)"
53#./../packages/fop-0.20.5/fop.sh -xsl ../xml-to-pdf.xsl -xml User_es.xml -pdf pdf/User_es.pdf
54echo "Developer's manual (spanish)"
55./../packages/fop-0.20.5/fop.sh -xsl ../xml-to-pdf.xsl -xml Develop_es.xml -pdf pdf/Develop_es.pdf
56echo "User's manual (spanish)"
57./../packages/fop-0.20.5/fop.sh -xsl ../xml-to-pdf.xsl -xml Install_es.xml -pdf pdf/Install_es.pdf
58echo "From Paper to Collection (spanish)"
59./../packages/fop-0.20.5/fop.sh -xsl ../xml-to-pdf.xsl -xml Paper_es.xml -pdf pdf/Paper_es.pdf
60
61cd ..
62
63
64echo ""
65echo "procesing russian manuals"
66cd ru
67mkdir pdf
68
69echo "User's manual (russian)"
70./../packages/fop-0.20.5/fop.sh -xsl ../xml-to-pdf.xsl -xml User_ru.xml -pdf pdf/User_ru.pdf
71echo "Developer's manual (russian)"
72./../packages/fop-0.20.5/fop.sh -xsl ../xml-to-pdf.xsl -xml Develop_ru.xml -pdf pdf/Develop_ru.pdf
73echo "User's manual (russian)"
74./../packages/fop-0.20.5/fop.sh -xsl ../xml-to-pdf.xsl -xml Install_ru.xml -pdf pdf/Install_ru.pdf
75echo "From Paper to Collection (russian)"
76./../packages/fop-0.20.5/fop.sh -xsl ../xml-to-pdf.xsl -xml Paper_ru.xml -pdf pdf/Paper_ru.pdf
77
78cd ..
Note: See TracBrowser for help on using the repository browser.