projects
/
m17n
/
m17n-docs.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
677c9adfe66af04ccc35d5d0040b552aef68e458
[m17n/m17n-docs.git]
/
utils
/
run-latex.sh
1
#!/bin/sh
2
# $1: source directory
3
# $2: ja or usr or dev
4
5
umask 002
6
CURDIR=`pwd`
7
TEXINPUTS=$CURDIR/$1/styles:$CURDIR/$1/data-$2:.:
8
export TEXINPUTS
9
cd $2/latex
10
platex refman.tex
11
if [ "$2" = "ja" ] ; then
12
nkf -e < refman.idx > temp.idx; mv temp.idx refman.idx
13
fi
14
makeindex refman.idx
15
platex refman.tex
16
dvips -t a4 -o refman.ps refman.dvi