Re: Would a native LyX XML schema be accepted?

2012-12-19 Thread Rainer M Krug
On 19/12/12 06:57, Nico Williams wrote: On Tue, Dec 18, 2012 at 10:43 PM, Steve Litt sl...@troubleshooters.com wrote: On Tue, 18 Dec 2012 10:22:17 +0100 Rainer M Krug r.m.k...@gmail.com wrote: This all sounds very exciting and extremely useful for import / export / collaboration, but there

Re: Would a native LyX XML schema be accepted?

2012-12-19 Thread José Matos
On 12/19/2012 04:55 AM, Steve Litt wrote: I disagree. At least some of us are now discussing the possibility of formatting native LyX as standard XML, which, as I said in another post, is human hostile. Many, many of us interact with LyX files outside of the LyX executables or utilities.

Re: Would a native LyX XML schema be accepted?

2012-12-19 Thread Nico Williams
FWIW, I edit XML in vim plenty. It's not awesome, but it's not particularly painful either. XML is not unfriendly to $EDITOR, but it is more verbose. The great value that XML provides is in technologies like XPath, XQuery, and XSLT. I ache for the power of XSLT in association with LyX. But

Re: Would a native LyX XML schema be accepted?

2012-12-19 Thread Rainer M Krug
On 19/12/12 06:57, Nico Williams wrote: On Tue, Dec 18, 2012 at 10:43 PM, Steve Litt sl...@troubleshooters.com wrote: On Tue, 18 Dec 2012 10:22:17 +0100 Rainer M Krug r.m.k...@gmail.com wrote: This all sounds very exciting and extremely useful for import / export / collaboration, but there

Re: Would a native LyX XML schema be accepted?

2012-12-19 Thread José Matos
On 12/19/2012 04:55 AM, Steve Litt wrote: I disagree. At least some of us are now discussing the possibility of formatting native LyX as standard XML, which, as I said in another post, is human hostile. Many, many of us interact with LyX files outside of the LyX executables or utilities.

Re: Would a native LyX XML schema be accepted?

2012-12-19 Thread Nico Williams
FWIW, I edit XML in vim plenty. It's not awesome, but it's not particularly painful either. XML is not unfriendly to $EDITOR, but it is more verbose. The great value that XML provides is in technologies like XPath, XQuery, and XSLT. I ache for the power of XSLT in association with LyX. But

Re: Would a native LyX XML schema be accepted?

2012-12-19 Thread Rainer M Krug
On 19/12/12 06:57, Nico Williams wrote: > On Tue, Dec 18, 2012 at 10:43 PM, Steve Litt > wrote: >> On Tue, 18 Dec 2012 10:22:17 +0100 Rainer M Krug wrote: >>> This all sounds very exciting and extremely useful for import / export / >>>

Re: Would a native LyX XML schema be accepted?

2012-12-19 Thread José Matos
On 12/19/2012 04:55 AM, Steve Litt wrote: > I disagree. At least some of us are now discussing the possibility > of formatting native LyX as standard XML, which, as I said in another > post, is human hostile. Many, many of us interact with LyX files > outside of the LyX executables or utilities. >

Re: Would a native LyX XML schema be accepted?

2012-12-19 Thread Nico Williams
FWIW, I edit XML in vim plenty. It's not awesome, but it's not particularly painful either. XML is not unfriendly to $EDITOR, but it is more verbose. The great value that XML provides is in technologies like XPath, XQuery, and XSLT. I ache for the power of XSLT in association with LyX. But

Re: Would a native LyX XML schema be accepted?

2012-12-18 Thread Rainer M Krug
On 17/12/12 21:02, stefano franchi wrote: On Mon, Dec 17, 2012 at 1:47 PM, Richard Heck rgh...@lyx.org mailto:rgh...@lyx.org wrote: On 12/17/2012 01:49 PM, Nico Williams wrote: On Mon, Dec 17, 2012 at 12:21 PM, Richard Heck rgh...@lyx.org mailto:rgh...@lyx.org wrote: On

Re: Would a native LyX XML schema be accepted?

2012-12-18 Thread Rainer M Krug
, 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

Re: Would a native LyX XML schema be accepted?

2012-12-18 Thread Jean-Marc Lasgouttes
Le 18/12/12 10:14, Rainer M Krug a écrit : Sounds like a great idea. One question: would having an external but faithful XML Lyx file allow XLS-translations to XML-based word-processing formats? That would solve once and for all (hopefully) the problem of the Lyx--Word conversion that still

