[NTG-context] accents in text included in Metapost chain

Hans Hagen pragma at wxs.nl
Wed Oct 20 11:55:55 CEST 2004


olivier Turlier wrote:
> Hi contexers,
> I try to copy a nice graphic effect (shadow) on text  from metafun 
> manual (Hello in p. 187) --thank you Hans.
> I  cannot get proper accentuation in a french text.
> See code and  pdf result attached.

> \useregime[il1]
> \enableregime[il1]
> \useencoding[ffr]
> \mainlanguage[fr] 
> \enableregime[windows]

^ ^ you can omit this of you have the global def below

> \startMPenvironment[global]
>     \useregime[il1]
>     \enableregime[il1]
>     \useencoding[ffr]
>     \mainlanguage[fr]
>     \enableregime[windows]
> \stopMPenvironment

you enable regime il1 and after that regime windows but neither seem to 
match your input, which may be latin2

Here, not using any regime at all works ok (since texnansi has the glyps 
in those slots)

\startMPenvironment[global]
     \useencoding[ffr]
     \mainlanguage[fr]
\stopMPenvironment


Hans


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------



More information about the ntg-context mailing list