On Sun, 15 May 2005, Paul A. Rubin wrote:

> Matej Cepl wrote:
> > Paul A. Rubin scripsit:
> > 
> >>Adding "prologues := 1;" solved the problem.
> > 
> > 
> > One of the never-ending questions of my life (aside "What is the goal of my
> > life?" and similar trivialities) is why this is actually not a default in
> > MetaPost. Well, it isn't.
> > 
> > Mat�j
> 
> A few hours after applying your fix, I discovered that the Dia->MP 
> export created some font problems (especially if I wanted to use LaTeX 
> math-mode in text), and I ended up sending my Dia diagram to the bit 
> afterworld and doing the diagram in PGF. <sigh>
I also recognize the problems with fonts of math, therefore I never use
prologues:=1. 
I think, to make the fonts be embedded correctly you have to put the
figure into a latex document which has the fonts included, then run latex
and get a figure out. I have some scripts doning this automatically from
within vim so that I can watch my progress.

A much simpler way is to run mptopdf which creates pdf-files
directly and handles all the font problems.

/johan

-- 
Johan Ingvast, PhD student http://www.md.kth.se/~ingvast
Department of Machine Design, Royal Institute of Technology, Sweden
http://www.md.kth.se, http://www.md.kth.se/~cas <--- Walking robot proj
tel +46 (0)8 790 95 36  mob. +46 (0)70 34 34 498

Reply via email to