Re: Would a native LyX XML schema be accepted?

2012-12-18 Thread Rainer M Krug
On 18/12/12 10:28, Jean-Marc Lasgouttes wrote: Le 18/12/12 10:14, Rainer M Krug a écrit : Sounds like a great idea. One question: would having an external but faithful XML Lyx file allow XLS-translations to XML-based word-processing formats? That would solve once and for all (hopefully)

Re: Would a native LyX XML schema be accepted?

2012-12-18 Thread Jean-Marc Lasgouttes
Le 18/12/12 10:39, Rainer M Krug a écrit : Don't be lured by the fact that XML presents itself as the solution to all problems. I do not see how you could collaborate with co-authors using word, unless your document is horribly simple. Obviously not lossless or that straight forward - but I

Re: Would a native LyX XML schema be accepted?

2012-12-18 Thread Rainer M Krug
On 18/12/12 10:57, Jean-Marc Lasgouttes wrote: Le 18/12/12 10:39, Rainer M Krug a écrit : Don't be lured by the fact that XML presents itself as the solution to all problems. I do not see how you could collaborate with co-authors using word, unless your document is horribly simple.

Re: Would a native LyX XML schema be accepted?

2012-12-18 Thread Pavel Sanda
Rainer M Krug wrote: LyX itself. So my question: would this new XML format mean the good bye to the plain text format This is not good bye to the plain text format, most probably it would one of the many conversion routes we provide (similarly as e.g. elyxer fro html), at least that's how I

Re: Would a native LyX XML schema be accepted?

2012-12-18 Thread José Matos
On 12/17/2012 03:59 AM, Nico Williams wrote: I've written a Python script for converting .lyx files to XML. There's no DTD or schema, but it's a straightforward mapping of .lyx format to XML. Things like \being_layout ... \end_layout become layout ../layout and so on. This is much more

Re: Would a native LyX XML schema be accepted?

2012-12-18 Thread Liviu Andronic
On Tue, Dec 18, 2012 at 6:14 PM, José Matos jama...@lyx.org wrote: The harder part is: what about the math - mathml conversion? Perhaps: LaTeXML allows to convert LaTeX to MathML. http://www.mathweb.org/wiki/LaTeXML or: You can also displayed MathML as LaTeX source code using XSLT style

Re: Would a native LyX XML schema be accepted?

2012-12-18 Thread Steve Litt
. 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

Re: Would a native LyX XML schema be accepted?

2012-12-18 Thread Steve Litt
On Tue, 18 Dec 2012 13:52:44 +0100 Pavel Sanda sa...@lyx.org wrote: In any case the proper place where this should be discussed is developer list, not users list, let's see what will happen there :) Pavel I disagree. At least some of us are now discussing the possibility of formatting

Re: Would a native LyX XML schema be accepted?

2012-12-18 Thread Nico Williams
On Tue, Dec 18, 2012 at 10:43 PM, Steve Litt sl...@troubleshooters.com wrote: On Tue, 18 Dec 2012 10:22:17 +0100 Rainer M Krug r.m.k...@gmail.com wrote: This all sounds very exciting and extremely useful for import / export / collaboration, but there is one aspect which I would be missing in

Re: Would a native LyX XML schema be accepted?

2012-12-18 Thread Rainer M Krug
On 17/12/12 21:02, stefano franchi wrote: On Mon, Dec 17, 2012 at 1:47 PM, Richard Heck rgh...@lyx.org mailto:rgh...@lyx.org wrote: On 12/17/2012 01:49 PM, Nico Williams wrote: On Mon, Dec 17, 2012 at 12:21 PM, Richard Heck rgh...@lyx.org mailto:rgh...@lyx.org wrote: On

Re: Would a native LyX XML schema be accepted?

2012-12-18 Thread Rainer M Krug
, 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

Re: Would a native LyX XML schema be accepted?

2012-12-18 Thread Jean-Marc Lasgouttes
Le 18/12/12 10:14, Rainer M Krug a écrit : Sounds like a great idea. One question: would having an external but faithful XML Lyx file allow XLS-translations to XML-based word-processing formats? That would solve once and for all (hopefully) the problem of the Lyx--Word conversion that still

Re: Would a native LyX XML schema be accepted?

