From: Taco Hoekwater <taco@elvenkind.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: missing btex ..etex in mp figure
Date: Fri, 16 May 2008 11:49:59 +0200 [thread overview]
Message-ID: <482D58C7.40003@elvenkind.com> (raw)
In-Reply-To: <fe8d59da0805151642n2c930416s11934ddb6405cb0f@mail.gmail.com>
luigi scarso wrote:
> In
>
> \starttext
> \startTEXpage
> \startlua
> metapost.process("metafun",{"beginfig(1);",
> "a=.7in; b=0.5in;",
> "z0=(0,0); z1=(a,0); z2=(0,b);",
> "z0=.5[z1,z3]=.5[z2,z4];",
> "draw z1..z2..z3..z4..cycle;",
> "drawarrow z0..z1;",
> "drawarrow z0..z2;",
> "label.top(btex $a$ etex, .5[z0,z1]);",
> "label.lft(btex $b$ etex, .5[z0,z2]);",
> "endfig;"})
> \stoplua
> \stopTEXpage
> \stoptext
>
> there are no labels, but I believe that it's wrong.
The MPlib library embedded in luatex does not actually
support btex .. etex blocks.
It is planned to intercept such blocks in the mkiv lua
code, but for now, just use textext().
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:[~2008-05-16 9:49 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-15 23:42 luigi scarso
2008-05-16 9:49 ` Taco Hoekwater [this message]
2008-05-17 15:41 ` Hans Hagen
2008-05-17 17:41 ` luigi scarso
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=482D58C7.40003@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).