Difference between revisions of "Sharing graphics"

From Wiki
Jump to navigation Jump to search
(Added new section on MP to PDF)
(Added reference to Mpgraphic)
Line 17: Line 17:
 
\stoptext
 
\stoptext
 
</texcode>
 
</texcode>
 +
 +
See also notes on <cmd>startMPpage</cmd> on [[Mpgraphic]] .
  
 
[[Category:Graphics]]
 
[[Category:Graphics]]

Revision as of 16:21, 14 August 2009

< Graphics

Sharing graphics

This page includes methods of sharing graphics/figures with co-workers who (probably) do not use ConTeXt. This includes importing to and exporting from ConTeXt.

Exporting MetaPost drawings as PDF files

Sometimes one wants to create a PDF file from a MetaPost/MetaFun drawing, with the page clipped to the size of the drawing. This can be achieved using the following construct:

\starttext
 \startMPpage
  draw fullcircle scaled 10cm ;
 \stopMPPage
\stoptext

See also notes on \startMPpage on Mpgraphic .