ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Matthijs Kooijman <matthijs@stdin.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: metaobj and luatex 0.42.0
Date: Wed, 16 Sep 2009 17:50:46 +0200	[thread overview]
Message-ID: <20090916155046.GZ8930@katherina.student.utwente.nl> (raw)
In-Reply-To: <1249585103.867128157@192.168.1.201>


[-- Attachment #1.1: Type: text/plain, Size: 815 bytes --]

Hi Matthew,

I've been playing with metaobj and luatex 0.43 for a bit, and faced similar
problems. Lots of stuff about "redundant" equations and other stuff I didn't
understand.

However, I've found that cleaning up your objects when you're done pretty much
solves all my problems. For example, just add a clearObj line to your code
makes it work for me:

\startMPinclusions 
input metaobj; 
\stopMPinclusions

\starttext 
\startMPpage 
newBox.a(\sometxt{hello world}); 
a.c = origin;
drawObj(a);
clearObj a;

\stopMPpage 
\stoptext

I'm not completely sure why this is clearObj a (and not clearObj(a), which
seems to be more logical considering drawObj also takes parentheses), but
that's probably something of the wonderful world of macro "programming".

Hope this helps,

Matthijs

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

[-- Attachment #2: Type: text/plain, Size: 487 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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  parent reply	other threads:[~2009-09-16 15:50 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
2009-08-06 20:13   ` Hans Hagen
2009-09-16 15:50 ` Matthijs Kooijman [this message]
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=20090916155046.GZ8930@katherina.student.utwente.nl \
    --to=matthijs@stdin.nl \
    --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).