lualatex / luamplib

generic TeX package - including MetaPost code in LuaTeX documents
http://ctan.org/pkg/luamplib
16 stars 11 forks source link

Latex command inside metapost label #86

Closed mb4e closed 4 years ago

mb4e commented 4 years ago

Hello, this is a minimal code example, compiling with lualatex 1.10.0.

\documentclass[12pt]{article}
\usepackage{luamplib}
\begin{document}
\begin{mplibcode}
beginfig(1)
label(btex A-\textbf{B} etex,origin);
endfig;
\end{mplibcode}
\end{document}

Link : https://tex.stackexchange.com/q/516247/56520

dohyunkim commented 4 years ago

Just uploaded a patch and sent to ctan a new release, which is expected to reach texlive in a few days. (Anyway I have to investigate what is the real cause of the issue when I have time.)