From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/48438 Path: news.gmane.org!not-for-mail From: Arthur Reutenauer Newsgroups: gmane.comp.tex.context Subject: Re: pinyin in context Date: Mon, 16 Mar 2009 22:17:36 +0100 Message-ID: <20090316211736.GA20203@phare.normalesup.org> References: <20090311044449.GA10316@localhost.localdomain> <20090315031958.GA8541@localhost.localdomain> <0F0A9C5F-CC0E-4B0F-AC00-B9189287F00D@gmail.com> <20090316161752.GA7694@localhost.localdomain> <393BDFEF-92DA-47FF-90AA-E90632F268F7@gmail.com> Reply-To: Mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1237238321 10877 80.91.229.12 (16 Mar 2009 21:18:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 16 Mar 2009 21:18:41 +0000 (UTC) To: Mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Mar 16 22:19:58 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1LjKDs-00068S-N9 for gctc-ntg-context-518@m.gmane.org; Mon, 16 Mar 2009 22:19:48 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9EBE11FC78; Mon, 16 Mar 2009 22:18:24 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 26735-03; Mon, 16 Mar 2009 22:17:48 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id CBCB71FC3E; Mon, 16 Mar 2009 22:17:48 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 02DA71FC3E for ; Mon, 16 Mar 2009 22:17:47 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 28009-02-2 for ; Mon, 16 Mar 2009 22:17:39 +0100 (CET) Original-Received: from filter4-nij.mf.surf.net (filter4-nij.mf.surf.net [195.169.124.155]) by ronja.ntg.nl (Postfix) with ESMTP id 1AEDE1FC36 for ; Mon, 16 Mar 2009 22:17:39 +0100 (CET) Original-Received: from nef2.ens.fr (nef2.ens.fr [129.199.96.40]) by filter4-nij.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n2GLHaT8004740 for ; Mon, 16 Mar 2009 22:17:38 +0100 Original-Received: from phare.normalesup.org (phare.normalesup.org [129.199.129.80]) by nef2.ens.fr (8.13.6/1.01.28121999) with ESMTP id n2GLHaT9065603 for ; Mon, 16 Mar 2009 22:17:36 +0100 (CET) X-Envelope-To: Original-Received: by phare.normalesup.org (Postfix, from userid 1008) id 48605BC0A9; Mon, 16 Mar 2009 22:17:36 +0100 (CET) Content-Disposition: inline In-Reply-To: <393BDFEF-92DA-47FF-90AA-E90632F268F7@gmail.com> User-Agent: Mutt/1.5.17 (2007-11-01) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.1.4 (nef2.ens.fr [129.199.96.32]); Mon, 16 Mar 2009 22:17:36 +0100 (CET) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=129.199.96.40; country=FR; region=A8; city=Paris; latitude=48.8667; longitude=2.3333; http://maps.google.com/maps?q=48.8667,2.3333&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 194508537 - 3a71f15a11f8 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.155 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:48438 Archived-At: > If you can provide such a list Hans can add the information to > char-def.lua, As I mentioned, the Unihan database has a very comprehensive list (probably too comprehensive). I made it into a Lua list, but need to polish it (sorry, 500+ Kb, not attaching). It can be downloaded from http://github.com/reutenauer/luapinyin then tools/pinyins.lua We will need the \pinyin command anyway, for the cases where there is an ambiguity. Arthur ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________