From: Marco <netuse@lavabit.com>
To: ntg-context@ntg.nl
Subject: Re: MetaFun: MetaPost example works with `mpost` but not embedded in ConTeXt: `! Redundant equation.`
Date: Mon, 12 Dec 2011 00:59:20 +0100 [thread overview]
Message-ID: <20111212005920.66767b58@homerow> (raw)
In-Reply-To: <1323634547.26949.9.camel@mattotaupa>
On 2011-12-11 Paul Menzel <paulepanter@users.sourceforge.net> wrote:
> […]
>
> I then copied it into `\{start,stop}useMPgraphic`,
> removed the `end ;` and `{begin,end}fig` and replaced
> `{e,b}tex` by `textext()` but still get the following
> error.
I didn't check you code (try to make a minimal example
next time), but the problem seems to be the combination of
equations and labels. When labels are present, the file is
processed twice and the equations are also read twice (in
MkIV). It hasn't been fixed for ages, that probably means
it will stay.
One workaround is to substitute the equations with
assignments or to “save” the values beforehand.
See also:
http://archive.contextgarden.net/message/20101205.035356.1b7bfb72.en.html
Marco
___________________________________________________________________________________
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-12-11 23:59 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-11 20:15 Paul Menzel
2011-12-11 23:59 ` Marco [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=20111212005920.66767b58@homerow \
--to=netuse@lavabit.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).