Dear ConTeXt folks,

using the following minimal example

        \usemodule[graph]
        
        \starttext
        \startMPcode
        draw unitsquare scaled 1cm;
        \stopMPcode
        \stoptext

causes the following error.

        $ context graph

        ConTeXt  ver: 2011.10.14 22:47 MKIV  fmt: 2011.10.15  int: 
english/english

        […]

        metapost        > initializing instance 'metafun' using format
        'metafun'
        metapost        > loading
        'metafun': /context/tex/texmf-context/metapost/context/base/metafun.mpiv
        ! terminal:
        (/context/tex/texmf-context/metapost/context/base/mp-spec.mpii)
        (/context/tex/texmf/metapost/base/graph.mp
        (/context/tex/texmf/metapost/base/marith.mp
        (/context/tex/texmf/metapost/base/string.mp))
        (/context/tex/texmf/metapost/base/format.mp
        (/context/tex/texmf/metapost/base/string.mp)
        (/context/tex/texmf/metapost/base/troffnum.mp
        >> troffnum.mp
        >> troffnum.mpx
        ! Unable to make mpx file.
        l.7 init_numbers(btex
                             $-$etex, btex$1$etex, btex$ times 10$etex,
        […]

Removing `\usemodule[graph]` make the example work. The used terminal(?)
and use of `mp-spec.mpii` looks suspicious.

Using the ConTeXt version in Debian Sid/unstable the example works.

        $ context graph

        […]

        ConTeXt  ver: 2011.05.18 18:04 MKIV  fmt: 2011.7.24  int: 
english/english

        […]

        structure       > sectioning > section @ level 3 : 0.0.1 -> Test
        metapost        > initializing instance 'metafun' using format 'metafun'
        metapost        > loading 'metafun.mp' (experimental metapost version 
two)
        backend         > xmp > using file 
'/usr/share/texmf/tex/context/base/lpdf-pdx.xml'


Thanks,

Paul
\usemodule[graph]

\starttext
\startMPcode
draw unitsquare scaled 1cm;
\stopMPcode
\stoptext

Attachment: signature.asc
Description: This is a digitally signed message part

___________________________________________________________________________________
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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to