2012-12-18 Thread Rainer M Krug
On 18/12/12 10:28, Jean-Marc Lasgouttes wrote: Le 18/12/12 10:14, Rainer M Krug a écrit : Sounds like a great idea. One question: would having an external but faithful XML Lyx file allow XLS-translations to XML-based word-processing formats? That would solve once and for all (hopefully)

Re: Would a native LyX XML schema be accepted?

2012-12-18 Thread Jean-Marc Lasgouttes
Le 18/12/12 10:39, Rainer M Krug a écrit : Don't be lured by the fact that XML presents itself as the solution to all problems. I do not see how you could collaborate with co-authors using word, unless your document is horribly simple. Obviously not lossless or that straight forward - but I

Re: Would a native LyX XML schema be accepted?

2012-12-18 Thread Rainer M Krug
On 18/12/12 10:57, Jean-Marc Lasgouttes wrote: Le 18/12/12 10:39, Rainer M Krug a écrit : Don't be lured by the fact that XML presents itself as the solution to all problems. I do not see how you could collaborate with co-authors using word, unless your document is horribly simple.

Re: Would a native LyX XML schema be accepted?

2012-12-18 Thread Pavel Sanda
Rainer M Krug wrote: LyX itself. So my question: would this new XML format mean the good bye to the plain text format This is not good bye to the plain text format, most probably it would one of the many conversion routes we provide (similarly as e.g. elyxer fro html), at least that's how I

Re: Would a native LyX XML schema be accepted?

2012-12-18 Thread José Matos
On 12/17/2012 03:59 AM, Nico Williams wrote: I've written a Python script for converting .lyx files to XML. There's no DTD or schema, but it's a straightforward mapping of .lyx format to XML. Things like \being_layout ... \end_layout become layout ../layout and so on. This is much more

Re: Would a native LyX XML schema be accepted?

2012-12-18 Thread Liviu Andronic
On Tue, Dec 18, 2012 at 6:14 PM, José Matos jama...@lyx.org wrote: The harder part is: what about the math - mathml conversion? Perhaps: LaTeXML allows to convert LaTeX to MathML. http://www.mathweb.org/wiki/LaTeXML or: You can also displayed MathML as LaTeX source code using XSLT style

Re: Would a native LyX XML schema be accepted?

2012-12-18 Thread Steve Litt
. 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

Re: Would a native LyX XML schema be accepted?

2012-12-18 Thread Steve Litt
On Tue, 18 Dec 2012 13:52:44 +0100 Pavel Sanda sa...@lyx.org wrote: In any case the proper place where this should be discussed is developer list, not users list, let's see what will happen there :) Pavel I disagree. At least some of us are now discussing the possibility of formatting

Re: Would a native LyX XML schema be accepted?

2012-12-18 Thread Nico Williams
On Tue, Dec 18, 2012 at 10:43 PM, Steve Litt sl...@troubleshooters.com wrote: On Tue, 18 Dec 2012 10:22:17 +0100 Rainer M Krug r.m.k...@gmail.com wrote: This all sounds very exciting and extremely useful for import / export / collaboration, but there is one aspect which I would be missing in

Re: Would a native LyX XML schema be accepted?

2012-12-18 Thread Rainer M Krug
On 17/12/12 21:02, stefano franchi wrote: > > > > On Mon, Dec 17, 2012 at 1:47 PM, Richard Heck > wrote: > > On 12/17/2012 01:49 PM, Nico Williams wrote: > > On Mon, Dec 17, 2012 at 12:21 PM, Richard Heck >

Re: Would a native LyX XML schema be accepted?

2012-12-18 Thread Rainer M Krug
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 >>> s

Re: Would a native LyX XML schema be accepted?

2012-12-18 Thread Jean-Marc Lasgouttes
Le 18/12/12 10:14, Rainer M Krug a écrit : Sounds like a great idea. One question: would having an external but faithful XML Lyx file allow XLS-translations to XML-based word-processing formats? That would solve once and for all (hopefully) the problem of the Lyx-->Word conversion that still

Re: Would a native LyX XML schema be accepted?

2012-12-18 Thread Rainer M Krug
On 18/12/12 10:28, Jean-Marc Lasgouttes wrote: > Le 18/12/12 10:14, Rainer M Krug a écrit : >>> Sounds like a great idea. One question: would having an external but >>> faithful XML Lyx file >>> allow XLS-translations to XML-based word-processing formats? That would >>> solve once and for >>>

