From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/12489 Path: main.gmane.org!not-for-mail From: "Tim 't Hart" Newsgroups: gmane.comp.tex.context Subject: RE: Writing Japanese using ConTeXt Date: Mon, 16 Jun 2003 06:37:20 +0200 Sender: ntg-context-admin@ntg.nl Message-ID: <000001c333c0$fc2f6dd0$0a01a8c0@TIMBO> References: <5.2.0.9.1.20030615225437.089e2500@localhost> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1055738324 29287 80.91.224.249 (16 Jun 2003 04:38:44 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 16 Jun 2003 04:38:44 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Mon Jun 16 06:38:41 2003 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19RllR-0007by-00 for ; Mon, 16 Jun 2003 06:38:41 +0200 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id D70A910B21; Mon, 16 Jun 2003 06:41:21 +0200 (MEST) Original-Received: from post-21.mail.nl.demon.net (post-21.mail.nl.demon.net [194.159.73.20]) by ref.ntg.nl (Postfix) with ESMTP id 6EC1510ACE for ; Mon, 16 Jun 2003 06:37:23 +0200 (MEST) Original-Received: from [212.238.244.167] (helo=TIMBO) by post-21.mail.nl.demon.net with esmtp (Exim 3.36 #1) id 19RlkB-000HM8-00 for ntg-context@ntg.nl; Mon, 16 Jun 2003 04:37:23 +0000 Original-To: X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4510 In-Reply-To: <5.2.0.9.1.20030615225437.089e2500@localhost> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:12489 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:12489 Hans Hagen wrote: > you mix up two mechanisms: Yes, after studying the Chinese module for a while, I also came to the conclusion that I mixed up bad! :-) So instead of enjoying the nice weather during the weekend, I wrote some mapping files that will create subfonts for EUC-JP encoding. Each = subfont contains glyphs with the same first byte, just like the idea behind the Chinese module.=20 Then I wrote a basic 'font-jpn.tex' file and now I can write Japanese in EUC-JP encoding, including basic line breaking! I was still working on this and wanted to release it when it was more useful, but I guess I have to speed things up now. Also, since I'm not = an expert in ConText, I'm sure I'm doing some things completely the wrong = way, so I think it's good if someone else will take a look at it. There is a = lot to improve! :-) > - How are the rules for breaking? The rules are basically the same as in Chinese. Japanese also contains smaller versions of the kana (hiragana and katakana) glyphs, and = breaking before those is not allowed as well. Also, there seems to be different classes of breaking: for some characters breaking is strictly forbidden, = and for some it is slightly forbidden. (I guess they mean that you should = not break slightly forbidden characters, but if the penalty is too bad, = break them anyway) > Can you make a small test suite? Yes, I am at work right now, but when I get back, I'll send you the = mapping files to make the fonts, the font-jpn file I was working on, and some = other things like sample files and line breaking rules. My best, Tim