Hi, In the next version you can run mp files: % test.mp beginfig(1) ; fill fullcircle scaled 10cm withcolor 0.5red ; fill fullcircle scaled 4cm withcolor 0.5white ; endfig ; beginfig(2) ; fill fullcircle scaled 10cm withcolor 0.5green ; fill fullcircle scaled 5cm withcolor 0.5white ; endfig ; beginfig(3) ; fill fullcircle scaled 10cm withcolor 0.5blue ; fill fullcircle scaled 6cm withcolor 0.5white ; endfig ; as follows: context test.mp and you'll get a pdf file with 3 pages that can be included with \externalfigure[test][page=1] \externalfigure[test][page=2] \externalfigure[test][page=3] or used in different ways. Alteratively you can run % test.tex \starttext \processMPfigurefile{figures-001.mp} \stoptext In which case you can add styling directives in the preamble. Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
On Wed, 22 Aug 2012, Hans Hagen wrote:
Hi,
In the next version you can run mp files:
context test.mp
Nice. How is font setup handled? Using verbatimtex ... etex? Or using the "styling directives" as you explain below. Would something like context --environment=font-setup test.mp work?
or used in different ways. Alteratively you can run
% test.tex
\starttext \processMPfigurefile{figures-001.mp} \stoptext
In which case you can add styling directives in the preamble.
Aditya
On 22-8-2012 23:23, Aditya Mahajan wrote:
On Wed, 22 Aug 2012, Hans Hagen wrote:
Hi,
In the next version you can run mp files:
context test.mp
Nice. How is font setup handled? Using verbatimtex ... etex? Or using the "styling directives" as you explain below.
Would something like
context --environment=font-setup test.mp
work?
i guess so, as the file is processed in context (just an intercepted filetype like tex, cld, xml) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (2)
-
Aditya Mahajan
-
Hans Hagen