From: Paul Menzel <paulepanter@users.sourceforge.net>
To: ntg-context@ntg.nl
Subject: `\usemodule[graph]` causes error `! Unable to make mpx file.` with ConTeXt ver: 2011.10.14 22:47 MKIV
Date: Tue, 18 Oct 2011 14:41:45 +0200 [thread overview]
Message-ID: <1318941705.3538.23.camel@mattotaupa> (raw)
[-- Attachment #1.1.1: Type: text/plain, Size: 1905 bytes --]
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
[-- Attachment #1.1.2: graph.tex --]
[-- Type: text/x-tex, Size: 100 bytes --]
\usemodule[graph]
\starttext
\startMPcode
draw unitsquare scaled 1cm;
\stopMPcode
\stoptext
[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
next reply other threads:[~2011-10-18 12:41 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-18 12:41 Paul Menzel [this message]
2011-10-18 13:00 ` Alan Braslau
2011-10-27 9:45 ` Alan Braslau
2011-10-28 17:59 ` Hans Hagen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1318941705.3538.23.camel@mattotaupa \
--to=paulepanter@users.sourceforge.net \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).