Re: Add Converter via Reconfigure

2010-03-23 Thread Guenter Milde
On 2010-03-23, Jack Desert wrote:

 It's becoming tedious and error-prone to manually set up file formats
 and converter definitions for a script I'm writing. How do I
 automate the process so that the file formats and converter definitions
 are created when I run Tools -- Reconfigure?

This is done by a Python script, configure.py, which you might find and
utilize.

However, modifying the original would mean that you loose either your
variant or any improvements with the next lyx version. Maybe a wrapper
(with your extensions and a call to the original) could be designed.
(I don't know the details nor whether this is possible at all.)

Günter



Re: Add Converter via Reconfigure

2010-03-23 Thread Jean-Marc Lasgouttes
Jack Desert jwo...@gmail.com writes:

 It's becoming tedious and error-prone to manually set up file formats
 and converter definitions for a script I'm writing. How do I
 automate the process so that the file formats and converter definitions
 are created when I run Tools -- Reconfigure?

You can add converters to lyxrc.dist, which is read before the
lyxrc.default produced by reconfigure.

JMarc


Re: Add Converter via Reconfigure

2010-03-23 Thread Guenter Milde
On 2010-03-23, Jack Desert wrote:

> It's becoming tedious and error-prone to manually set up file formats
> and converter definitions for a script I'm writing. How do I
> automate the process so that the file formats and converter definitions
> are created when I run Tools --> Reconfigure?

This is done by a Python script, configure.py, which you might find and
utilize.

However, modifying the original would mean that you loose either your
variant or any improvements with the next lyx version. Maybe a wrapper
(with your extensions and a call to the original) could be designed.
(I don't know the details nor whether this is possible at all.)

Günter



Re: Add Converter via Reconfigure

2010-03-23 Thread Jean-Marc Lasgouttes
Jack Desert  writes:

> It's becoming tedious and error-prone to manually set up file formats
> and converter definitions for a script I'm writing. How do I
> automate the process so that the file formats and converter definitions
> are created when I run Tools --> Reconfigure?

You can add converters to lyxrc.dist, which is read before the
lyxrc.default produced by reconfigure.

JMarc


Add Converter via Reconfigure

2010-03-22 Thread Jack Desert

It's becoming tedious and error-prone to manually set up file formats
and converter definitions for a script I'm writing. How do I
automate the process so that the file formats and converter definitions
are created when I run Tools -- Reconfigure?


-- 
~~~
Jack Desert --Writer, Entrepeneur
Author and Spokesman: www.LetsEATalready.com
Software Developer:   http://GrooveTask.org
Email: jwo...@gmail.com
~~~


Add Converter via Reconfigure

2010-03-22 Thread Jack Desert

It's becoming tedious and error-prone to manually set up file formats
and converter definitions for a script I'm writing. How do I
automate the process so that the file formats and converter definitions
are created when I run Tools --> Reconfigure?


-- 
~~~
Jack Desert --Writer, Entrepeneur
Author and Spokesman: www.LetsEATalready.com
Software Developer:   http://GrooveTask.org
Email: jwo...@gmail.com
~~~