|
MP-mpsproof / MP-current-figDescriptionMP-mpsproof.edt is a macro for producing proof sheets of MetaPost figures. An existing macro package, MPPreview, already performs this function. The minor differences between the macros are: (i) MP-mpsproof is slightly faster, by creating a pdf file directly via pdftex, rather than going through LaTEX and dvips; (ii) MPPreview has some options. MP-mpsproof makes use of the code in mpsproof.tex. MP-current-fig.edt executes MetaPost, then immediately displays the "current figure" in GSView. The "current figure" is determined by the current position of the cursor in the .mp file. (The macro finds the most recently issued beginfig command.) The output is readable due to an internal issuance of the prologues:=3 command (hence you must be using a sufficiently recent version of MetaPost). This setting is overridden if the user (re)issues a prologues command in the .mp file. Installation of MP-mpsproof
If you set your MetaPost files as Main Files, you should use %P\%N-type variables; however you also will have to edit the macro, and replace %p and %n appropriately. When you have a MetaPost file open, this menu item will produce a preview of all of the figures within that file.
Installation of MP-current-figFollow exactly the same instructions as above, except you should point your menu item toward the file MP-current-fig.edt.
DownloadLaTeX\MP-mpsproof.zip (version: 2007 June 02) Macro contributed by Jim Schummer <schummer
|