[Dev-luatex] MPlib and btex...etex

taco taco at elvenkind.com
Sun May 2 08:20:30 CEST 2010

Graham Douglas wrote:
> Many thanks. What would I need to implement in order to include
> TeX material in mp code? I guess Hans has written some wizardry for 
> getting this to work in ConTeXt?
> Any pointers would be appreciated.

Have a look at the mlib-pps.* files from the context distribution.

The basic approach is to typeset the label using normal TeX-style
boxes and to insert a placeholder in the metapost input instead of
the actual label. That placeholder is then later replaced by the
typeset label during the mp-to-pdf conversion step.

Best wishes,

More information about the dev-luatex mailing list