From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/28535 Path: news.gmane.org!not-for-mail From: "Mojca Miklavec" Newsgroups: gmane.comp.tex.context Subject: Re: how to let context suppose chinese via utf-8 ? Date: Mon, 12 Jun 2006 18:28:23 +0200 Message-ID: <6faad9f00606120928t528e20fet130aa4d0f3b2257e@mail.gmail.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1150129720 9352 80.91.229.2 (12 Jun 2006 16:28:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 12 Jun 2006 16:28:40 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Mon Jun 12 18:28:37 2006 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 ciao.gmane.org with esmtp (Exim 4.43) id 1FppHI-0007Qw-43 for gctc-ntg-context-518@m.gmane.org; Mon, 12 Jun 2006 18:28:36 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A9D43127D3; Mon, 12 Jun 2006 18:28:35 +0200 (CEST) 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 24915-02; Mon, 12 Jun 2006 18:28:28 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 80C4F127B9; Mon, 12 Jun 2006 18:28:28 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 26626127B9 for ; Mon, 12 Jun 2006 18:28:28 +0200 (CEST) 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 24963-01-2 for ; Mon, 12 Jun 2006 18:28:24 +0200 (CEST) Original-Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.169]) by ronja.ntg.nl (Postfix) with SMTP id 50770127B3 for ; Mon, 12 Jun 2006 18:28:24 +0200 (CEST) Original-Received: by ug-out-1314.google.com with SMTP id m3so1862249ugc for ; Mon, 12 Jun 2006 09:28:24 -0700 (PDT) Original-Received: by 10.78.20.13 with SMTP id 13mr1422291hut; Mon, 12 Jun 2006 09:28:23 -0700 (PDT) Original-Received: by 10.78.72.12 with HTTP; Mon, 12 Jun 2006 09:28:23 -0700 (PDT) Original-To: "mailing list for ConTeXt users" In-Reply-To: Content-Disposition: inline X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 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:28535 Archived-At: The first time I've been categorized as a spammer because I cited your name, so I deleted the Chineese part of the message this time: > Hi, evergyone > I found a instruction in context wiki (http://wiki.contextgarden.net/Chinese) > > in this page , it says: > > If you have Context 2005.12.19, you only have to get the fonts. Must be understood as: [Someone has forgotten to delete this note.] If your ConTeXt is older than a month don't even try to ask questions about why something doesn't work ;) > 1.You need some Chinese (TrueType) fonts; you may want to get FangSong, HeiTi, KaiTi and SongTi. Put those e.g. into $TEXMF/fonts/truetype/chinese/. > 3.You may now need to update the hash TeX uses to find the files; using teTeX this is done by running texhash. (often called) mktexlsr > 4.How you can run your Hello World program: > > could anyone be kindly to offer me a list of detail instructions about how to do? > > thank you! I don't know anything about Chineese, but which platform and which distribution are you using? Because it might be far easier to get Chineese working with XeTeX than with pdfTeX. In that case you don't need dozens of those (soon-to-become-obsolete) .map, .tfm and .enc files. (and you don't need that ruby script) XeTeX is runnung on Mac OS X for quite some time now, on Linux since end of April and on Windows for some days or weeks (not officially released yet). If you have Mac you can use i-Installer for installing XeTeX, on Linux it might be easiest to use linuxtex.zip and justtex.zip from pragma-ade.com. If you're on Windows I can send you some instructions how to install it (you basically only need to copy binaries and configuration files from xetex-w32.tar.bz to the proper place in the TeX tree), but I guess that XeTeX could (will?) be included in the standalone ConTeXt distribution without much trouble. In that case the whole story reduces to installing the fonts to your system (you probably already have them installed) and: texexec --xtx --make --all fc-cache -v -f and the Hello-world example being just something like % typescripts should be used here, but for hello-world this should suffice \font\MyFont="Arial Unicode MS" % or name of some other font that you want to use \MyFont \starttext your-chineese-text \stoptext texexec --xtx yourfile Mojca