# [metapost] [lualatex] metapost and label

Maxime Chupin notezik at gmail.com
Sun Jan 3 15:00:47 CET 2010

Hello and happy new year!

I don't know if it is the best area to post my problem because it is about
lualatex and metapost (so luamplib). I try to write label with metapost in a
LaTeX document but it doesn't work!

\documentclass{article}
\usepackage{luamplib}
\usepackage{amsmath}

\begin{document}
\begin{mplibcode}
verbatimtex
%&latex
\documentclass{minimal}
\usepackage{amsmath}
\begin{document}
etex

beginfig(1);
label(btex $\frac{1}{x}$ etex,(4cm,0));
endfig;
end;
\end{mplibcode}

\end{document}

Can you help me please? I don't know the writting process of metapost. I
posted about it on fctt but the luamplib's author couldn't help me.

Best regards,

--
Maxime Chupin
http://mc.notezik.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/metapost/attachments/20100103/6e6820ef/attachment.html>