Quick Metapost question
Hi all, I'm looking for an equivalent of \externalfigure[width=1mm] but for \reuseMPgraphic. Something like \reuseMPgraphic[width=1mm]{my-mp-drawing} There is always the way of tracking the generated file and including it with exernalfigure, but this is not very convenient since the numbering is subject to change. Is there an easy way to achieve rescaling of such Metapost figures? Thanks, Olivier
Did you try \scale ? (Dunno if it works)... http://texshow.contextgarden.net/ts.rb?lang=en&what=desc&if=en&cmd=scale Olivier a écrit :
Hi all,
I'm looking for an equivalent of \externalfigure[width=1mm] but for \reuseMPgraphic. Something like \reuseMPgraphic[width=1mm]{my-mp-drawing}
There is always the way of tracking the generated file and including it with exernalfigure, but this is not very convenient since the numbering is subject to change.
Is there an easy way to achieve rescaling of such Metapost figures?
Thanks, Olivier _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Wouahhh! Great! I wasn't aware of these ones. Many thanks, Olivier Quoting "Renaud AUBIN" :
-- was aubin@nibua-r.org on Apr 26, 2006 at 11:45:34 --
Did you try \scale ? (Dunno if it works)... http://texshow.contextgarden.net/ts.rb?lang=en&what=desc&if=en&cmd=scale
Olivier a écrit :
Hi all,
I'm looking for an equivalent of \externalfigure[width=1mm] but for \reuseMPgraphic. Something like \reuseMPgraphic[width=1mm]{my-mp-drawing}
There is always the way of tracking the generated file and including it with exernalfigure, but this is not very convenient since the numbering is subject to change.
Is there an easy way to achieve rescaling of such Metapost figures?
Thanks, Olivier
Olivier wrote:
Hi all,
I'm looking for an equivalent of \externalfigure[width=1mm] but for \reuseMPgraphic. Something like \reuseMPgraphic[width=1mm]{my-mp-drawing}
\scale[width=1mm]{\reuseMPgraphic{my-mp-drawing}}
There is always the way of tracking the generated file and including it with exernalfigure, but this is not very convenient since the numbering is subject to change.
Is there an easy way to achieve rescaling of such Metapost figures?
Thanks, Olivier _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
-- ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
Quoting "Hans Hagen" :
-- was pragma@wxs.nl on Apr 26, 2006 at 12:34:38 --
Olivier wrote:
Hi all,
I'm looking for an equivalent of \externalfigure[width=1mm] but for \reuseMPgraphic. Something like \reuseMPgraphic[width=1mm]{my-mp-drawing}
\scale[width=1mm]{\reuseMPgraphic{my-mp-drawing}}
There is always the way of tracking the generated file and including it with exernalfigure, but this is not very convenient since the numbering is subject to change.
Is there an easy way to achieve rescaling of such Metapost figures?
Yes, works very well. Exactly what I was needing. Many thanks, Olivier
participants (3)
-
Hans Hagen
-
Olivier
-
Renaud AUBIN