From: "Vedran Miletić" <rivanvx@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: MPdefinitions
Date: Mon, 23 May 2011 18:57:15 +0200 [thread overview]
Message-ID: <BANLkTikQq10J6a3i_N9zGH6Pn1qD+SPErQ@mail.gmail.com> (raw)
In-Reply-To: <B463FF86-1704-43BD-94AA-89CC83D19268@googlemail.com>
[-- Attachment #1.1: Type: text/plain, Size: 623 bytes --]
2011/5/23 Wolfgang Schuster <schuster.wolfgang@googlemail.com>
>
> Am 23.05.2011 um 17:37 schrieb Vedran Miletić:
>
> 2011/5/23 Wolfgang Schuster <schuster.wolfgang@googlemail.com>
>
>> Please send a complete example!
>>
>
> Sure:
>
> […]
>
>
> Add
>
> \defineMPinstance
> [solvers]
> [format=metafun,
> extensions=yes,
> initializations=yes]
>
> before \startMPdefintions or omit the argument (i.e. “{solvers}”)
> from the \startMPdefintions command.
>
Great, thanks.
Why does the code in attachment then produce "undefined"? It's an example
from MetaFun book.
Vedran
[-- Attachment #1.2: Type: text/html, Size: 1404 bytes --]
[-- Attachment #2: solvers.tex --]
[-- Type: application/x-tex, Size: 1514 bytes --]
[-- Attachment #3: 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
___________________________________________________________________________________
prev parent reply other threads:[~2011-05-23 16:57 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-23 10:02 MPdefinitions Vedran Miletić
2011-05-23 10:45 ` MPdefinitions Wolfgang Schuster
2011-05-23 15:37 ` MPdefinitions Vedran Miletić
2011-05-23 16:23 ` MPdefinitions Wolfgang Schuster
2011-05-23 16:57 ` Vedran Miletić [this message]
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=BANLkTikQq10J6a3i_N9zGH6Pn1qD+SPErQ@mail.gmail.com \
--to=rivanvx@gmail.com \
--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).