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 als

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 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 / >>> collaboration, but >>> there is one aspect which I would be

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 >> missing in an XML file: At the moment, I can op

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 formatting native LyX as

Re: Would a native LyX XML schema be accepted?

2012-12-18 Thread Steve Litt
On Tue, 18 Dec 2012 10:22:17 +0100 Rainer M Krug wrote: > On 18/12/12 00:01, Nico Williams wrote: > > On Mon, Dec 17, 2012 at 3:15 PM, Alex Vergara Gil > > wrote: > >> > >>> On Mon, Dec 17, 2012 at 2:25 PM, Richard Heck > >>> wrote: > > I'm not so sure. If someone were to write a co

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 style sheets (see xs

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 > ma

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 ho

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 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 g

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 >>> al

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 pl

Re: Would a native LyX XML schema be accepted?

2012-12-18 Thread Rainer M Krug
On 18/12/12 00:01, Nico Williams wrote: > On Mon, Dec 17, 2012 at 3:15 PM, Alex Vergara Gil wrote: >> >>> On Mon, Dec 17, 2012 at 2:25 PM, Richard Heck 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

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 > wrote: > > On 12/17/2012 11:45 AM, Ale

Re: Would a native LyX XML schema be accepted?

2012-12-17 Thread Nico Williams
On Mon, Dec 17, 2012 at 3:15 PM, Alex Vergara Gil wrote: > >> On Mon, Dec 17, 2012 at 2:25 PM, Richard Heck 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 cours

Re: Would a native LyX XML schema be accepted?

2012-12-17 Thread Alex Vergara Gil
On Mon, Dec 17, 2012 at 2:25 PM, Richard Heck 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 straigh

Re: Would a native LyX XML schema be accepted?

2012-12-17 Thread Nico Williams
On Mon, Dec 17, 2012 at 2:25 PM, Richard Heck 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 straightf

Re: Would a native LyX XML schema be accepted?

2012-12-17 Thread Nico Williams
On Mon, Dec 17, 2012 at 2:02 PM, stefano franchi 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 > conv

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 sti

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 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 effectively get us there, >> thou

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. rh Really nice t

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 about this, is there

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 h

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/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 to

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,