Thanks for the tip. It turns out I'll need to install a full version of Perl to use mptopdf. Before I do that, I'm going to try Ipe, which looks like it might be useful, particularly as it can include math-mode LaTeX in plot labels. The font problem I had with Dia related to displaying math-mode labels. Even if I get that resolved, I don't think it will be easy to position them correctly in Dia, since the LaTeX source text is not the same size as the end result.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
-- Paul
--
******************************************************************************************
Paul A. Rubin Phone: (517) 432-3509
Department of Management Fax: (517) 432-1111
The Eli Broad Graduate School of Management E-mail: [EMAIL PROTECTED]
Michigan State University http://www.msu.edu/~rubin/
East Lansing, MI 48824-1122 (USA)
******************************************************************************************
Mathematicians are like Frenchmen: whenever you say something to them,
they translate it into their own language, and at once it is something
entirely different. J. W. v. GOETHE
