Set up MetaPost and MetaObj for drawing diagrams.