Re: Would a native LyX XML schema be accepted?

2012-12-18 Thread Jean-Marc Lasgouttes
Le 18/12/12 10:39, Rainer M Krug a écrit : Don't be lured by the fact that XML presents itself as the solution to all problems. I do not see how you could collaborate with co-authors using word, unless your document is horribly simple. Obviously not lossless or that straight forward - but I

Re: Would a native LyX XML schema be accepted?

2012-12-18 Thread Rainer M Krug
On 18/12/12 10:57, Jean-Marc Lasgouttes wrote: > Le 18/12/12 10:39, Rainer M Krug a écrit : >>> Don't be lured by the fact that XML presents itself as the solution to all >>> problems. I do >>> not see how you could collaborate with co-authors using word, unless your >>> document is >>> horribly

Re: Would a native LyX XML schema be accepted?

2012-12-18 Thread Pavel Sanda
Rainer M Krug wrote: > LyX itself. So my question: would this new XML format mean the "good bye" to > the plain text format This is not "good bye" to the plain text format, most probably it would one of the many conversion routes we provide (similarly as e.g. elyxer fro html), at least that's

Re: Would a native LyX XML schema be accepted?

2012-12-18 Thread José Matos
On 12/17/2012 03:59 AM, Nico Williams wrote: > I've written a Python script for converting .lyx files to XML. > There's no DTD or schema, but it's a straightforward mapping of .lyx > format to XML. Things like \being_layout ... \end_layout become > ... and so on. This is much more faithful a >

Re: Would a native LyX XML schema be accepted?

2012-12-18 Thread Liviu Andronic
On Tue, Dec 18, 2012 at 6:14 PM, José Matos wrote: > The harder part is: what about the math -> mathml conversion? > > Perhaps: "LaTeXML allows to convert LaTeX to MathML. " http://www.mathweb.org/wiki/LaTeXML or: "You can also displayed MathML as LaTeX source code using XSLT

Re: Would a native LyX XML schema be accepted?

2012-12-18 Thread Steve Litt
gt;>> > >>> > >>> 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 > >>> cl

Re: Would a native LyX XML schema be accepted?

2012-12-18 Thread Steve Litt
On Tue, 18 Dec 2012 13:52:44 +0100 Pavel Sanda wrote: > In any case the proper place where this should be discussed is > developer list, not users list, let's see what will happen there :) > > Pavel I disagree. At least some of us are now discussing the possibility of

Re: Would a native LyX XML schema be accepted?

2012-12-18 Thread Nico Williams
On Tue, Dec 18, 2012 at 10:43 PM, Steve Litt wrote: > On Tue, 18 Dec 2012 10:22:17 +0100 > Rainer M Krug wrote: >> This all sounds very exciting and extremely useful for import / >> export / collaboration, but there is one aspect which I would be >>

Re: Would a native LyX XML schema be accepted?

2012-12-17 Thread Alex Vergara Gil
Would this be accepted? Mind if I use a BSD license? Nico -- +1 with this. This is what LyX really needs to handle native XML schema in .lyx files. Please hurry up the desition of having this in LyX. I really want to see an outstanding WYSIWYM program that can handle metapackages, figures,

Re: Would a native LyX XML schema be accepted?

2012-12-17 Thread Richard Heck
On 12/16/2012 10:59 PM, Nico Williams wrote: I've written a Python script for converting .lyx files to XML. There's no DTD or schema, but it's a straightforward mapping of .lyx format to XML. Things like \being_layout ... \end_layout become layout ../layout and so on. This is much more

Re: Would a native LyX XML schema be accepted?

2012-12-17 Thread Alex Vergara Gil
There still are long-term plans to convert the native LyX format to XML. But it turns out to be more work than one might expect. rh Really nice to hear about this, is there any schedule??? Alex

Re: Would a native LyX XML schema be accepted?

2012-12-17 Thread Richard Heck
On 12/17/2012 11:45 AM, Alex Vergara Gil wrote: There still are long-term plans to convert the native LyX format to XML. But it turns out to be more work than one might expect. rh Really nice to hear about this, is there any schedule??? No, we've been discussing it for years, but no-one

Re: Would a native LyX XML schema be accepted?

2012-12-17 Thread Nico Williams
On Mon, Dec 17, 2012 at 12:21 PM, Richard Heck rgh...@lyx.org wrote: On 12/17/2012 11:45 AM, Alex Vergara Gil wrote: There still are long-term plans to convert the native LyX format to XML. But it turns out to be more work than one might expect. rh Really nice to hear about this, is there

