* incompatibility mp-tool and metaobj
@ 2001-07-03 13:19 Eckhart Guthöhrlein
2001-07-03 14:46 ` Hans Hagen
0 siblings, 1 reply; 5+ messages in thread
From: Eckhart Guthöhrlein @ 2001-07-03 13:19 UTC (permalink / raw)
I tried to embed a picture created with the metaobj package (btw: a
terrific one!) in a ConTeXt document. This results into the following
MetaPost error message.
(D:\mytexmf\metapost\metaobj\metaobj.mp
******* metaobj 0.8 (c) D. Roegel (2001/06/14) *******
! Missing argument to exp.
<to be read again>
@#
l.1552 vardef resetObj.exp@#
=
?
I think this is a conflict between this definition and the definition of
exp in mp-tool.mp.
Eckhart
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: incompatibility mp-tool and metaobj
2001-07-03 13:19 incompatibility mp-tool and metaobj Eckhart Guthöhrlein
@ 2001-07-03 14:46 ` Hans Hagen
2001-07-03 16:01 ` Eckhart Guthöhrlein
2001-07-03 16:39 ` Denis B. Roegel
0 siblings, 2 replies; 5+ messages in thread
From: Hans Hagen @ 2001-07-03 14:46 UTC (permalink / raw)
Cc: ConTeXt mailing list
At 03:19 PM 7/3/01 +0200, Eckhart Guthöhrlein wrote:
>I tried to embed a picture created with the metaobj package (btw: a
>terrific one!) in a ConTeXt document. This results into the following
>MetaPost error message.
>
>(D:\mytexmf\metapost\metaobj\metaobj.mp
>******* metaobj 0.8 (c) D. Roegel (2001/06/14) *******
>! Missing argument to exp.
><to be read again>
> @#
>l.1552 vardef resetObj.exp@#
> =
>?
>
>I think this is a conflict between this definition and the definition of
>exp in mp-tool.mp.
Is the exp in resetObj a private method (in which case it can be renamed)
or a public one?
Hans
-------------------------------------------------------------------------
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
-------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: incompatibility mp-tool and metaobj
2001-07-03 14:46 ` Hans Hagen
@ 2001-07-03 16:01 ` Eckhart Guthöhrlein
2001-07-03 16:45 ` Hans Hagen
2001-07-03 16:39 ` Denis B. Roegel
1 sibling, 1 reply; 5+ messages in thread
From: Eckhart Guthöhrlein @ 2001-07-03 16:01 UTC (permalink / raw)
Cc: ConTeXt mailing list
At 16:46 03.07.2001 +0200, you wrote:
>Is the exp in resetObj a private method (in which case it can be renamed)
>or a public one?
It is a public one. The following code is sufficient to reproduce the error.
\startreusableMPgraphic{test}
input metaobj;
% draw fullcircle scaled 1cm;
\stopreusableMPgraphic
\starttext
\reuseMPgraphic{test}
\stoptext
Eckhart
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: incompatibility mp-tool and metaobj
2001-07-03 14:46 ` Hans Hagen
2001-07-03 16:01 ` Eckhart Guthöhrlein
@ 2001-07-03 16:39 ` Denis B. Roegel
1 sibling, 0 replies; 5+ messages in thread
From: Denis B. Roegel @ 2001-07-03 16:39 UTC (permalink / raw)
Cc: Eckhart Guthöhrlein, ConTeXt mailing list
On Tue, Jul 03, 2001 at 04:46:07PM +0200, Hans Hagen wrote:
> At 03:19 PM 7/3/01 +0200, Eckhart Guthöhrlein wrote:
> >I tried to embed a picture created with the metaobj package (btw: a
> >terrific one!) in a ConTeXt document. This results into the following
> >MetaPost error message.
> >
> >(D:\mytexmf\metapost\metaobj\metaobj.mp
> >******* metaobj 0.8 (c) D. Roegel (2001/06/14) *******
> >! Missing argument to exp.
> ><to be read again>
> > @#
> >l.1552 vardef resetObj.exp@#
> > =
> >?
> >
> >I think this is a conflict between this definition and the definition of
> >exp in mp-tool.mp.
>
> Is the exp in resetObj a private method (in which case it can be renamed)
> or a public one?
Well, it is for power users, it is experimental (that's why I appended
a ``exp'') and it is documented in the manual...
(This reminds me of a discussion we had about namespaces... :-))
I think I don't have the choice and will have to change the name
of that definition and of a few more that have also that extension.
Try to replace all ".exp" with ".expl" in metaobj.mp. It should work
better.
I will try to upload a patched version next week.
Denis
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: incompatibility mp-tool and metaobj
2001-07-03 16:01 ` Eckhart Guthöhrlein
@ 2001-07-03 16:45 ` Hans Hagen
0 siblings, 0 replies; 5+ messages in thread
From: Hans Hagen @ 2001-07-03 16:45 UTC (permalink / raw)
Cc: ConTeXt mailing list
At 06:01 PM 7/3/01 +0200, Eckhart Guthöhrlein wrote:
>At 16:46 03.07.2001 +0200, you wrote:
>>Is the exp in resetObj a private method (in which case it can be renamed)
>>or a public one?
>
>It is a public one. The following code is sufficient to reproduce the error.
i was more referring to public as 'meant for the user', private methods are
less sensitive to a low level change, anyway, toe sooner we sort out
conflicts, the better
btw, in the latest update of context there are a couple of more macros (not
yet documented), like macros for smoothing corneres, removing redundant
points, removing uggly things etc. [i needed them for complex backgrounds]
i hope to describe them soon,
Hans
-------------------------------------------------------------------------
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
-------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2001-07-03 16:45 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-03 13:19 incompatibility mp-tool and metaobj Eckhart Guthöhrlein
2001-07-03 14:46 ` Hans Hagen
2001-07-03 16:01 ` Eckhart Guthöhrlein
2001-07-03 16:45 ` Hans Hagen
2001-07-03 16:39 ` Denis B. Roegel
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).