Re: How to use METAPOST figures in LyX?

2004-12-15 Thread Karsten Heymann
Hello Angus,

Angus Leeming <[EMAIL PROTECTED]> wrote:

> Karsten Heymann wrote:
> >> R S Ananda Murthy wrote:
> >>> I want to use figures created in MetaPost in LyX.
> > 
> >> You need to define a MetaPost format.
> > [...]
> >> You'll also need to define a converter from MetaPost to PNG (for
> >the> LyX screen) and from MetaPost to EPS (for Latex).
> > 
> > Couldn't this be added to a future lyx release by default?
> 
> Sure, but I don't use MetaPost myself so would prefer to see something
> that really works...

perfectly reasoable.
 
> If you get it working then throw your .lyx/preferences file this way
> and I'll add the test to the configure script.

At the moment I use neither lyx nor metapost, sorry. And I habe no time
atm to dwell into it.

Yours,
Karsten

-- 
Karsten HeymannMail: [EMAIL PROTECTED] |
Kiel, GermanyJabber: [EMAIL PROTECTED] |


Re: How to use METAPOST figures in LyX?

2004-12-15 Thread Angus Leeming
Karsten Heymann wrote:
>> R S Ananda Murthy wrote:
>>> I want to use figures created in MetaPost in LyX.
> 
>> You need to define a MetaPost format.
> [...]
>> You'll also need to define a converter from MetaPost to PNG (for the
>> LyX screen) and from MetaPost to EPS (for Latex).
> 
> Couldn't this be added to a future lyx release by default?

Sure, but I don't use MetaPost myself so would prefer to see something 
that really works...

If you get it working then throw your .lyx/preferences file this way and 
I'll add the test to the configure script.

-- 
Angus


Re: How to use METAPOST figures in LyX?

2004-12-15 Thread Karsten Heymann
Hello,

Angus Leeming <[EMAIL PROTECTED]> wrote:

> R S Ananda Murthy wrote:
>> I want to use figures created in MetaPost in LyX. 

> You need to define a MetaPost format.
[...]
> You'll also need to define a converter from MetaPost to PNG (for the
> LyX screen) and from MetaPost to EPS (for Latex). 

Couldn't this be added to a future lyx release by default?

Yours,
Karsten


-- 
Karsten HeymannMail: [EMAIL PROTECTED] |
Kiel, GermanyJabber: [EMAIL PROTECTED] |


Re: How to use METAPOST figures in LyX?

2004-12-15 Thread Angus Leeming
R S Ananda Murthy wrote:

> Hello:
> 
> I want to use figures created in MetaPost in LyX. When I put them in
> LyX document, I get the error message: "Error converting to loadable
> format". What is the solution?

Hi, Anand.

You need to define a MetaPost format. See the "File formats" pane of the 
Edit->Preferences dialog.

Format: metapost
GUI name:   MetaPost
Shortcut:
Extension:  mp
Viewer:

Press 'Modify' to update the list of formats in the dialog and then press 
'Save' or 'Apply' to make this format available to the rest of LyX.

You'll also need to define a converter from MetaPost to PNG (for the LyX 
screen) and from MetaPost to EPS (for Latex). See the Converters pane in 
the Preferences dialog.

Note that converters can be chained together, so you may find that you can 
use MetaPost -> EPS and EPS -> PNG to get output to the LyX screen.

HTH,
-- 
Angus


How to use METAPOST figures in LyX?

2004-12-14 Thread R S Ananda Murthy
Hello:
I want to use figures created in MetaPost in LyX. When I put them in  
LyX document, I get the error message: "Error converting to loadable  
format". What is the solution?

Thanks for your help.
Anand