15 Apr
2007
15 Apr
'07
6:49 a.m.
Sanjoy Mahajan wrote:
A font-embedding issue puzzles me. First I make a metapost figure that uses plain tex for the label, so it uses cmr10. Then I include it in a context document to get a .ps file. The problem is that the label shows up in Courier (which ghostscript uses when it cannot find the font, I think).
Here is the test.tex
\starttext \externalfigure[fig.1] \stoptext
and this fig.mp
beginfig(1) label(btex hello etex, origin); endfig; end
The commands are:
mpost fig texexec --ps test gv test.ps
If you set prologues := 1 in the mp file, that should help. In a new metapost (texlive2007) you can even generate an image with the font included by using prologues := 3. Best, Taco