summaryrefslogtreecommitdiff
path: root/support/ppower4/pdfthumb
blob: 6f2c9a857b519b19a4ebbd81d2cbdc68711f2c06 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/bin/sh
#
#  pdfthumb shell script file                 last update: 13 Sep 2002
#
#  minimal usage:
#	pdfthumb input.pdf output.pdf
#
#  Note: input.pdf and output.pdf must be different.
#	 GhostScript (gs) must me available to create the images.
#	 Unfortunately it fails on some input files for unknown reasons.
#
#  It is assumed that you have at least Java 1.2.x installed
#  and can call it with the command java. Otherwise specify the
#  path for your Java runtime system.
#
#  Modify this script such that jarfile contains the full path
#  of the pp4p.jar file.
#
jarfile=/common/Java/lib/ppower4/pp4p.jar
#
#  If you use a web2c distribution, you can place pp4p.jar 
#  e.g. into the directory texmf/java/ppower4, run mktexlsr,
#  comment the assignment above and uncomment the assignment below.
#  Thanks to Reinhard Kotucha for contributing this suggestion.
#
#jarfile=`kpsewhich -progname=java -format='other binary files' pp4p.jar`
# 
#
java -cp ${jarfile} de.tu_darmstadt.sp.pdftools.ThumbGen "$@"