mfpic

Latest versions of mfpic

There is a new beta version, 1.02. A workaround for a problem in MetaPost was added. If you wish to test it, download mfpic102.zip (1326K), unzip it into an appropriate testing directory, and then run tex or latex on mfpic.ins. Please report any problems (email address in README). (Alternatively, download mfpic.tds.zip (1401K) and unzip it into any TDS-compliant texmf tree.)

Barring any reports of problems, this is the full distribution of what will be mfpic, version 1.02. The change from 1.01 is to write verbatimtex material (\mfpverbtex{}) in a way that avoids a problem with the way MP processes the TeX code.

The change from 1.00 is the fixing of a bug in grafbase in the command plrvectorfield where two plus signs should have been minuses.

The main chainges in 1.00 over 0.9 are:

  1. Try to permit macros in the filename in \opengraphsfile, but still permit other TeX special characters.
  2. Added \cbeziers, the cubic equivalent of \qbeziers, plus \closedcbeziers.
  3. Make arguments of \mfpic environment available as macros: \xfactor, \yfactor, \xmin, \xmax, \ymin and \ymax.
  4. Bug fix for name clash with pdfpages (reported by Franck Pastor).
  5. Made \mfpverbtex cumulative when issued prior to \opengraphsfile.
  6. Another random path: \brownianmotion.
  7. Correct some color conversion formulas.
  8. Some internal code rewritten; some messages rewritten.
  9. For metapost option: in plain TeX, try first to input epsf.tex and then epsf.sty; in plain pdftex try first supp-pdf.mkii and then supp-pdf.tex.
  10. Documentation updated. Some previously undocumented features now included.
  11. We support the new MetaPost color models. That is, when you say \fillcolor{cmyk(0,0,1,0)}, the PostScript output will actually invoke "0 0 1 0 setcmykcolor". This will not always make a difference in the visual appearence. It seems not to make a difference in my GSview program, but it does in Adobe Reader.
  12. We supply an interface to MetaPost's new outputtemplate for naming the output files. For MetaPost versions 1.x, if you put the following in your .tex file:
        \setfilenametemplate{my\_-\#.mps}
        \opengraphsfile{figs}
    
    then MetaPost will name your files "myfigs-1.mps", "myfigs-2.mps", etc. The placeholder \_ will be replaced with the MetaPost jobname (the argument of \opengraphsfile) and the placeholder \# will be replaced with the figure number. The figure placement macros adjust accordingly. If your MetaPost is too old, then it will not rename the files while TeX will look for the new names. Therefore, do not use this unless your MetaPost is recent (minimal version is beta .900).

Current and previous versions. The version to be found on CTAN is 1.01. The latest development version (if any) is the one below with the highest number/letter. Aside from PDF files, all the files in these archives are plain ASCII files with Unix-style line endings, except for version 0.5.01 and earlier where all files have DOS-style line endings. Conversion of ASCII files may be necessary on some OSs in either case. mfpic07a.zip contains two PDF files, which accounts for most of the increase in size from previous versions, and 0.8b+ have 3 PDFs.

The manual for version 0.6 may be read or downloaded (hyperlinked PDF with index of commands): mfpicdoc.pdf. The manual for later versions is included in the release.


luecking at uark dot edu