From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.devel,gmane.comp.tex.texinfo.bugs Subject: support of Japanese in makeinfo Date: Fri, 04 Mar 2005 13:52:27 +0900 Organization: Emacsen advocacy group Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: sea.gmane.org 1109912418 22492 80.91.229.2 (4 Mar 2005 05:00:18 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 4 Mar 2005 05:00:18 +0000 (UTC) Cc: bob@rattlesnake.com, rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Mar 04 06:00:17 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1D74v1-0004Ny-5g for ged-emacs-devel@m.gmane.org; Fri, 04 Mar 2005 06:00:07 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D75E7-0005Lf-6h for ged-emacs-devel@m.gmane.org; Fri, 04 Mar 2005 00:19:51 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1D75DM-00056R-2t for emacs-devel@gnu.org; Fri, 04 Mar 2005 00:19:04 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1D75DG-00053J-9Z for emacs-devel@gnu.org; Fri, 04 Mar 2005 00:18:58 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D75DF-0004vd-Ql; Fri, 04 Mar 2005 00:18:57 -0500 Original-Received: from [69.61.11.2] (helo=washington.hostforweb.net) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1D74no-0000g8-Oc; Thu, 03 Mar 2005 23:52:41 -0500 Original-Received: from [127.0.0.1] (helo=localhost) by washington.hostforweb.net with esmtpa (Exim 4.44) id 1D74np-00026m-GM; Thu, 03 Mar 2005 23:52:42 -0500 Original-To: bug-texinfo@gnu.org X-Face: #kKnN,xUnmKia.'[pp`; Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu; B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:y6ggvhN9N6PdugG0tuvOgE8DvAs= X-Hashcash: 1:20:050304:bug-texinfo@gnu.org::ox5Zb9VdO2O0IJOx:0000000000000000000000000000000000000000006Lwh X-Hashcash: 1:20:050304:rms@gnu.org::nALbvPSUVdGEOmo3:0000002hfy X-Hashcash: 1:20:050304:bob@rattlesnake.com::1rOD9eaSQoq3CeF0:0000000000000000000000000000000000000000001fFH X-Hashcash: 1:20:050304:emacs-devel@gnu.org::c6h323kmUJYGYERX:0000000000000000000000000000000000000000001OHL X-Antivirus-Scanner: Clean mail though you should still use an Antivirus X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - washington.hostforweb.net X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Source: X-Source-Args: X-Source-Dir: X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org X-MailScanner-To: ged-emacs-devel@m.gmane.org Xref: main.gmane.org gmane.emacs.devel:34164 gmane.comp.tex.texinfo.bugs:2555 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:34164 --=-=-= Hello, I was encouraged by Richard Stallman and send this message. I'm participating in the development of some Emacs Lisp softwares and have the chance to write the TexInfo manuals in Japanese. Since the makeinfo command doesn't support Japanese text, I always put the rule which uses the Emacs Lisp based makeinfo, that is, the texinfo-format-buffer function, into those Makefiles. Probably, developers in China and Korea will do the same because of the same reason, although I'm not familiar with those languages. Is there a chance that the makeinfo command supports Japanese text? I heard someone in Japan has tried to modify it so as to support Japanese text years ago, however it didn't seem to have been successful. I wish the makeinfo command could support languages which correspond to many locales defined in the /usr/lib/locale directory. Unfortunately, I'm not good at C. There are four encodings which are generally used for Japanese text; they are ISO-2022-JP, EUC-JP, SHIFT_JIS and UTF-8. ISO-2022-JP uses only 7-bit data, but some characters which are special to makeinfo, for example, `@' and `{', will appear in the raw data. EUC-JP uses only 8-bit data, is popular in the Unix-like systems as well as ISO-2022-JP. SHIFT_JIS uses a mixture of 7-bit and 8-bit data, mainly used in MS Windows. In addition, there are special conventions used in Japanese text. The typical ones are as follows: 1. Japanese words are not separated by spaces as if they look "Japanesewordsarenotseparatedbyspaces". 2. Lines can be broken even in the middle of a word. However, ASCII words embedded in Japanese sentences cannot be broken. 3. There's no space between the Japanese comma or the Japanese period and the beginning of the next sentence. 4. There are special rules called `kinsoku'. Some characters including Japanese comma, period and dash, small kana characters and the right parenthesis should not be places at the beginning of lines. Contrarily, the left parenthesis and so forth should not be placed at the end of lines. In Emacs, they are defined in the lisp/international/kinsoku.el file. I would greatly appreciate making the makeinfo command support them. I attach an example of the Japanese TexInfo file below. Best regards, --=-=-= Content-Type: application/x-gzip; charset=iso-2022-jp Content-Disposition: attachment; filename=jugemu.texi.gz Content-Transfer-Encoding: base64 H4sICMfmJ0ICA2p1Z2VtdS50ZXhpAE2O20rDQBCG7/cVvJngrCesaKVoamNCKYitpopBQai4JmOz Md0NyaZVfHk3aYVe7Jz2/7+ZIIbOUQcWOqE+GPqW6lNfQawTqeZ9kJXudE+73U5WNDIWVGQ+ZU5K LAiyek6LmgWJjusFKUNqbYPbp+naNX5ggbJkiHTBWJTKyhLBpAS5VnOqDBRUVlqJHFoiLakEqWAs CqFOACKrrHRdxtT4BCvFVz3XUBld/rSOBN7XV+zDKpVx2srAlCKRRrbcov7IZcya80ojpGoOhUIX dS62VjG2g0P0MMep8zxYXQ7veut4+eYShuhiFrxifo597/7bp94vhj650WR5FjTxdnWfTpb+Ie75 3Z2DYQv78jKceFf4bnOCzyivT6aH/5k/cuSz7Yghv+DkDHjGK35sX9ttYP9DKzrdSAJr2qrtz8xW M37OI2ew1Y0xHLm9lzsfww1s5Hq184I36Dq7zegPwsA5uQICAAA= --=-=-= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel --=-=-=--