Dnia 2011-09-19, o godz. 17:43:29
Aditya Mahajan <adit...@umich.edu> napisaƂ(a):

> On Mon, 19 Sep 2011, Marcin Borkowski wrote:
> 
> > Dnia 2011-09-19, pon o godzinie 11:19 -0400, Aditya Mahajan pisze:
> >> On Mon, 19 Sep 2011, Marcin Borkowski wrote:
> >>
> >>> I'd like to have some MP code shared between unique graphics (in
> >>> MkIV).
> >>>
> >>> One example: I'd like to have drawoptions <something> for all
> >>> graphics.
> >>
> >> \startMPinclusions
> >>    drawoptions(...) ;
> >> \stopMPinclusions
> >
> > Thanks!
> >
> >>
> >>> Another one: I'd like to have two similar (but different) unique
> >>> graphics, and I'd like them to share some code.
> >>
> >> \startuseMPgraphic{common}
> >> ...
> >> \stopuseMPgraphic
> >>
> >> \startuseMPgraphic{one}
> >>    \includeMPgraphic{common}
> >>    ....
> >> \stopuseMPgraphic
> >>
> >> \startuseMPgraphic{two}
> >>    \includeMPgraphic{common}
> >>    ....
> >> \stopuseMPgraphic
> >
> > And what about *unique* graphics?
> 
> \includeMPgraphics should also work inside unique graphics. In any
> case, in MkIV, MP processing is extremely fast, so uniqueMPgraphics
> is not really needed.

I see, I'll check it tomorrow (it's 1:36am here now;)).  One question,
though: isn't unique graphic better than "useMPgraphic" in terms of the
resulting pdf file size?

> Aditya

Best,

-- 
Marcin Borkowski
___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to