banner

MetaPost in Smultron

MetaPost syntax colouring file for Smultron. Smultron already includes this file. Here you may find the latest improvements.

Installation

  1. Locate Smultron.app.
  2. Right-click on Smultron.app’s icon and choose Show Package Contents…
  3. Browse to Contents > Resources > Syntax Definitions.
  4. Copy metapost.plist into the Syntax Definitions folder, replacing the existing version.
  5. Re-open Smultron.
  6. Go to Smultron > Preferences… > Advanced > Syntax Definitions.
  7. Associate the file extension .mf to MetaPost (the extension .mp is already enabled).
  8. Open a MetaPost, MetaFont or MetaFun document!