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
gt;>> > >>>> 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

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

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

Re: Would a native LyX XML schema be accepted?

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

Re: Would a native LyX XML schema be accepted?

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

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 expo

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

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

Re: lyx -> xml (mathml)

2005-03-14 Thread Matt Flax
Just found mzlatex. Part of the tex4ht package. Hmmm... appears to work reasonably well too ! doesn't appear to support some fonts ... I am sure these fonts can be added later. Matt On Mon, Mar 14, 2005 at 11:34:48AM +, Jose' Matos wrote: > On Monday 14 March 2005 09:59, Matt Flax wrote: >

Re: lyx -> xml (mathml)

2005-03-14 Thread Jose' Matos
On Monday 14 March 2005 09:59, Matt Flax wrote: > Hello, > > I was wondering however how would I create an xml (mathml) page from a > .lyx file ? You can not (yet) do that. Also mathml is only one part of the whole equation, usually mathml is inserted inside xhtml. > I can create an sgml fi

lyx -> xml (mathml)

2005-03-14 Thread Matt Flax
Hello, I was wondering however how would I create an xml (mathml) page from a .lyx file ? I can create an sgml file from the .lyx file by changing the document type to 'SGML', but can't get further then that. thanks Matt -- http://www.flatmax.org MFFM Bit Stream : http://sourceforge.net/pr

LaTeX -> XML with TeX4ht? (was: LyX <-> XML, Koma-Script <-> XSD & XSL?)

2005-01-19 Thread Wolfgang Keller
> Is there an easy way to convert the content of a LyX document to XML (and > vice-versa)? Well at least for LaTeX -> XML there seems to be a solution with TeX4ht. Has anyone significant experience with this and especially how well it performs with documents written for the Komascript-Classes? T

Re: LyX <-> XML, Koma-Script <-> XSD & XSL?

2005-01-07 Thread Matej Cepl
Wolfgang Keller wrote: > Is there an easy way to convert the content of a LyX document to XML (and > vice-versa)? And are there XSD and XSL(-FO) equivalent to e.g. the > Koma-Script package? Not easy one. It is probably somehow possible (look for "Docbook LaTeX conversion" on google), but it is fa

LyX <-> XML, Koma-Script <-> XSD & XSL?

2005-01-07 Thread Wolfgang Keller
Hello, if this happens to be an FAQ item, thanks for pointing me to the relevant FAQ. Is there an easy way to convert the content of a LyX document to XML (and vice-versa)? And are there XSD and XSL(-FO) equivalent to e.g. the Koma-Script package? TIA, Wolfgang Keller

Re: LyX <--> XML

2001-09-17 Thread Allan Rae
On 17 Sep 2001, David Green wrote: > Allan Rae <[EMAIL PROTECTED]> writes: > > > On Mon, 17 Sep 2001, Jose Abilio Oliveira Matos wrote: > > >> The path that I use is lyx -> docbook -> html and then use tidy to clean > >> up the resulting html to xhtml: > > >> tidy -asxml file.html > > >> Do

Re: LyX <--> XML

2001-09-17 Thread Praedor
Try http://perso.club-internet.fr/dpo/rpm for the rpm. You can also pick up Mac or Windoze executables at http://www.w3.org/People/Raggett/tidy/#download On Monday 17 September 2001 08:14 pm, Allan Rae wrote: > On Mon, 17 Sep 2001, Jose Abilio Oliveira Matos wrote: > > On Mon, Sep 17, 2001 at 0

Re: LyX <--> XML

2001-09-17 Thread David Green
Allan Rae <[EMAIL PROTECTED]> writes: > On Mon, 17 Sep 2001, Jose Abilio Oliveira Matos wrote: >> The path that I use is lyx -> docbook -> html and then use tidy to clean >> up the resulting html to xhtml: >> tidy -asxml file.html >> Does this helps? > Sort of. You suggested I use this

Re: LyX <--> XML

2001-09-17 Thread Allan Rae
On Mon, 17 Sep 2001, Jose Abilio Oliveira Matos wrote: > On Mon, Sep 17, 2001 at 02:02:43PM +1000, Allan Rae wrote: > > > > How about LyX to XHTML-1.0? > > > > I seem to have all the stylesheets and tools but I can't figure out how to > > use a different XML or other DTD to get the conversion to

Re: LyX <--> XML

2001-09-17 Thread ben
Jose Abilio Oliveira Matos a écrit : > On Mon, Sep 17, 2001 at 02:02:43PM +1000, Allan Rae wrote: > > > > How about LyX to XHTML-1.0? > > > > I seem to have all the stylesheets and tools but I can't figure out how to > > use a different XML or other DTD to get the conversion to XHTML. > > The p

Re: LyX <--> XML

2001-09-17 Thread Jose Abilio Oliveira Matos
On Mon, Sep 17, 2001 at 02:02:43PM +1000, Allan Rae wrote: > > How about LyX to XHTML-1.0? > > I seem to have all the stylesheets and tools but I can't figure out how to > use a different XML or other DTD to get the conversion to XHTML. The path that I use is lyx -> docbook -> html and then u

Re: LyX <--> XML

2001-09-16 Thread Allan Rae
On Mon, 17 Sep 2001, ben wrote: > To produce XML, use the DocBook document class. You can export to DocBook > SGML, and there are few things to have XML from SGML. Once lyx configured you > will be able to translate your file to HTML or DVI, PostScript, etc. > > Basically the tools used by LyX to

Re: LyX <--> XML

2001-09-16 Thread ben
To produce XML, use the DocBook document class. You can export to DocBook SGML, and there are few things to have XML from SGML. Once lyx configured you will be able to translate your file to HTML or DVI, PostScript, etc. Basically the tools used by LyX to support SGML DocBook are the toolchain sg

LyX <--> XML

2001-09-14 Thread Sasa Janiska
Hi! I have to write some online course for the web. Since I'm always writing in LyX, at the same time, I'd like to embrace XML technology, and later publish course on the web (HTML), I'm interested what would be the best procedure to get XML document from LyX source and later convert it HTML for