Re: Would a native LyX XML schema be accepted?

2012-12-17 Thread Richard Heck
On 12/17/2012 01:49 PM, Nico Williams wrote: On Mon, Dec 17, 2012 at 12:21 PM, Richard Heck rgh...@lyx.org wrote: On 12/17/2012 11:45 AM, Alex Vergara Gil wrote: There still are long-term plans to convert the native LyX format to XML. But it turns out to be more work than one might expect. rh

Re: Would a native LyX XML schema be accepted?

2012-12-17 Thread stefano franchi
On Mon, Dec 17, 2012 at 1:47 PM, Richard Heck rgh...@lyx.org wrote: On 12/17/2012 01:49 PM, Nico Williams wrote: On Mon, Dec 17, 2012 at 12:21 PM, Richard Heck rgh...@lyx.org wrote: On 12/17/2012 11:45 AM, Alex Vergara Gil wrote: Meanwhile, the script I'm working on will effectively get us

Re: Would a native LyX XML schema be accepted?

2012-12-17 Thread Alex Vergara Gil
Sounds like a great idea. One question: would having an external but faithful XML Lyx file allow XLS-translations to XML-based word-processing formats? That would solve once and for all (hopefully) the problem of the Lyx--Word conversion that still plagues those of us working in the Humanities

Re: Would a native LyX XML schema be accepted?

2012-12-17 Thread Richard Heck
On 12/17/2012 03:16 PM, Alex Vergara Gil wrote: Sounds like a great idea. One question: would having an external but faithful XML Lyx file allow XLS-translations to XML-based word-processing formats? That would solve once and for all (hopefully) the problem of the Lyx--Word conversion that

Re: Would a native LyX XML schema be accepted?

2012-12-17 Thread Nico Williams
to flatten the same and return to the native LyX XML schema Nico --

Re: Would a native LyX XML schema be accepted?

2012-12-17 Thread Nico Williams
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 --

Re: Would a native LyX XML schema be accepted?

2012-12-17 Thread Alex Vergara Gil
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

Re: Would a native LyX XML schema be accepted?

2012-12-17 Thread Nico Williams
, 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

Re: Would a native LyX XML schema be accepted?

2012-12-17 Thread Alex Vergara Gil
Would this be accepted? Mind if I use a BSD license? Nico -- +1 with this. This is what LyX really needs to handle native XML schema in .lyx files. Please hurry up the desition of having this in LyX. I really want to see an outstanding WYSIWYM program that can handle metapackages, figures,

Re: Would a native LyX XML schema be accepted?

2012-12-17 Thread Richard Heck
On 12/16/2012 10:59 PM, Nico Williams wrote: I've written a Python script for converting .lyx files to XML. There's no DTD or schema, but it's a straightforward mapping of .lyx format to XML. Things like \being_layout ... \end_layout become layout ../layout and so on. This is much more

Re: Would a native LyX XML schema be accepted?

2012-12-17 Thread Alex Vergara Gil
There still are long-term plans to convert the native LyX format to XML. But it turns out to be more work than one might expect. rh Really nice to hear about this, is there any schedule??? Alex

Re: Would a native LyX XML schema be accepted?

2012-12-17 Thread Richard Heck
On 12/17/2012 11:45 AM, Alex Vergara Gil wrote: There still are long-term plans to convert the native LyX format to XML. But it turns out to be more work than one might expect. rh Really nice to hear about this, is there any schedule??? No, we've been discussing it for years, but no-one

Re: Would a native LyX XML schema be accepted?

2012-12-17 Thread Nico Williams
On Mon, Dec 17, 2012 at 12:21 PM, Richard Heck rgh...@lyx.org wrote: On 12/17/2012 11:45 AM, Alex Vergara Gil wrote: There still are long-term plans to convert the native LyX format to XML. But it turns out to be more work than one might expect. rh Really nice to hear about this, is there

Re: Would a native LyX XML schema be accepted?

2012-12-17 Thread Richard Heck
On 12/17/2012 01:49 PM, Nico Williams wrote: On Mon, Dec 17, 2012 at 12:21 PM, Richard Heck rgh...@lyx.org wrote: On 12/17/2012 11:45 AM, Alex Vergara Gil wrote: There still are long-term plans to convert the native LyX format to XML. But it turns out to be more work than one might expect. rh

