`\usemodule[graph]` causes error `! Unable to make mpx file.` with ConTeXt ver: 2011.10.14 22:47 MKIV
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
Confirmed here. OK ConTeXt ver: 2011.09.27 20:05 MKIV fmt: 2011.9.30 not OK ConTeXt ver: 2011.10.17 10:36 MKIV fmt: 2011.10.18 Alan On Tue, Oct 18, 2011 at 02:41:45PM +0200, Paul Menzel wrote:
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
Hans, The use of the graph module is indeed currently broken, both in mkiv and in mkii. Alan On Tue, Oct 18, 2011 at 03:00:33PM +0200, Alan Braslau wrote:
Confirmed here.
OK ConTeXt ver: 2011.09.27 20:05 MKIV fmt: 2011.9.30 not OK ConTeXt ver: 2011.10.17 10:36 MKIV fmt: 2011.10.18
Alan
On Tue, Oct 18, 2011 at 02:41:45PM +0200, Paul Menzel wrote:
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
-- Alan Braslau CEA DSM-IRAMIS-SPEC CNRS URA 2464 Orme des Merisiers 91191 Gif-sur-Yvette cedex FRANCE tel: +33 1 69 08 73 15 fax: +33 1 69 08 87 86 mailto:alan.braslau@cea.fr
On 27-10-2011 11:45, Alan Braslau wrote:
\usemodule[graph]
\starttext \startMPcode draw unitsquare scaled 1cm; \stopMPcode \stoptext
fixed in next upload -- ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (3)
-
Alan Braslau
-
Hans Hagen
-
Paul Menzel