From 68e428fbc56b0f22a522a4b8951a47381d99872f Mon Sep 17 00:00:00 2001 From: handa Date: Tue, 24 Jul 2007 06:20:40 +0000 Subject: [PATCH 1/1] Encoded in utf-8. --- Makefile.am | 4 +-- footer.ja.html | 4 +-- header.ja.html | 6 ++-- mainpage.txt | 96 ++++++++++++++++++++++++++++---------------------------- utils/latex.sh | 21 +++++++------ 5 files changed, 67 insertions(+), 64 deletions(-) diff --git a/Makefile.am b/Makefile.am index 775f088..49119e6 100644 --- a/Makefile.am +++ b/Makefile.am @@ -60,7 +60,7 @@ install-pkgdataDATA: $(pkgdata_DATA) if MAINTAINER_MODE PROJECT_NAME_EN = "The m17n Library" -PROJECT_NAME_JA = "m17n ¥é¥¤¥Ö¥é¥ê" +PROJECT_NAME_JA = "m17n ライブラリ" PROJECT_VERSION = @PACKAGE_VERSION@ DOXYGEN = doxygen @@ -350,5 +350,5 @@ release: dist endif # Local Variables: -# coding: euc-jp +# coding: utf-8 # End: diff --git a/footer.ja.html b/footer.ja.html index 1a5b79b..8d5bffa 100644 --- a/footer.ja.html +++ b/footer.ja.html @@ -1,7 +1,7 @@ - +
-¤³¤Î¥Ú¡¼¥¸¤ÎÀèƬ

+このページの先頭

