summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/latex-web-companion/apb/utf82latin1.sh
blob: ac5d5423c10ed2f54990b066d7c221bbb0201506 (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
#!/bin/sh
# xt.sh       Script to run file through J. Clark's XT XSL processor
# Author:     M.Goossens / IT
# Last mod:   Jan 16 1999

Name=`basename $0`
Usage="Usage: $Name UTF8-file Latin1-file"

if [ $# -lt 2 ]; then          # too few parameters
     echo $Usage >&2           # display error message
     exit 1                    # abort
fi

DIR=/afs/cern.ch/project/tex/java/michel
CLASSPATH=$DIR:$CLASSPATH

echo "The CLASSPATH is set to:"
echo $CLASSPATH
echo " "

export CLASSPATH

java utf8tolatin1 $1 $2