Matej Cepl wrote:
3 Several messages complaingin of dvips are:

This is dvips(k) 5.86e Copyright 2001 Radical Eye Software
(www.radicaleye.com) ' TeX output 2003.01.21:1843' -> foo.ps
dvips: Font cmr10 used in file /home/oscar/tmp/mp/fnflm_p.0 is
not in the mapping file.  dvips: Font cmmi10 used in file
/home/oscar/tmp/mp/fnflm_p.0 is not in the mapping file.
dvips: Font cmmi7 used in file /home/oscar/tmp/mp/fnflm_p.0 is
not in the mapping file.  dvips: Font cmsy10 used in file
/home/oscar/tmp/mp/fnflm_p.0 is not in the mapping file.
<texc.pro><special.pro>. [1</home/oscar/tmp/mp/fnflm_p.0>]

Are they important?

They are, but I have no idea, why they are there. Could you
please send me a Metpost-produced EPS file (using prologues :=
1)?

You can download the eps file from
http://www.iit.upco.es/~oscar/download/fnflm_p.0

and the original metapost file from
http://www.iit.upco.es/~oscar/download/fnflm_p.mp

4. This means that I must generate every metapost file to be
included in lyx by menas of:

mpost '\prologues :=1; input file.mp' in order to ensure that
they have a prologues :=1; line mustn't I?

No, just put
prologues := 1;
in the beginning of your Metapost source file (.mp).
I meant a more automatic solution. The problem
is I produce metapost files from several applications, mainly xfig,
gnuplot, and metagraf. Most of the times it is not possible to control
that they produce the metapost files with the prologues:=1; line added.
So every time I need to include these files in lyx I must edit the file
and add the line, which is a pain, so i was thinking about a shell
script to convert 0 to ps to be used in lyx or something that allows me
to substitute "mpost foo.mp" by something that add the line and run
mpost. Before lyx-1.2.3 I have never had this problem and i am forced to
modify the metapost files just to be included in lyx.

So there are any way to define a generic extension format for number extensions in the conversion preferences of lyx? Could I define a regexp in the format conversion preferences like (\d)+? The problem has appeared because now lyx doesn't like these files despite the fact lyx likes before and moreover if i export the latex file without adding prologues=1 at all it works nicely. So I must add the prologues line just because lyx doesn't like the file just to rendering or produce the view.

Thank you very much for all your help
Best wishes


--
http://www.iit.upco.es/~oscar
You know, Callahan's is a peaceable bar, but if you ask that dog what his
favorite formatter is, and he says "roff! roff!", well, I'll just have to...

Reply via email to