[metapost] running metapost via lualatex
Taco Hoekwater
taco at elvenkind.com
Mon Jul 22 14:03:55 CEST 2013
Hi,
On Jul 22, 2013, at 1:50 PM, William Adams <will.adams at frycomm.com> wrote:
> I've upgraded to 2013's w32tex (thanks Akira!) and so have what I'd
> consider a convenient metapost environment for the first time since my
> NeXT Cube quit booting up.
>
> I'm working my way through the Metapost manual --- is there anything
> in there which shouldn't work?
>
> My first effort to change the default font (using the command in the
> manual) didn't work --- should it have?
I do not know what you actually typed in but, this works fine for me:
\documentclass{minimal}
\usepackage{luamplib}
\begin{document}
\begin{mplibcode}
beginfig(1);
defaultfont := "ptmr8r";
label ("hi there", (10,10));
endfig;
\end{mplibcode}
\end{document}
Best wishes,
Taco
More information about the metapost
mailing list