From: Taco Hoekwater <taco@elvenkind.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: metaobj and luatex 0.42.0
Date: Thu, 06 Aug 2009 22:01:58 +0200 [thread overview]
Message-ID: <4A7B36B6.6040301@elvenkind.com> (raw)
In-Reply-To: <1249585103.867128157@192.168.1.201>
Matthew Claus wrote:
> This minimal example works with "texexec example.tex" but fails with "context
> example.tex".
>
> \startMPinclusions
> input metaobj;
> \stopMPinclusions
>
> \starttext
> \startMPpage
> newBox.a(\sometxt{hello world});
> a.c = origin;
> drawObj(a);
>
> \stopMPpage
> \stoptext
>
> Is this expected to work (I realize the 0.42.0 is very new)
I am not surprised it fails. Most metapost code in mkiv is run at
least twice for some reason, and so equations tend to fail. You could
try with
\startMPpage
newBox.a(\sometxt{hello world});
a.c := origin;
drawObj(a);
\stopMPpage
but even then it depends on what newBox does internally.
Best wishes,
Taco
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2009-08-06 20:01 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-06 18:58 Matthew Claus
2009-08-06 20:01 ` Taco Hoekwater [this message]
2009-08-06 20:13 ` Hans Hagen
2009-09-16 15:50 ` Matthijs Kooijman
2009-09-23 13:48 ` Matthijs Kooijman
[not found] <mailman.962.1249593619.3069.ntg-context@ntg.nl>
2009-08-07 3:57 ` Matthew Claus
[not found] <mailman.1787.1253116667.3069.ntg-context@ntg.nl>
2009-09-24 16:00 ` Matt Claus
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=4A7B36B6.6040301@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).