Re: Would a native LyX XML schema be accepted?

2012-12-17 Thread stefano franchi
On Mon, Dec 17, 2012 at 1:47 PM, Richard Heck rgh...@lyx.org wrote: On 12/17/2012 01:49 PM, Nico Williams wrote: On Mon, Dec 17, 2012 at 12:21 PM, Richard Heck rgh...@lyx.org wrote: On 12/17/2012 11:45 AM, Alex Vergara Gil wrote: Meanwhile, the script I'm working on will effectively get us

Re: Would a native LyX XML schema be accepted?

2012-12-17 Thread Alex Vergara Gil
Sounds like a great idea. One question: would having an external but faithful XML Lyx file allow XLS-translations to XML-based word-processing formats? That would solve once and for all (hopefully) the problem of the Lyx--Word conversion that still plagues those of us working in the Humanities

Re: Would a native LyX XML schema be accepted?

2012-12-17 Thread Richard Heck
On 12/17/2012 03:16 PM, Alex Vergara Gil wrote: Sounds like a great idea. One question: would having an external but faithful XML Lyx file allow XLS-translations to XML-based word-processing formats? That would solve once and for all (hopefully) the problem of the Lyx--Word conversion that

Re: Would a native LyX XML schema be accepted?

2012-12-17 Thread Nico Williams
to flatten the same and return to the native LyX XML schema Nico --

Re: Would a native LyX XML schema be accepted?

2012-12-17 Thread Nico Williams
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 --

Re: Would a native LyX XML schema be accepted?

2012-12-17 Thread Alex Vergara Gil
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

Re: Would a native LyX XML schema be accepted?

2012-12-17 Thread Nico Williams
, 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

Re: Would a native LyX XML schema be accepted?

2012-12-17 Thread Alex Vergara Gil
Would this be accepted? Mind if I use a BSD license? Nico -- +1 with this. This is what LyX really needs to handle native XML schema in .lyx files. Please hurry up the desition of having this in LyX. I really want to see an outstanding WYSIWYM program that can handle metapackages, figures,

Re: Would a native LyX XML schema be accepted?

2012-12-17 Thread Richard Heck
On 12/16/2012 10:59 PM, Nico Williams wrote: I've written a Python script for converting .lyx files to XML. There's no DTD or schema, but it's a straightforward mapping of .lyx format to XML. Things like \being_layout ... \end_layout become ... and so on. This is much more faithful a mapping

Re: Would a native LyX XML schema be accepted?

2012-12-17 Thread Alex Vergara Gil
There still are long-term plans to convert the native LyX format to XML. But it turns out to be more work than one might expect. rh Really nice to hear about this, is there any schedule??? Alex

Re: Would a native LyX XML schema be accepted?

2012-12-17 Thread Richard Heck
On 12/17/2012 11:45 AM, Alex Vergara Gil wrote: There still are long-term plans to convert the native LyX format to XML. But it turns out to be more work than one might expect. rh Really nice to hear about this, is there any schedule??? No, we've been discussing it for years, but no-one

Re: Would a native LyX XML schema be accepted?

2012-12-17 Thread Nico Williams
On Mon, Dec 17, 2012 at 12:21 PM, Richard Heck wrote: > On 12/17/2012 11:45 AM, Alex Vergara Gil wrote: >>> There still are long-term plans to convert the native LyX format to XML. >>> But it turns out to be more work than one might expect. >>> >>> rh >> >> Really nice to hear

Re: Would a native LyX XML schema be accepted?

2012-12-17 Thread Richard Heck
On 12/17/2012 01:49 PM, Nico Williams wrote: On Mon, Dec 17, 2012 at 12:21 PM, Richard Heck wrote: On 12/17/2012 11:45 AM, Alex Vergara Gil wrote: There still are long-term plans to convert the native LyX format to XML. But it turns out to be more work than one might expect.

Re: Would a native LyX XML schema be accepted?

2012-12-17 Thread stefano franchi
On Mon, Dec 17, 2012 at 1:47 PM, Richard Heck wrote: > On 12/17/2012 01:49 PM, Nico Williams wrote: > >> On Mon, Dec 17, 2012 at 12:21 PM, Richard Heck wrote: >> >>> On 12/17/2012 11:45 AM, Alex Vergara Gil wrote: >>> >> Meanwhile, the script I'm working on will

