ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* graph module metapost
@ 2002-08-06  9:20 Hans Hagen
  2002-08-06 11:16 ` Jens-Uwe Morawski
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2002-08-06  9:20 UTC (permalink / raw)


Hi,

If you run a recent version, you can use the metapost graph module by saying:

\forceMPTEXgraphictrue

\appendtoks
   initialize_numbers ;
   input graph ;
   Autoform := "@g" ;
\to \MPinitializations

The next release will provide a (more efficient) module:

\usemodule[graph]

Hans
-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                       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
-------------------------------------------------------------------------
                        information: http://www.pragma-ade.com/roadmap.pdf
                     documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: graph module metapost
  2002-08-06  9:20 graph module metapost Hans Hagen
@ 2002-08-06 11:16 ` Jens-Uwe Morawski
  2002-08-06 12:06   ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Jens-Uwe Morawski @ 2002-08-06 11:16 UTC (permalink / raw)


On Tue, 06 Aug 2002 11:20:51 +0200
Hans Hagen <pragma@wxs.nl> wrote:

> 
> The next release will provide a (more efficient) module:
> 
> \usemodule[graph]

Since \usemodule is used for diffent modules TeX (bib) or MP (graph)
it has to know, that 'graph' is a MP module.
What setup is needed to load own MP moduls using \usemodule?
I think \definefilesynonym is not enough.

is there something like:

\defineMPmodule[Boxes][boxes.mp]
\usemodule[Boxes]

Thanks.
  Jens


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: graph module metapost
  2002-08-06 11:16 ` Jens-Uwe Morawski
@ 2002-08-06 12:06   ` Hans Hagen
  0 siblings, 0 replies; 3+ messages in thread
From: Hans Hagen @ 2002-08-06 12:06 UTC (permalink / raw)
  Cc: ConTeXt

At 01:16 PM 8/6/2002 +0200, Jens-Uwe Morawski wrote:
>On Tue, 06 Aug 2002 11:20:51 +0200
>Hans Hagen <pragma@wxs.nl> wrote:
>
> >
> > The next release will provide a (more efficient) module:
> >
> > \usemodule[graph]
>
>Since \usemodule is used for diffent modules TeX (bib) or MP (graph)
>it has to know, that 'graph' is a MP module.

actually, it does not load an mp module, it only adds the right 
initialization code to let mp load the module

>What setup is needed to load own MP moduls using \usemodule?
>I think \definefilesynonym is not enough.
>
>is there something like:
>
>\defineMPmodule[Boxes][boxes.mp]
>\usemodule[Boxes]

normally

\startMPinclusions
   input boxes
\stopMPinclusions

should be ok; a more general scheme (something loadMPmodule) is only needed 
when we also have to do a lot of related context interfacing (like with 
graph, where these is this text along axis stuff)

When we run into more modules, we can set up a system for that, but first 
we need to get a clear picture of demands;

Hans

-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                       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
-------------------------------------------------------------------------
                        information: http://www.pragma-ade.com/roadmap.pdf
                     documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-08-06 12:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-06  9:20 graph module metapost Hans Hagen
2002-08-06 11:16 ` Jens-Uwe Morawski
2002-08-06 12:06   ` Hans Hagen

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).