On Mon, Dec 17, 2012 at 3:15 PM, Alex Vergara Gil <a...@cphr.edu.cu> wrote:
>
>> On Mon, Dec 17, 2012 at 2:25 PM, Richard Heck <rgh...@lyx.org> wrote:
>>>
>>> I'm not so sure. If someone were to write a converter that mapped LyX's
>>> XML
>>> onto ODT's, or whatever, then yes. But that would still need doing.
>>
>>
>> Yes, of course.  However, I think it should be easier to write such
>> XSLs to map from a straightforward LyX XML schema than from LyXHTML
>> output.  The latter depends too much on the document class and has
>> issues, while the former should preserve everything about the original
>> .lyx as much as possible.
>>
>> Nico
>> --
>>
> And it would be easier for the final user the fact that all converters can
> operate automatically inside the LyX, instead of calling them, so you would
> see that copying a MathML equation in LOWriter and then pasting in LyX would
> result in a LyX equation where you insert them instead of having to convert
> it to latex using whatever script you have and the copy paste inside an
> equation box (is there an easier way right now? I think my way is too much
> omplicated), the same for figures (you don't need to save the image and then
> load it from LyX, just paste it where you want it) and tables (I think this
> is a lot more complicated example, but there is XLST converter).

Conversion at the File->Import... and File->Export... level would be
just a matter of writing the necessary XSLs.

Conversion at the cut-n-paste level is not something I can speak to
with confidence at this time.  I'll note only that if the content
being pasted is known to be XML in some schema then LyX could invoke
an XSL to convert it to .lyx.

Nico
--

Reply via email to