* 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
* Re: par in embedded Metapost not accepted
2000-10-13 21:11 par in embedded Metapost not accepted Johannes Hüsing
@ 2000-10-15 19:17 ` Hans Hagen
0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2000-10-15 19:17 UTC (permalink / raw)
Cc: ntg-context
At 11:11 PM 10/13/00 +0200, Johannes Hüsing wrote:
>Dear contextuals,
> \par problem
>I am calling \uniquegraphic as an argument to \placefigure here. What am
>I doing wrong?
Probably en empty line?
Hans
-------------------------------------------------------------------------
Hans Hagen | PRAGMA ADE
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
-------------------------------------------------------------------------
^ 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).