From 1e20e83e30b6c0aa420e2bbc937a6abdbcab1388 Mon Sep 17 00:00:00 2001 From: handa Date: Mon, 16 Aug 2004 01:59:10 +0000 Subject: [PATCH] *** empty log message *** --- Makefile.am | 7 ++++++- README | 13 ++++++++++--- utils/dvips.sh | 9 ++++++++- utils/latex.sh | 21 +++++++++++++++------ 4 files changed, 39 insertions(+), 11 deletions(-) diff --git a/Makefile.am b/Makefile.am index 9c315bd..b16fdda 100644 --- a/Makefile.am +++ b/Makefile.am @@ -33,7 +33,8 @@ pkgdata_DATA = \ pkgdatadir = $(datadir)/m17n/docs EXTRA_DIST = usr/html usr/latex/m17n-lib.dvi usr/latex/m17n-lib.ps \ - man/man1 man/man3 man/man5 + man/man1 man/man3 man/man5 \ + ja/html ja/latex/m17n-lib-ja.dvi ja/latex/m17n-lib-ja.ps install-pkgdataDATA: $(pkgdata_DATA) $(mkinstalldirs) $(pkgdatadir)/html @@ -326,6 +327,10 @@ release: dist cd usr/html; for f in *; do \ case $$f in *8c*);; *8h*);; *8txt*);; *) cp $$f ${WEBDIR}/m17n-docs;; esac; \ done + [ -d ${WEBDIR}-ja/m17n-docs ] || mkdir ${WEBDIR}-ja/m17n-docs + cd ja/html; for f in *; do \ + case $$f in *8c*);; *8h*);; *8txt*);; *) cp $$f ${WEBDIR}-ja/m17n-docs;; esac; \ + done cp ${distdir}.tar.gz ${WEBDIR}/download diff --git a/README b/README index ec70597..8ca278b 100644 --- a/README +++ b/README @@ -1,5 +1,5 @@ -This directory tree holds version 1.0 of the m17n library documentation. -Copyright (C) 2003 +This directory tree holds version 1.1 of the m17n library documentation. +Copyright (C) 2003, 2004 National Institute of Advanced Industrial Science and Technology (AIST) Registration Number H15PRO112 See the end for copying conditions. @@ -29,12 +29,19 @@ by giving these arguments to the "configure" script respectively. --datadir=DIR --mandir=DIR +Note: Although this package contains Japanese translation of HTML and +LaTeX files, they are not installed by the above procedure. Please +install the following files manually if you need them: + ja/html/*.html + ja/latex/m17n-lib-ja.dvi + ja/latex/m17n-lib-ja.ps + See the file INSTALL for more detail. ---------------------------------------------------------------------- Copyright information -Copyright (C) 2003 +Copyright (C) 2003, 2004 National Institute of Advanced Industrial Science and Technology (AIST) Registration Number H15PRO112 diff --git a/utils/dvips.sh b/utils/dvips.sh index 2c48146..cd618a7 100755 --- a/utils/dvips.sh +++ b/utils/dvips.sh @@ -4,8 +4,15 @@ umask 002 USR_JA_DEV=`dirname $1` +if [ $USR_JA_DEV = "ja" ] ; then + SOURCE=m17n-lib-ja +elif [ $USR_JA_DEV = "dev" ] ; then + SOURCE=m17n-lib-dev +else + SOURCE=m17n-lib +fi export TEXINPUTS cd $1 DVIPS=$2 -${DVIPS} -o m17n-lib.ps m17n-lib.dvi +${DVIPS} -o ${SOURCE}.ps ${SOURCE}.dvi diff --git a/utils/latex.sh b/utils/latex.sh index 7bc83f0..e417496 100755 --- a/utils/latex.sh +++ b/utils/latex.sh @@ -11,21 +11,30 @@ cd $1 LATEX=$2 if [ $USR_JA_DEV = "ja" ] ; then LATEX=platex + SOURCE=m17n-lib-ja sed -e '/documentclass/ s/a4paper/a4paper,twoside/' \ -e '/m17n ¥é¥¤¥Ö¥é¥ê ¥â¥¸¥å¡¼¥ëº÷°ú/,/pages/ d' \ -e '/m17n ¥é¥¤¥Ö¥é¥ê ¥Õ¥¡¥¤¥ë¤Î²òÀâ/,/textprop_8c/ d' \ -e 's/m17n ¥é¥¤¥Ö¥é¥ê ¥Ú¡¼¥¸¤Î²òÀâ/Appendix/' \ - < refman.tex > m17n-lib.tex + < refman.tex > ${SOURCE}.tex +elif [ $USR_JA_DEV = "dev" ] ; then + SOURCE=m17n-lib-dev + sed -e '/documentclass/ s/a4paper/a4paper,twoside/' \ + -e '/The m17n Library Module Index/,/pages/ d' \ + -e '/The m17n Library File Documentation/,/textprop_8c/ d' \ + -e 's/The m17n Library Page Documentation/Appendix/' \ + < refman.tex > ${SOURCE}.tex else + SOURCE=m17n-lib sed -e '/documentclass/ s/a4paper/a4paper,twoside/' \ -e '/The m17n Library Module Index/,/pages/ d' \ -e '/The m17n Library File Documentation/,/textprop_8c/ d' \ -e 's/The m17n Library Page Documentation/Appendix/' \ - < refman.tex > m17n-lib.tex + < refman.tex > ${SOURCE}.tex fi -${LATEX} m17n-lib.tex +${LATEX} ${SOURCE}.tex if [ "${USR_JA_DEV}" = "ja" ] ; then - nkf -e < m17n-lib.idx > temp.idx; mv temp.idx m17n-lib.idx + nkf -e < ${SOURCE}.idx > temp.idx; mv temp.idx ${SOURCE}.idx fi -makeindex m17n-lib.idx -${LATEX} m17n-lib.tex +makeindex ${SOURCE}.idx +${LATEX} ${SOURCE}.tex -- 1.7.10.4