From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/17631 Path: main.gmane.org!not-for-mail From: "Adam Lindsay" Newsgroups: gmane.comp.tex.context Subject: Re: metafun example & utf8 input problem Date: Sat, 25 Dec 2004 10:20:28 +0000 Message-ID: <20041225102028.12585@news.comp.lancs.ac.uk> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1103991871 6397 80.91.229.6 (25 Dec 2004 16:24:31 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 25 Dec 2004 16:24:31 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Sat Dec 25 17:24:25 2004 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CiEiP-0007kL-00 for ; Sat, 25 Dec 2004 17:24:25 +0100 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 48234126F8; Sat, 25 Dec 2004 17:24:25 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 25192-07; Sat, 25 Dec 2004 17:24:25 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 50CD812777; Sat, 25 Dec 2004 17:20:54 +0100 (CET) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id BF3A412777 for ; Sat, 25 Dec 2004 17:20:52 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 25390-01-2 for ; Sat, 25 Dec 2004 17:20:52 +0100 (CET) Original-Received: from mail.comp.lancs.ac.uk (unknown [148.88.3.45]) by ronja.ntg.nl (Postfix) with ESMTP id 59AED126F8 for ; Sat, 25 Dec 2004 17:20:52 +0100 (CET) Original-Received: from [10.32.91.34] (localhost [127.0.0.1]) by mail.comp.lancs.ac.uk (8.12.10/8.12.10) with ESMTP id iBPGKJAX023111; Sat, 25 Dec 2004 16:20:41 GMT Original-To: VnPenguin , "ConTeXt users" In-Reply-To: X-Mailer: CTM PowerMail version 5.1 build 4340 English X-Virus-Scanned: by amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 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: by amavisd-new at ntg.nl Xref: main.gmane.org gmane.comp.tex.context:17631 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:17631 VnPenguin said this at Sat, 25 Dec 2004 00:35:36 +0100: >I'm trying the example at page 236 Graphics and macros (metafun-s.pdf). >I use vietnamese utf-8 input with T5.: >--------------------------- code --------------- >\enableregime[utf] >\setupencoding[default=t5] >\loadmapfile[urwvn] >\usetypescript[all][computer-modern][t5] >\setupbodyfont[reset] > >\usetypescript[berry][t5] >\usetypescript[postscript][t5] >\setupbodyfont[postscript,12pt] Hello again, Replace all this preamble stuff with something that gets sent to both ConTeXt and MetaFun: \startMPenvironment[global] \enableregime[utf] \setupencoding[default=t5] \loadmapfile[urwvn] \usetypescript[berry][t5] \usetypescript[postscript][t5] \setupbodyfont[postscript,12pt] \stopMPenvironment (BTW, the example text you sent got mangled in mailing--try checking your mailer's encoding.) Also, this was discussed in the archives as recently as July/August. -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Adam T. Lindsay, Computing Dept. atl@comp.lancs.ac.uk Lancaster University, InfoLab21 +44(0)1524/510.514 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-