[metapost] Typeset the value of a variabe using LaTeX in METAPOST

Piotr Zielinski piotr.zielinski at gmail.com
Tue Oct 24 03:53:45 CEST 2006


On 24/10/06, Ph.Ivaldi <philo_fr_11 at tele2.fr> wrote:
> Le 23 octobre 2006 à 23h54:59,
> j.romildo at gmail.com écrivit :
> > How can  I typeset with LaTeX  the value of variable  in Metapost [...]
>
> input TEX; [...]

You might also want to take a look at the latexmp package.  The "TEX"
package will invoke tex separately for every label (11 times in your
case).  On the other hand, "latexmp" caches all labels to be typeset
and invokes tex once on all of them at once.  This is faster,
especially if you have many labels, however, you will need to invoke
metapost twice.  See the latexmp manual for details.

http://www.tug.org/tex-archive/graphics/metapost/contrib/macros/latexmp/doc/latexmp.pdf

Piotr


More information about the metapost mailing list