From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/3556 Path: main.gmane.org!not-for-mail From: "Denis B. Roegel" Newsgroups: gmane.comp.tex.context Subject: Re: fonts in embedded tex in embedded metapost in context Date: Fri, 8 Dec 2000 22:34:05 +0100 (MET) Sender: owner-ntg-context@let.uu.nl Message-ID: <200012082134.WAA29308@bar.loria.fr> References: <3.0.6.32.20001208201424.015bd960@pop.wxs.nl> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1035394287 18096 80.91.224.250 (23 Oct 2002 17:31:27 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 17:31:27 +0000 (UTC) Cc: Denis.Roegel@loria.fr (Denis B. Roegel), ntg-context@ntg.nl, roegel@lorraine.loria.fr (Denis B. Roegel) Original-To: pragma@wxs.nl (Hans Hagen) In-Reply-To: <3.0.6.32.20001208201424.015bd960@pop.wxs.nl> from "Hans Hagen" at Dec 08, 2000 08:14:24 PM Xref: main.gmane.org gmane.comp.tex.context:3556 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:3556 `Hans Hagen' wrote > > >Some of the labels are in ISO-Latin 1 encoding. How do I select this? > > > > ... btex ISO-Latin 1 text etex ... > > \enableencoding [il1] I tried \starttext \startMPenvironment \ss \enableencoding [il1] \stopMPenvironment \startuseMPgraphic{test} label(btex élève etex,origin); \stopuseMPgraphic \useMPgraphic{test} \stoptext and it doesn't display ``é'' and ``è''. When I look at the mpx file, I see begingroup save _p,_r,_s,_n; picture _p; _p=nullpicture; string _n[]; vardef _s(expr _t,_f,_m,_x,_y)= addto _p also _t infont _f scaled _m shifted (_x,_y); enddef; _n0="cmss12"; _s("lve",_n0,1.00000,0.0000,0.0000); setbounds _p to (0,0.0000)--(13.3110,0.0000)-- (13.3110,8.3022)--(0,8.3022)--cycle; _p endgroup mpxbreak so presumably, the problem is cmss12. Can you explain how ``é'' is handled? In LaTeX, é becomes \'e (with the input encoding latin1) and this is translated into some position in the font, or some combination of characters. With cmss12, LaTeX would map \'e to some \accent combination. What is the context position on this matter? Denis