[OS X TeX] [ANN] MetaPost Engines 1.4.0

Franck Pastor franck.pastor at skynet.be
Sun Jan 31 03:31:45 EST 2010


Le 30 janv. 10 à 23:53, Nicola a écrit :

> Hi,
> I am pleased to announce that an updated release of my Metapost  
> Engines
> is available for download at
>
> http://users.dimi.uniud.it/~nicola.vitacolonna/home/metapost/download
>
> I must thank all the people that have provided feedback and have  
> helped
> me fix bugs. A special thanks to Franck Pastor, for his many helpful
> comments and suggestions.
>
> Nicola
>

You're welcome! These scripts have already made of TeXShop a wonderful  
MetaPost interface, and moreover they are growing still better! Now  
TeXShop lacks only a proper MetaPost syntax coloring. Does anyone know  
if this is planned for a future TeXShop's release?

> What's new in 1.4.0
>
> * Added support for SVG output. The engines can generate an XHTML file
> for previewing SVG figures, which can be opened by any SVG compliant
> browser (Firefox recommended). SVG output is available in mpost >=  
> 1.200.

Great feature. I will try it soon.

>
> * Improved the preview layout. Figures are now centered both
> horizontally and vertically in their page.
>
> * You can now invoke an engine on a .tex file. This will cause the
> engine to automatically search for an .mp file with the same name as  
> the
> .tex document and to compile such file. This workflow was introduced
> mainly to support people using the LaTeX mfpic package and for
> compatibility with the original "mpost" option in TeXShop.

The users of the emp package will be probably very pleased about this  
new workflow too!

Though it is easy to change this (through script editing or a "% ! 
MPOST" directive), since your nv-metapost engine is aimed to replace  
the original TeXShop's mpost engine, I would set the $CONVERTPDF  
variable to zero by default. It is currently set to 1.  Except this,  
as a mfpic user, I think it can perfectly replace the original "mpost"  
engine now; And so the nv-metafun engine with the original "mptopdf"  
engine.

>
> * Now '% !MPOST' (with a single space between % and !MPOST) can be  
> used
> instead of '%!MPOST'. This to be consistent with TeXShop syntax for
> '% !TEX'.
>
> * New '% !MPOST pdf' directive, to toggle conversion to PDF on and off
> (nv-metapost.engine only).
>
> * New '% !MPOST preview' directive, to toggle the preview on and off.
>
> * New '% !MPOST backgroundcolor' directive, to select a background  
> color
> for the preview.
>
> * New '% !MPOST titles' directive, to show or hide all the titles.

> * The mpost's log file is now renamed only if necessary.
>
> * The preview in nv-metafun.engine is compiled using texexec instead  
> of
> context.
>
> * Added (untested) support for troff (is anybody in the world still
> using troff?)

Not me, anyway!

>
> * Added a “debug” option in the source code.
>
> * Some more example files.
>
> * Updated documentation (be sure to read the FAQ!).

Many thanks again for this wonderful work,

Franck Pastor






More information about the MacOSX-TeX mailing list