[NTG-context] xetex and metapost
Hans Hagen
pragma at wxs.nl
Sat Sep 16 16:50:27 CEST 2006
Alex Lubberts wrote:
> Hi,
>
> After switching to `XeConTeXt' my file with MP graphics (which ran fine
> before) results in errors. I include a .mp-file like:
>
> \startuseMPgraphic{dia1}
> input Diagram1 ;
> \stopuseMPgraphic
> \placefigure{Comment}{\externalfigure[Diagram1.1]}
>
> When I run ConTeXt a file test-mprun.mp is created containing:
>
> [...]
> defaultfont:="'Minion Pro:mapping=tex-text;
> +onum;
> +pnum'";
> defaultscale:=12.0pt/10pt;
> [...]
>
> which of course is responsible for the errors. Does anyone know how to
> solve this?
>
hm, tricky, one option is to use the \sometxt (see older posts)
mechanism which will keep font handling entirely inside tex
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