-\documentclass[a4paper,12pt,twoside]{article} % -*- coding: euc-jp; -*-
+\documentclass[12pt,twoside]{article}
\setlength\headheight{14.5pt}
\usepackage{makeidx}
\usepackage{fancyhdr}
\setlength{\footrulewidth}{0pt}
\begin{document}
\begin{titlepage}
-\begin{flushright}
-{\Large 13¾ð·ÐÂè1127¹æ}
-\end{flushright}
\vspace*{2cm}
\begin{center}
-{\Huge IPA¾ðÊ󵻽ѳ«È¯»Ù±ç»ö¶È}\\
+{\Huge M17N-LIB -- Multilingual Library}\\
\vspace*{2cm}
-{\Huge Unix/Linux ÈÆÍÑ¿¸À¸ì½èÍýµ¡Ç½\\¥é¥¤¥Ö¥é¥ê¤Î³«È¯}\\
-\vspace*{2cm}
-{\Huge ³«È¯À®²ÌÊó¹ð½ñ}\\
+{\Huge Ver. 0.9}\\
\vspace*{7cm}
-{\Huge Ê¿À®14ǯ2·î}\\
+{\Huge 2003.7.1}\\
\vspace*{1.5cm}
-{\Huge ÆÈΩ¹ÔÀ¯Ë¡¿Í »º¶Èµ»½ÑÁí¹ç¸¦µæ½ê}
+{\Huge AIST}
\end{center}
\end{titlepage}
\cleardoublepage
umask 002
CURDIR=`pwd`
-TEXINPUTS=$CURDIR/$1/styles:$CURDIR/$1/data-$2:.:
+TEXINPUTS=${CURDIR}/$1/styles:${CURDIR}/$1/data-$2:.:
export TEXINPUTS
cd $2/latex
-platex refman.tex
+if [ "$2" = "ja" ] ; then
+ LATEX=platex
+ PAPER='-t a4'
+else
+ LATEX=latex
+fi
+${LATEX} refman.tex
if [ "$2" = "ja" ] ; then
nkf -e < refman.idx > temp.idx; mv temp.idx refman.idx
fi
makeindex refman.idx
-platex refman.tex
-dvips -t a4 -o refman.ps refman.dvi
+${LATEX} refman.tex
+dvips ${PAPER} -o refman.ps refman.dvi