|
MPPreview[Macros for WinEdt 7 are available here.] DescriptionThe MetaPost Preview macros simplify the editing-viewing process of MetaPost (and MetaFont) source files in WinEdt. It provides configurable menu commands that output a PostScript file (for WinEdt version 5.6 or older) resp. PDF file (for WinEdt version 6) containing all or selected figures from the source .mp file. UsageFor WinEdt 5.6 or older: Choose Accessories | MetaPost Preview All or Accessories | MetaPost Preview One while editing a MetaPost file <yourfile>.mp (or click the corresponding toolbar button if you configured it). Figures are generated and combined in a resulting file <yourfile>_preview.ps. The result is presented to you in GSView. Configurable options are accessible through Accessories | MetaPost Preview Config...:
For WinEdt 6: 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, which is then opened in the PDF reader. Installation InstructionsFor WinEdt 5Unzip the MPPreview_5.zip archive, open the macro file Install_MPPreview.edt in WinEdt, and execute it by choosing Macros | Execute Current Macro. This copies all relevant files to their correct location and adds 3 menu items to your Accessories menu with corresponding menu images and toolbar icons. For WinEdt 6Unzip the MPPreview_6.zip archive open the macro file Install.edt in WinEdt, and execute it by choosing Macros | Execute Current Macro. This copies all relevant files to their correct location and adds a submenu MetaPost to your TeX menu with corresponding menu images and toolbar icons. DownloadFor WinEdt 5.6 or older: Macro contributed by Arnout Standaert <arnoutstandaerthotmail.com>. For WinEdt 6: Macro contributed by Karl Koeller <karlkoellergmail.com>.
|