From: handa Date: Mon, 14 Jul 2003 03:46:19 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: XML-base~136 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=085e36a9f58bd803b3fc57944d6f1af6a49cac7c;p=m17n%2Fm17n-docs.git *** empty log message *** --- 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