From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/39681 Path: news.gmane.org!not-for-mail From: Taco Hoekwater Newsgroups: gmane.comp.tex.context Subject: Re: UTF-8 characters and gnuplot module Date: Wed, 26 Mar 2008 09:05:02 +0100 Message-ID: <47EA03AE.5040600@elvenkind.com> References: <6faad9f00803240853n1d3df88dt31808c998d3b674@mail.gmail.com> <200803241152.20110.merritt@u.washington.edu> <6faad9f00803241314m467aeec8hc590f2c0f8ef86b1@mail.gmail.com> <47E824E6.9020907@wxs.nl> <6faad9f00803241521y40a3d8f4kdab1e8480136734f@mail.gmail.com> <47E82EA8.106@wxs.nl> <6faad9f00803250755o60bfa9b5i9f1341ce636d3626@mail.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 1206518754 26816 80.91.229.12 (26 Mar 2008 08:05:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 26 Mar 2008 08:05:54 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Mar 26 09:06:22 2008 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 1JeQeD-0007Cb-0h for gctc-ntg-context-518@m.gmane.org; Wed, 26 Mar 2008 09:06:13 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0CD1F1FCBD; Wed, 26 Mar 2008 09:05:32 +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 30549-05-14; Wed, 26 Mar 2008 09:05:18 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9EA1E1FC14; Wed, 26 Mar 2008 09:05:17 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 7DC161FC11 for ; Wed, 26 Mar 2008 09:05:15 +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 30653-02-17 for ; Wed, 26 Mar 2008 09:05:08 +0100 (CET) Original-Received: from smtp-vbr16.xs4all.nl (smtp-vbr16.xs4all.nl [194.109.24.36]) by ronja.ntg.nl (Postfix) with ESMTP id 83E3A1FC14 for ; Wed, 26 Mar 2008 09:05:08 +0100 (CET) Original-Received: from [10.10.0.6] (boo.demon.nl [82.161.175.147]) (authenticated bits=0) by smtp-vbr16.xs4all.nl (8.13.8/8.13.8) with ESMTP id m2Q852eI013610 for ; Wed, 26 Mar 2008 09:05:08 +0100 (CET) (envelope-from taco@elvenkind.com) User-Agent: Thunderbird 1.5.0.10 (X11/20070305) In-Reply-To: <6faad9f00803250755o60bfa9b5i9f1341ce636d3626@mail.gmail.com> X-Virus-Scanned: by XS4ALL Virus Scanner X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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:39681 Archived-At: Hi, This thread is a bit confusing to me, so if there is an actual question to me, someone has to rephrase it (and keep in mind that I have not used gnuplot in 'ages'). Mojca Miklavec wrote: > > set ylabel "h\dochar {233}llo" Should this not be set ylabel "h\\dochar {233}llo" because of GNUplot's own double-quoted string parsing? Independent of expansion in \startGNUPLOTscript, I mean? Speaking as the maintainer of Metapost, assuming 'plain.mp': you should be able to use UTF-8 in btex ... etex under the following (narrow) conditions: * you have set up the verbatimtex .. etex properly so that your macro package nows how to handle the UTF-8 input; * your tex engine generates DVI files * the resulting fonts that are used in that DVI are TFM-based. For context, that would mean mkii pdftex with \enableregime[utf], but in that case, you are much better off using \textext. You cannot have UTF-8 in literal metapost label strings, because Metapost only knows about traditional TFM fonts (single byte). Best wishes, Taco ___________________________________________________________________________________ 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 ___________________________________________________________________________________