____________________________________________

 MetaPost Preview macros for WinEdt 6.0

============================================

 by Karl Koeller
 E-mail: karlkoeller@gmail.com

 based upon MPPreview by Arnout Standaert

 http://www.winedt.org/

____________________________________________


This macro simplifies the editing-viewing process of MetaPost source files in
WinEdt. It provides a configurable menu commands that outputs a PDF file
containing all or selected figures from the source .mp file.

---------------------------
 DIFFERENCES WITH 5.x VERSION
---------------------------

- The most notable difference is that the produced output in now .PDF and not
  .PS.
- The script does not compile the document, since it is already provided by
  WinEdt.
- At compile time, a .mpt file is created if any output file (.1, .2, .....)
  is generated; so, menu items are disabled if this .mpt file is not found.
- Toolbar buttons are inserted in Toolbar.ini.

---------------------------
 INSTALLATION
---------------------------

Just unzip the MPPreview.zip archive (as you have probably done already),
open the macro file "Install.edt" in WinEdt, and execute it by choosing
"Macros" menu > "Execute Current Macro". This copies all relevant files to
their correct location and adds a submenu 'MetaPost' to your Accessories menu
with corresponding menu images and toolbar icons.

---------------------------
 UNINSTALLATION
---------------------------

To uninstall the program, it should suffice to open the macro file
"Uninstall.edt" in WinEdt, and then execute it by choosing "Macros" menu >
"Execute Current Macro".

---------------------------
 USAGE
---------------------------

To preview the figures in the MetaPost .mp file you're currently editing,
first compile the document (choose "TeX" > "MetaPost" > "MetaPost"),
then choose "TeX" > "MetaPost" > "MetaPost Preview All" (for all
figures) or "MetaPost Preview One" (for one specific figure) (or click the
corresponding toolbar button). The output files are put in a resulting
<yourfile>_preview.pdf file.

---------------------------
 TIP
---------------------------

Your output files must have the default extensions: filename.1, filename.2,
etc. (i.e. you cannot use the "filenametemplate" variable to change
extensions to .mps or .eps). Advanced users should be able to edit the macro
to accommodate certain variations on file names. Do not use .0 extension
since it could be a MetaPost 'fake' figure and the script deletes it.
