update Sat Sep 12 12:37:01 PDT 2009
[pkgsrc.git] / wip / PPower4 / files / ppower4.sh
1 #!@RCD_SCRIPTS_SHELL@
2 #
3 #  PPower4 shell script file                 last update: 29 Aug 2002
4 #
5 #  minimal usage:
6 #       ppower4 input.pdf output.pdf
7 #
8 #  Note: input.pdf and output.pdf must be different.
9 #
10 #  It is assumed that you have at least Java 1.2.x installed
11 #  and can call it with the command java. Otherwise specify the
12 #  path for your Java runtime system.
13 #
14 #  Modify this script such that jarfile contains the full path
15 #  of the pp4p.jar file.
16 #
17 #jarfile=/common/Java/lib/ppower4/pp4p.jar
18 #
19 #  If you use a web2c distribution, you can place pp4p.jar 
20 #  e.g. into the directory texmf/java/ppower4, run mktexlsr,
21 #  comment the assignment above and uncomment the assignment below.
22 #  Thanks to Reinhard Kotucha for contributing this suggestion.
23 #
24 jarfile=`kpsewhich -progname=java -format='other binary files' pp4p.jar`
25
26 #
27 java -jar ${jarfile} "$@"