MetaPost Engines for TeXShop
(The above drawing is from Marc van Dongen’s page)
To make it easier to work with MetaPost files in TeXShop, I have written a couple of engines, one for MetaFont and Plain MetaPost and one for MetaFun. They are bundled with TeXShop starting with MacTeX 2009 (or TeXShop 2.29), but here you may find the most recent release, with bug fixes and other improvements.
- support for typesetting MetaFont, MetaPost, MetaFun (shadows, transparencies, etc…) code;
- correct preview for files containing multiple figures or glyphs;
- support for MetaPost
- automatic generation of a PDF file for each figure (through
mptopdf), as well as standard MetaPost output;
- automatic generation of an HTML5 document for SVG and PNG figures;
- parsing of an % !MPOST directive to control the engine.
These MetaPost engines are just Perl scripts that can be run directly from a shell, e.g.:
Since they are just scripts, they can be used with any application that supports launching external programs. For example, to use with TeXworks, just create a new typesetting engine as explained in AdvancedTypesettingTools.
What’s new in 1.4.7
- Improve compatibility with non-Unix systems.
- Minor updates to some error messages.
What’s new in 1.4.6
- Added support for PNG output.
% !MPOST numbersystemdirective to support new MetaPost
-numbersystemflag (thanks to F. Pastor).
What’s new in 1.4.4
- Added an example of a custom engine in the README.
- Fixed a typo in
What’s new in 1.4.3
- When the output is set to SVG, generate a valid self-contained HTML5 document.
- Minor updates to some examples and to the README.
What’s new in 1.4.2
% !MPOST memdirective in nv-metapost, to specify a mem file for mpost.
What’s new in 1.4.1
% !MPOST binand
% !MPOST texmfcachedirectives, to use different executables (e.g., from ConTeXt Minimals).
% !MPOST pdfalso in nv-metafun.
- Minor changes to some examples.
- More output when debugging is on.
See the included README file for the complete version history.