Re: Would a native LyX XML schema be accepted?

2012-12-17 Thread Alex Vergara Gil
Sounds like a great idea. One question: would having an external but faithful XML Lyx file allow XLS-translations to XML-based word-processing formats? That would solve once and for all (hopefully) the problem of the Lyx-->Word conversion that still plagues those of us working in the Humanities

Re: Would a native LyX XML schema be accepted?

2012-12-17 Thread Richard Heck
On 12/17/2012 03:16 PM, Alex Vergara Gil wrote: Sounds like a great idea. One question: would having an external but faithful XML Lyx file allow XLS-translations to XML-based word-processing formats? That would solve once and for all (hopefully) the problem of the Lyx-->Word conversion that

Re: Would a native LyX XML schema be accepted?

2012-12-17 Thread Nico Williams
owing: - lyx2xml -- a script for converting .lyx to XML - xml2lyx -- an XSL for converting XML back to .lyx - an XSL for turning LyX XML into a more structure schema, from this: - an XSL to flatten the same and return to the native LyX XML schema Nico --

Re: Would a native LyX XML schema be accepted?

2012-12-17 Thread Nico Williams
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 --

Re: Would a native LyX XML schema be accepted?

2012-12-17 Thread Alex Vergara Gil
h 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 th

Re: Would a native LyX XML schema be accepted?

2012-12-17 Thread Nico Williams
; 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

Would a native LyX XML schema be accepted?

2012-12-16 Thread Nico Williams
I've written a Python script for converting .lyx files to XML. There's no DTD or schema, but it's a straightforward mapping of .lyx format to XML. Things like \being_layout ... \end_layout become layout ../layout and so on. This is much more faithful a mapping to XML than LyXHTML, or any of

Would a native LyX XML schema be accepted?

2012-12-16 Thread Nico Williams
I've written a Python script for converting .lyx files to XML. There's no DTD or schema, but it's a straightforward mapping of .lyx format to XML. Things like \being_layout ... \end_layout become layout ../layout and so on. This is much more faithful a mapping to XML than LyXHTML, or any of

Would a native LyX XML schema be accepted?

2012-12-16 Thread Nico Williams
I've written a Python script for converting .lyx files to XML. There's no DTD or schema, but it's a straightforward mapping of .lyx format to XML. Things like \being_layout ... \end_layout become ... and so on. This is much more faithful a mapping to XML than LyXHTML, or any of the other XML

Re: LyX XML Schema

2005-05-04 Thread Jose' Matos
On Wednesday 04 May 2005 01:59, John O'Gorman wrote: Hi I've found the file lyxformat.dtd from the mail archives. No reference to Part, Chapter, Section, Subsection, etc. Are these to be instances of para? Probably not instances but attributes. At least such as it is now, that dtd AFAIR

Re: LyX XML Schema

2005-05-04 Thread Jose' Matos
On Wednesday 04 May 2005 01:59, John O'Gorman wrote: Hi I've found the file lyxformat.dtd from the mail archives. No reference to Part, Chapter, Section, Subsection, etc. Are these to be instances of para? Probably not instances but attributes. At least such as it is now, that dtd AFAIR

Re: LyX XML Schema

2005-05-04 Thread Jose' Matos
On Wednesday 04 May 2005 01:59, John O'Gorman wrote: > Hi > > I've found the file lyxformat.dtd from the mail archives. > > No reference to Part, Chapter, Section, Subsection, etc. > > Are these to be instances of para? Probably not instances but attributes. At least such as it is now, that

LyX XML Schema

2005-05-03 Thread John O'Gorman
Hi I've found the file lyxformat.dtd from the mail archives. No reference to Part, Chapter, Section, Subsection, etc. Are these to be instances of para? Or have I missed part of the dtd specification? Or are they yet to be discusses? regards John O'Gorman

LyX XML Schema

2005-05-03 Thread John O'Gorman
Hi I've found the file lyxformat.dtd from the mail archives. No reference to Part, Chapter, Section, Subsection, etc. Are these to be instances of para? Or have I missed part of the dtd specification? Or are they yet to be discusses? regards John O'Gorman

LyX XML Schema

2005-05-03 Thread John O'Gorman
Hi I've found the file lyxformat.dtd from the mail archives. No reference to Part, Chapter, Section, Subsection, etc. Are these to be instances of para? Or have I missed part of the dtd specification? Or are they yet to be discusses? regards John O'Gorman