To: "discussions about usage and development of dia" <dia-list gnome org>
Subject: metapost output again
Date: Fri, 29 Oct 2004 19:34:51 +0100
OK, I've been trying to figure out what is wrong, so I made a very simple
diagram file, with only a line and a text item. I used dia 0.92.2 to output
to metapost, and dia 0.94, the version can be converted to mps with mpost,
but the version using 0.94, can't. Examination of the mp files show their
differences:
################### VERSION 0.92 ######################
% Metapost TeX macro
% Title: C:\Documents and Settings\cali\Desktop\diagrams\test.dia
% Creator: Dia v0.92
% CreationDate: Fri Oct 29 19:21:44 2004
% For: cali
beginfig(1);
% picture(0.977500,-0.245000)(2.450000,0.772500)
x = 1.000000cm; y = -1.000000cm;
This is MetaPost, Version 0.641 (Web2c 7.3.7x)
(test2.mpmakempx: Command failed: tex mpxerr.tex; see mpxerr.log
test2.mp
test2.mpx
! Unable to make mpx file.
l.20 label.urt(btex
{\usefont{OT1}{phv}{m}{n} $A$} etex scaled
1.67988,(1....
Transcript written on test2.log.
But it writes the earlier version perfectly. Maybe I am being dumb here, I
don't know much about metapost, I just want to blindly use mpost to convert
the image as expected so I can include it in my latex document. I have found
that I can still scale text using the etex scaled, but its the usefont bit
that kills mpost.
Is the person who writes the mpost code on this list? Can somebody tell me
how I am supposed to convert this 0.94 mp output to mps that can directly be
included in a latex file for processing with pdflatex.