ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* metapost not adding picture
@ 2011-10-09 20:01 Meer, H. van der
  2011-10-09 20:35 ` Peter Rolf
  0 siblings, 1 reply; 2+ messages in thread
From: Meer, H. van der @ 2011-10-09 20:01 UTC (permalink / raw)
  To: NTG ConTeXt

I have this question on the implementation of metapost.
The following program ends in an error:

\startMPpage
picture v;
draw origin--(1cm,1cm);
v = currentpicture;
clearit;
draw (1cm,0)--(0,1cm);
currentpicture := currentpicture + v;
\stopMPpage

The error is: ! Not implemented: (picture)+(picture).
Yet Knuth's metafont book in Chapter 13 tells me, quote: "Pictures can be added or subtracted;"
Is the current metafont implementation lacking this feature? Will it be implemented in the near future?

Hans van der Meer

___________________________________________________________________________________
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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: metapost not adding picture
  2011-10-09 20:01 metapost not adding picture Meer, H. van der
@ 2011-10-09 20:35 ` Peter Rolf
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Rolf @ 2011-10-09 20:35 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Am 09.10.2011 22:01, schrieb Meer, H. van der:
> I have this question on the implementation of metapost.
> The following program ends in an error:
> 
> \startMPpage
> picture v;
> draw origin--(1cm,1cm);
> v = currentpicture;
> clearit;
> draw (1cm,0)--(0,1cm);
> currentpicture := currentpicture + v;

use

addto currentpicture also v;

> \stopMPpage
> 
> The error is: ! Not implemented: (picture)+(picture).
> Yet Knuth's metafont book in Chapter 13 tells me, quote: "Pictures can be added or subtracted;"
> Is the current metafont implementation lacking this feature? Will it be implemented in the near future?
>
Just another notation, that's all.

Best wishes, Peter

___________________________________________________________________________________
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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

end of thread, other threads:[~2011-10-09 20:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-09 20:01 metapost not adding picture Meer, H. van der
2011-10-09 20:35 ` Peter Rolf

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