From: "Verhaag, G.C.H.M." <verhaaggchm@ziggo.nl>
To: scholz.m82@googlemail.com,
mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: How to get graph module (metapost) to work with ConTeXt minimals?
Date: Thu, 30 Dec 2010 15:18:08 +0100 [thread overview]
Message-ID: <4D1C94A0.5050900@ziggo.nl> (raw)
In-Reply-To: <slrnihos7u.2b6.scholz.m82@lorien.mittelerde.lan>
Martin 'golodhrim' Scholz wrote:
>In article <4D1C59EF.3080403@ziggo.nl>, Verhaag, G.C.H.M. wrote:
>
>
>>Hi,
>>
>>This might not be the right place to ask this question, but want to give
>>it a try anyway!
>>
>>I've installed the ConTeXt minimals (Mark IV!) recently, and running the
>>command:
>>
>> context --version
>>
>>yields the following output:
>>
>> ...
>> MTXrun | current version: 2010.07.30 11:35
>>
>>Now I want to generate a few plots using the graph-module (by John D.
>>Hobby) of MetaPost, which I used in the past to make high-quality plots.
>>But when I add the following statement:
>>
>> input graph ;
>>
>>to the preamble of my MetaPost file and run the command:
>>
>> mpost plot.mp
>>
>>The run aborts with the following messages:
>>
>>
>>
>>>>texnum.mp
>>>>texnum.mpx
>>>>
>>>>
>>! Unable to make mpx file.
>>l.17 init_numbers(btex
>> $-$etex, btex$1$etex, btex${\times}10$etex,
>>Transcript written on texnum.log.
>>TeXExec | processing graphic 'texnum.mpx'
>>TeXExec | runtime: 1.547143
>>
>>
>>
>>
>>>>texnum.mp
>>>>texnum.mpx
>>>>
>>>>
>>! Unable to make mpx file.
>>l.17 init_numbers(btex
>> $-$etex, btex$1$etex, btex${\times}10$etex,
>>Transcript written on plot.log.
>>
>>So where to go from here? Do I need to install additional TeX related
>>stuff to get it working? Anybody any suggestions, please? Thanks in advance!
>>
>>Regards,
>>Gerard Verhaag
>>
>>P.S.
>>
>>By the way, if I use MetaPost within ConTeXt using:
>>
>>\loadmarkfile{m-graph}
>>
>>\starttext
>> \startMPcode
>> .
>> /[MetaPost code]
>> .
>>/ \stopMPcode
>>\stoptext
>>
>>than everything works just fine!
>>
>>___________________________________________________________________________________
>>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
>>___________________________________________________________________________________
>>
>>
>>
>Hi Gerard,
>
>that's because of a change in ConTeXts metapost, you can use
>
>\startMPpage
><Your MP Code here>
>\stopMPpage
>
>MetaPost from ConTeXt is not able without big changes to run standalone,
>so you might need to load the MetaPost version from TeXlive, the way how
>to do so depends on your OS...
>
>Greetings
>
>
Hi Martin,
Okay, thanks for your answer!
Embedding the code in my ConTeXt file works well, but I was used to
obtain my MetaPost figures seperately using the mpost-command!
Regards,
Gerard Verhaag
___________________________________________________________________________________
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 prev parent reply other threads:[~2010-12-30 14:18 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-30 10:07 Verhaag, G.C.H.M.
2010-12-30 12:03 ` Martin 'golodhrim' Scholz
2010-12-30 14:18 ` Verhaag, G.C.H.M. [this message]
2010-12-31 12:49 ` Alan BRASLAU
2010-12-30 12:53 ` contextgarden down? Jan-Erik Hägglöf
2010-12-30 13:12 ` luigi scarso
2010-12-30 13:27 ` Khaled Hosny
2010-12-30 13:43 ` luigi scarso
2010-12-30 13:49 ` Jan-Erik Hägglöf
2010-12-30 14:20 ` Martin Schröder
2010-12-30 15:16 ` Patrick Gundlach
2010-12-30 15:03 ` How to get graph module (metapost) to work with ConTeXt minimals? Wolfgang Schuster
2010-12-31 9:36 ` Verhaag, G.C.H.M.
2011-01-01 20:03 ` Wolfgang Schuster
2011-01-03 9:39 ` Verhaag, G.C.H.M.
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=4D1C94A0.5050900@ziggo.nl \
--to=verhaaggchm@ziggo.nl \
--cc=ntg-context@ntg.nl \
--cc=scholz.m82@googlemail.com \
/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).