From: Taco Hoekwater <taco@elvenkind.com>
Subject: Re: TeX trigger in MP macro
Date: Fri, 04 Aug 2006 14:42:42 +0200 [thread overview]
Message-ID: <44D340C2.2050407@elvenkind.com> (raw)
In-Reply-To: <44D33D2B.2020300@gmx.net>
Peter Rolf wrote:
> BTW: Why do I need a semicolon after 'endgroup', but (in most cases) not
> after 'fi', 'endfor'?
You need a semicolon at the end of a statement. The <if> and <loop>
constructs are not statements, they are preprocessed.
You get the 'extra tokens' error when Metapost sees something like
endgroup a:=1;
because it knows that 'endgroup' can only be a statement on its own.
>
>>(I just looked at your pdf document).
>>
>>You probably want 'useMPgraphic' instead of 'uniqueMPgraphic'.
>>
>
> I'm not sure what you mean. Using 'useMPgraphic' to load all kind of MP
> graphics?
You have to use \startuseMPgraphic and \useMPgraphic instead of
\startuniqueMPgraphic, otherwise the output of both images will be
identical.
Cheers, Taco
next prev parent reply other threads:[~2006-08-04 12:42 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-03 12:29 Peter Rolf
2006-08-03 23:01 ` Hans Hagen
2006-08-04 10:57 ` Peter Rolf
2006-08-04 11:14 ` Taco Hoekwater
2006-08-04 11:17 ` Taco Hoekwater
2006-08-04 12:27 ` Peter Rolf
2006-08-04 12:42 ` Taco Hoekwater [this message]
2006-08-04 13:04 ` Peter Rolf
2006-08-04 14:26 ` Peter Rolf
2006-08-04 14:42 ` stange error in Live ConTeXt Taco Hoekwater
2006-08-04 16:22 ` Peter Rolf
2006-09-06 18:54 ` Patrick Gundlach
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=44D340C2.2050407@elvenkind.com \
--to=taco@elvenkind.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).