From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/11356 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Re: textext Date: Wed, 12 Mar 2003 11:18:10 +0100 Sender: ntg-context-admin@ntg.nl Message-ID: <5.1.0.14.1.20030312111554.0315f028@server-1> References: <5487BE96-53E3-11D7-A598-003065568054@science.uva.nl> <5487BE96-53E3-11D7-A598-003065568054@science.uva.nl> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Trace: main.gmane.org 1047467946 14544 80.91.224.249 (12 Mar 2003 11:19:06 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 12 Mar 2003 11:19:06 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Wed Mar 12 12:19:03 2003 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18t4GF-0003mI-00 for ; Wed, 12 Mar 2003 12:19:03 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 35BE210B16; Wed, 12 Mar 2003 12:19:45 +0100 (MET) Original-Received: from mail.solcon.nl (mail.solcon.nl [212.45.33.11]) by ref.ntg.nl (Postfix) with ESMTP id B7AB910AFF for ; Wed, 12 Mar 2003 12:15:26 +0100 (MET) Original-Received: from server-1.pragma-net.nl (wc-58016.solcon.nl [212.45.58.16]) by mail.solcon.nl (8.12.5/pre1.0-MySQL/8.12.5) with ESMTP id h2CBFL8s008647 for ; Wed, 12 Mar 2003 12:15:22 +0100 Original-Received: from LAPTOP-3.wxs.nl (laptop-3 [10.100.1.191]) by server-1.pragma-net.nl (8.12.3/8.12.2) with ESMTP id h2CBFNEW003782 for ; Wed, 12 Mar 2003 12:15:24 +0100 X-Sender: hagen-mail@server-1 X-Mailer: QUALCOMM Windows Eudora Version 5.1 Original-To: ntg-context@ntg.nl In-Reply-To: <874r69bl6b.fsf@gundla.ch> X-RAVMilter-Version: 8.4.1(snapshot 20020919) (mail.solcon.nl) Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:11356 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:11356 At 11:19 PM 3/11/2003 +0100, Patrick Gundlach wrote: >Hans van der Meer writes: > > > Hi Hans > >Well, I am not Hans, but perhaps I might add a comment: > > > I am placing metapost figures in the text: > >could you provide a small non-working example (that we can run thru >TeX)? > >The following works fine here: > >% interface=en output=pdf >\starttext > >\def\mycommand#1{% > \startuseMPgraphic{somegraphic} > drawdot origin; > label.top(textext("#1", origin); > \stopuseMPgraphic > \useMPgraphic{somegraphic}} > >\mycommand{Hello Hans} >\stoptext \setMPtext{some tag}{some text} \startMPcode draw textext(\MPstring{some tag}) ; \stopMPcode For Patrick who reads sources: %D To be documented: %D %D \starttyping %D \setMPtext{identifier}{text} %D %D \MPtext {identifier} %D \MPstring{identifier} %D \MPbetex {identifier} %D \stoptyping ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------