From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/5545 Path: main.gmane.org!not-for-mail From: Joop Susan Newsgroups: gmane.comp.tex.context Subject: Metapost... Date: Sat, 08 Sep 2001 19:48:46 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <20010908174846.3469.qmail@crux.private.off-line> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035396132 2596 80.91.224.250 (23 Oct 2002 18:02:12 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:02:12 +0000 (UTC) Original-To: "NTG-ConTeXt mailing list" Xref: main.gmane.org gmane.comp.tex.context:5545 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:5545 Hello, How can one pass a MetaPost variable to ConTeXt in a btex-etex clause? My MetaPost code calculates a number that I would like to use in as a literal (evaluated if the variable was assigned an expression) within a btex-etex construct. Extremely simplified, but you'll get my drift: numeric FONTSIZE; FONTSIZE:=16pt; draw btex \switchtobodyfont[ss,FONTSIZE] Fontsize = FONTSIZE etex; I know that this simple example can be done in MetaPost itself, but my application also uses ConTeXt font definitions, frames, etc. Is \MPvar only used to pass ConTeXt variables to MetaPost code? And not the other way around? Joop