On Friday 17 January 2003 22:50, Martin Vermeer wrote: > > Yes I think this sounds good. Something along these lines also in my > "travel report" from AGU infotech (Nov. 4, 2002). What I wrote was: > > Having had a look at the way LyX produces XML output disclosed that > only two specific formats are supported in a hard-wired way: DocBook > and LinuxDoc. To support other formats, like the AGU format or also > OpenOffice, would require > > (1) merging back DocBook and LinuxDoc support into a single XML > support methods tree, parametrized by the document class layout > files [somewhat the LyX equivalent of DTDs]; > (2) writing these layout files separately for DocBook, LinuxDoc and > AGU-XML.
Probably I'm too late in the object oriented frenzy but I thought about something in the lines of a general SGML superclass. The XML class would derive from it since XML is a special subset of it. That would allow us to introduce new formats easilly, think about xhtml, or html, or... > This will be more difficult than the similar mechanism already in > place for the many different -- but among themselves much more similar > -- LaTeX classes; but will also have a greater pay-off. ... Agreed. > Martin -- José Abílio