Main Page   Modules   diff --git a/header.ja.html b/header.ja.html index 4b10fa1..6415472 100644 --- a/header.ja.html +++ b/header.ja.html @@ -1,4 +1,4 @@ - + - -M17N ¥é¥¤¥Ö¥é¥ê + +M17N ライブラリ diff --git a/mainpage.txt b/mainpage.txt index c405bf4..a2ac8b8 100644 --- a/mainpage.txt +++ b/mainpage.txt @@ -1,6 +1,6 @@ -/* -*- coding: euc-jp; -*- */ +/* -*- coding: utf-8; -*- */ /***en @mainpage The m17n Library Documentation */ -/***ja @mainpage m17n ¥é¥¤¥Ö¥é¥ê */ +/***ja @mainpage m17n ライブラリ */ /***en @section what What is the m17n library? @@ -46,42 +46,42 @@ system. */ -/***ja @section what m17n ¥é¥¤¥Ö¥é¥ê¤È¤Ï? +/***ja @section what m17n ライブラリとは? -@e m17n¥é¥¤¥Ö¥é¥ê ¤Ï C ¸À¸ìÍѤο¸À¸ìʸ½ñ½èÍý¥é¥¤¥Ö¥é¥ê¤Ç¤¹¡£ +@e m17nライブラリ は C 言語用の多言語文書処理ライブラリです。 -"m17n" ¤È¤Ï "multilingualization" ¤Î¾Êά·Á¤Ç¤¹¡£ +"m17n" とは "multilingualization" の省略形です。 -m17n ¥é¥¤¥Ö¥é¥ê¤Ï¿¸À¸ì¤ò°·¤¦¤¿¤á¡¢°Ê²¼¤Îµ¡Ç½¤òÄ󶡤·¤Þ¤¹¡£ +m17n ライブラリは多言語を扱うため、以下の機能を提供します。 */ @@ -90,10 +90,10 @@ m17n Simply include .h> in your program, and link it with the m17n library by -lm17n. See @ref m17nIntro for the detail. */ -/***ja @section usage ÍøÍÑÊýË¡ +/***ja @section usage 利用方法 -.h> ¤ò¥×¥í¥°¥é¥à¤Ë include ¤·¡¢-lm17n ¤Ç m17n ¥é¥¤¥Ö¥é¥ê -¤È¥ê¥ó¥¯¤·¤Æ¤¯¤À¤µ¤¤¡£ @ref m17nIntro ¤ò»²¾È¡£ */ +.h> をプログラムに include し、-lm17n で m17n ライブラリ +とリンクしてください。 @ref m17nIntro を参照。 */ /***en @section extralib External libraries and data @@ -154,56 +154,56 @@ mandatory but several functions of the m17n library depend on them. */ -/***ja @section extralib ³°Éô¥é¥¤¥Ö¥é¥ê¡¿¥Ç¡¼¥¿ +/***ja @section extralib 外部ライブラリ/データ -m17n ¥é¥¤¥Ö¥é¥ê¤Ï°Ê²¼¤Î³°Éô¥é¥¤¥Ö¥é¥ê¤òÍøÍѤ·¤Æ¤¤¤Þ¤¹¡£É¬¿Ü¤Ç¤Ï¤¢¤ê¤Þ -¤»¤ó¤¬¡¢m17n ¥é¥¤¥Ö¥é¥ê¤Î´ö¤Ä¤«¤Î´Ø¿ô¤Ï¤³¤ì¤é¤Ë°Í¸¤·¤Æ¤¤¤Þ¤¹¡£ +m17n ライブラリは以下の外部ライブラリを利用しています。必須ではありま +せんが、m17n ライブラリの幾つかの関数はこれらに依存しています。
  • m17n-db -- http://www.m17n.org/m17n-lib/download/m17n-db-1.2.0.tar.gz - @ref m17nShell ¤È @ref m17nGUI ¤¬»È¤¤¤Þ¤¹¡£ + @ref m17nShell と @ref m17nGUI が使います。
  • libxml2 -- http://xmlsoft.org/ - ´Ø¿ô mtext_serialize () ¤È mtext_deserialize () ¤¬»È¤¤¤Þ¤¹¡£ - libxml2 ¤¬ÍøÍѤǤ­¤Ê¤¤»þ¤Ë¤Ï¡¢¤³¤ì¤é¤Î´Ø¿ô¤Ï NULL ¤òÊÖ¤·¤Þ¤¹¡£ + 関数 mtext_serialize () と mtext_deserialize () が使います。 + libxml2 が利用できない時には、これらの関数は NULL を返します。
  • fribidi -- http://fribidi.sourceforge.net/ - BIDI ½èÍý¤Ë»È¤¤¤Þ¤¹¡£ÍøÍѤǤ­¤Ê¤¤»þ¤Ï¡¢m17n ¥é¥¤¥Ö¥é¥ê¤Îɽ¼¨¥¨¥ó - ¥¸¥ó¤Ï Arabic ¤äHebrew ¤Ê¤É¤Î¥¹¥¯¥ê¥×¥È¤òÀµ¤·¤¯½èÍý¤Ç¤­¤Þ¤»¤ó¡£ + BIDI 処理に使います。利用できない時は、m17n ライブラリの表示エン + ジンは Arabic やHebrew などのスクリプトを正しく処理できません。
  • freetype -- http://www.freetype.org/ - ¥í¡¼¥«¥ë¥Õ¥©¥ó¥È¤Î½èÍý¤Ë»È¤¤¤Þ¤¹¡£ + ローカルフォントの処理に使います。
  • fontconfig -- http://nexp.cs.pdx.edu/fontconfig/ - Xft ¤È¶¦¤Ë¡¢¥í¡¼¥«¥ë¥Õ¥©¥ó¥È¤Î¸¡º÷¤Ë»È¤¤¤Þ¤¹¡£ + Xft と共に、ローカルフォントの検索に使います。
  • xft -- http://freedesktop.org/Software/Xft - fontconfig ¤È¶¦¤Ë X ¥µ¡¼¥Ð¤Î XRender ³ÈÄ¥¤òÍøÍѤ·¤Æ¥Æ¥­¥¹¥È¤ò¥í¡¼ - ¥«¥ë¥Õ¥©¥ó¥È¤Çɽ¼¨¤¹¤ë¤¿¤á¤Ë»È¤¤¤Þ¤¹¡£ + fontconfig と共に X サーバの XRender 拡張を利用してテキストをロー + カルフォントで表示するために使います。
  • GD - ¥Æ¥­¥¹¥È¤ò¥í¡¼¥«¥ë¥Õ¥©¥ó¥È¤Ç bitmap/pixmap ¾å¤Ëɽ¼¨¤¹¤ë¤Î¤Ë»È¤¤¤Þ - ¤¹¡£ + テキストをローカルフォントで bitmap/pixmap 上に表示するのに使いま + す。
  • libotf -- http://www.m17n.org/libotf/ - freetype ¤È¶¦¤Ë OpenType ¥Õ¥©¥ó¥È¤Î½èÍý¤Ë»È¤¤¤Þ¤¹¡£ + freetype と共に OpenType フォントの処理に使います。
  • anthy -- http://anthy.sourceforge.jp/ - ÆüËܸìÆþÎϥ᥽¥Ã¥É ja-anthy.mim ¤¬»È¤¤¤Þ¤¹¡£ + 日本語入力メソッド ja-anthy.mim が使います。
  • wordcut -- http://thaiwordseg.sourceforge.net/ - ¥×¥í¥°¥é¥àÎã example/linebreak.c Ãæ¤Ç¥¿¥¤¸ì¤Î¸ì¤Î¶­³¦¤ò¸«¤Ä¤±¤ë¤¿ - ¤á¤Ë»È¤Ã¤Æ¤¤¤Þ¤¹¡£ + プログラム例 example/linebreak.c 中でタイ語の語の境界を見つけるた + めに使っています。
*/ @@ -221,21 +221,21 @@ Bug report: m17n-lib-bug@m17n.org Mailing lists: http://www.m17n.org/m17n-lib/mailinglist.html */ -/***ja @section contact Ï¢ÍíÀè: +/***ja @section contact 連絡先: -ÆÈΩ¹ÔÀ¯Ë¡¿Í »º¶Èµ»½ÑÁí¹ç¸¦µæ½ê\n -¾ðÊ󵻽Ѹ¦µæÉôÌç\n -¥°¥í¡¼¥Ð¥ë IT ¥»¥­¥å¥ê¥Æ¥£¥°¥ë¡¼¥× +独立行政法人 産業技術総合研究所\n +情報技術研究部門\n +グローバル IT セキュリティグループ Web: http://www.m17n.org/m17n-lib/ -¥Ð¥°¥ì¥Ý¡¼¥È: m17n-lib-bug@m17n.org +バグレポート: m17n-lib-bug@m17n.org -¥á¥¤¥ê¥ó¥°¥ê¥¹¥È: http://www.m17n.org/m17n-lib-ja/mailinglist.htm +メイリングリスト: http://www.m17n.org/m17n-lib-ja/mailinglist.htm */ /***en @section ack Acknowledgements */ -/***ja @section ack ¼Õ¼­ */ +/***ja @section ack 謝辞 */ /*** Special thanks to: diff --git a/utils/latex.sh b/utils/latex.sh index b1a6f50..6f2fa99 100755 --- a/utils/latex.sh +++ b/utils/latex.sh @@ -1,5 +1,5 @@ #!/bin/sh -# -*- coding: euc-jp; -*- +# -*- coding: utf-8; -*- # $1: target directory (usr/latex, ja/latex, or dev/latex) # $2: latex commnad (latex, platex, or pdflatex) @@ -11,12 +11,15 @@ cd $1 LATEX=$2 if [ $USR_JA_DEV = "ja" ] ; then LATEX=platex + if [ -d /usr/local/teTeX/bin ] ; then + PATH=/usr/local/teTeX/bin:$PATH + fi SOURCE=m17n-lib-ja sed -e '/documentclass/ s/a4paper/a4paper,twoside/' \ - -e '/m17n ¥é¥¤¥Ö¥é¥ê ¥â¥¸¥å¡¼¥ëº÷°ú/,/pages/ d' \ - -e '/m17n ¥é¥¤¥Ö¥é¥ê ¥Õ¥¡¥¤¥ë/,/textprop_8c/ d' \ - -e '/m17n ¥é¥¤¥Ö¥é¥ê Directory Documentation/,/dir_000001/ d' \ - -e 's/m17n ¥é¥¤¥Ö¥é¥ê ¥Ú¡¼¥¸/Appendix/' \ + -e '/m17n ライブラリ モジュール索引/,/pages/ d' \ + -e '/m17n ライブラリ ファイル/,/textprop_8c/ d' \ + -e '/m17n ライブラリ Directory Documentation/,/dir_000001/ d' \ + -e 's/m17n ライブラリ ページ/Appendix/' \ < refman.tex > ${SOURCE}.tex elif [ $USR_JA_DEV = "dev" ] ; then SOURCE=m17n-lib-dev @@ -36,9 +39,9 @@ else < refman.tex > ${SOURCE}.tex fi ${LATEX} ${SOURCE}.tex -if [ "${USR_JA_DEV}" = "ja" ] ; then - nkf -e < ${SOURCE}.idx > temp.idx; mv temp.idx ${SOURCE}.idx -fi -makeindex ${SOURCE}.idx +#if [ "${USR_JA_DEV}" = "ja" ] ; then +# nkf -e < ${SOURCE}.idx > temp.idx; mv temp.idx ${SOURCE}.idx +#fi +/usr/bin/makeindex ${SOURCE}.idx ${LATEX} ${SOURCE}.tex ${LATEX} ${SOURCE}.tex -- 1.7.10.4