At 02:18 PM 3/27/2002 +0000, Nigel King wrote:
> >> Hi all,
> >> There appears to be an incompatibility between the MetaPost graphing
> >> functions and MetaFun.
> >
> > Don't ask me why, but the following works (the problem is that metafun has
> > an adapted format.tex file); if you make me a couple of examples i can see
> > how i can support graph.mp in a better way (the point is that i want to
> > bypass the texnum stuff and provide real texing instead of the pseudo
> > texing in format.mp)
> >
> > \startMPinclusions
> > write "" to "texnum.mp" ; batchmode ; input graph ;
> > init_numbers
> >  (textext("$-$"),
> >   textext("$1$"),
> >   textext("${\times}10$"),
> >   textext("${}^-$"),
> >   textext("${}^2$"));
> > Fe_base := textext("$10$") ;
> > \stopMPinclusions
> >
>This has certainly worked in the four documents that were unreliable that I
>was working on.
>
>I am a fairly new user of graph.mp and thus am not sure what you might want
>in the way of examples. The reason why I had the two versions of pictures in
>testmp.tex before the problem graph was because the btex...etex method of
>text inclusion in metapost is quite different than the "..." method of text
>inclusion and can cause different problems (particularly the mp to tex to
>dvi to mp process), thus my test file for context installation included both
>forms.

the problem is that in graph (and the associated format) btex/etex calls 
are embedded, while metafun (texexec) handles this in its own way (as less 
calls to tex as possible and so)

Also, the idea behind a format replacement is that we can let graph adapt 
itself to style changes

Hans
-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
                                   fall-back web server: 
www.pragma-ade.nl
-------------------------------------------------------------------------

Reply via email to