From 085e36a9f58bd803b3fc57944d6f1af6a49cac7c Mon Sep 17 00:00:00 2001 From: handa Date: Mon, 14 Jul 2003 03:46:19 +0000 Subject: [PATCH] *** empty log message *** --- m17n-lib.css | 2 +- utils/latex.sh | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100755 utils/latex.sh diff --git a/m17n-lib.css b/m17n-lib.css index a316629..66f5aa1 100644 --- a/m17n-lib.css +++ b/m17n-lib.css @@ -1,5 +1,5 @@ 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 } diff --git a/utils/latex.sh b/utils/latex.sh new file mode 100755 index 0000000..1da532a --- /dev/null +++ b/utils/latex.sh @@ -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 -- 1.7.10.4