*** empty log message ***
authorhanda <handa>
Mon, 14 Jul 2003 03:46:19 +0000 (03:46 +0000)
committerhanda <handa>
Mon, 14 Jul 2003 03:46:19 +0000 (03:46 +0000)
m17n-lib.css
utils/latex.sh [new file with mode: 0755]

index a316629..66f5aa1 100644 (file)
@@ -1,5 +1,5 @@
 H1 { text-align: center}
 H1 { text-align: center}
-code { text-decoration: none; font-weight: normal; font-family: monospace}
+code { text-decoration: none; font-weight: normal; font-family: monospace; font-size; 125%}
 A.qindex {}
 A.qindexRef {color: fuchsia}
 A.el { text-decoration: none; font-weight: bold }
 A.qindex {}
 A.qindexRef {color: fuchsia}
 A.el { text-decoration: none; font-weight: bold }
diff --git a/utils/latex.sh b/utils/latex.sh
new file mode 100755 (executable)
index 0000000..1da532a
--- /dev/null
@@ -0,0 +1,20 @@
+#!/bin/sh
+# $1: target directory (usr/latex, ja/latex, or dev/latex)
+# $2: latex commnad (latex, platex, or pdflatex)
+
+umask 002
+USR_JA_DEV=`dirname $1`
+TEXINPUTS=`pwd`/styles:`pwd`/data-${USR_JA_DEV}:.:
+export TEXINPUTS
+cd $1
+LATEX=$2
+PAPER='-t a4'
+${LATEX} m17n-lib.tex
+if [ "${USR_JA_DEV}" = "ja" ] ; then
+  nkf -e < m17n-lib.idx > temp.idx; mv temp.idx m17n-lib.idx
+fi
+makeindex m17n-lib.idx
+${LATEX} m17n-lib.tex
+if [ "$LATEX" != "pdflatex" ] ; then
+  dvips ${PAPER} -o m17n-lib.ps m17n-lib.dvi
+fi