ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* par in embedded Metapost not accepted
@ 2000-10-13 21:11 Johannes Hüsing
  2000-10-15 19:17 ` Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: Johannes Hüsing @ 2000-10-13 21:11 UTC (permalink / raw)


Dear contextuals,

The included file runs smoothly when processed with Metapost. When I 
embed it into a ConTeXt file with \startuniqueMPgraphic, \stop..., 
\uniqueMPgraphic, I get the following error message:

Runaway argument?
{ def ptc(expr radius, angle) = (radius*cosd(angle), radius*sind(angl\ETC.
! Paragraph ended before \handleuniqueMPgraphic was complete.
<to be read again> 
                   \par 
\MP:zahnrad ..., radius*sind(angle)) enddef; \par 
                                                  def zahnrad(expr r, dr, dw...

\douniqueMPgraphic ...es [#1][#2]\getvalue {MP:#1}
                                                  {}}
<to be read again> 
                   }
l.227 einen anderen}{\uniqueMPgraphic{zahnrad}}

?

I am calling \uniquegraphic as an argument to \placefigure here. What am
I doing wrong?

Thanks for any input

Johannes


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

end of thread, other threads:[~2000-10-15 19:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-10-13 21:11 par in embedded Metapost not accepted Johannes Hüsing
2000-10-15 19:17 ` 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).