From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/12437 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: RE: Writing Japanese using ConTeXt Date: Tue, 10 Jun 2003 10:18:50 +0200 Sender: ntg-context-admin@ntg.nl Message-ID: <5.2.0.9.1.20030610101444.034e7a28@server-1> References: <3EE496BB.1010605@zam.att.ne.jp> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Trace: main.gmane.org 1055233509 12538 80.91.224.249 (10 Jun 2003 08:25:09 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 10 Jun 2003 08:25:09 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Tue Jun 10 10:25:07 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 19PeQn-0003EN-00 for ; Tue, 10 Jun 2003 10:24:37 +0200 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 4CEF510B1F; Tue, 10 Jun 2003 10:27:04 +0200 (MEST) Original-Received: from mail.solcon.nl (mail.solcon.nl [212.45.33.11]) by ref.ntg.nl (Postfix) with ESMTP id A455F10B1F for ; Tue, 10 Jun 2003 10:19:20 +0200 (MEST) Original-Received: from server-1.pragma-net.nl (wc-58016.solcon.nl [212.45.58.16]) by mail.solcon.nl (8.12.9/SQL-8.12.9-10/8.12.5) with ESMTP id h5A8JHHl022480 for ; Tue, 10 Jun 2003 10:19:17 +0200 Original-Received: from laptop-3.wxs.nl (laptop-3 [10.100.1.191]) by server-1.pragma-net.nl (8.12.3/8.12.2) with ESMTP id h5A8JI0c025582 for ; Tue, 10 Jun 2003 10:19:18 +0200 X-Sender: hagen-mail@server-1 X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9 Original-To: ntg-context@ntg.nl In-Reply-To: <000501c32ea4$eb16a570$0a01a8c0@TIMBO> X-RAVMilter-Version: 8.4.1(snapshot 20020919) (mail.solcon.nl) 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:12437 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:12437 At 18:33 09/06/2003 +0200, Tim 't Hart wrote: >When I look at the source of the Chinese module, the most difficult part for >me to understand is the part about font encoding, the enco-chi.tex file, and >the use of \defineuclass in that file. I guess it has to do something with >mapping the written text to the font. If I understand correctly, the Chinese >module doesn't use Unicode fonts, but GBK or Big5 encoded fonts. indeed, there is quite some remapping going on there, (one can hook in new ones if needed); a complication is that the mapping may change per font (simplified or not) >get printed in CMR. I did some tests and I could change the font in any >other font I wanted to, just by using the normal ConTeXt font mechanisms. So >I guess it is easy to mix Japanese fonts with normal Latin fonts. the cmr comes from the main font handler so if you choose times or palatino it would come out that way; in chinese font switching is triggered by glyphs >With the ConTeXt example that I posted yesterday, I am already able to write >Japanese in UTF-8, use a Unicoded Japanese font in ConTeXt, and get Japanese >output. I hope the hard part is already behind me! :-) The only thing that >still puzzles me is how I can add interglyph space so that TeX can break the >lines. If someone can help, I would really appreciate it! for that i need to have samples and fonts, Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------