ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \sometxt inside functions
@ 2009-08-22  8:05 Mojca Miklavec
  2009-08-22  8:15 ` Mojca Miklavec
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Mojca Miklavec @ 2009-08-22  8:05 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hello Hans,

is there some simple command to make the following work (in MKII)?
(I accept "Not interested since it works in mkiv" as a valid answer :)

\starttext

% makes sure that textext("") works; is there an equivalent for \sometxt?
\forceMPTEXcheck{drawA}

\startMPinclusions
	def drawA =
		draw fullcircle scaled 3cm;
		label.top(btex top etex, (0,5cm)); % OK
		label.rt(\sometxt{right}, (5cm,0)); % nothing
		label.bot(textext("bottom"), (0,-5cm)); % OK
	enddef;
\stopMPinclusions
\startMPcode
drawA;
\stopMPcode
\stoptext

Thanks,
    Mojca
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-08-22 10:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-22  8:05 \sometxt inside functions Mojca Miklavec
2009-08-22  8:15 ` Mojca Miklavec
2009-08-22  8:56   ` Aditya Mahajan
2009-08-22  8:53 ` Aditya Mahajan
2009-08-22  9:43   ` Mojca Miklavec
2009-08-22 10:43 ` Hans Hagen

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).