Richard Y. Kim wrote: > > I've been thinking similar thoughts lately. > I think it is inevitable for emergence of the following > texinfo tools in the near future: > > * texinfo.dtd (or texinfo.xsd if we use XML Schema rather > than DTD) capable of representing all the features of > texinfo. > > * `texi2xml' program that converts texinfo to XML using > the tags specified in texinfo.dtd/texinfo.xsd. > Of course makeinfo could be added with XML support as well. > texi2xml should be much easier to write then texi2html > since there should be less `semantic gap' between > texinfo and texinfo.dtd than between texinfo and > html.dtd (i.e., HTML 4.0 spec). > > * texinfo2docbook.xsl stylesheet to convert texinfo.dtd > conformant XML documents to DocBook conformant > documents. > I think too that it could be a really great thing. I wrote last year a patch to the makeinfo program which can output Docbook directly, but DB cannot represent all the texinfo features so the conversion cannot be reversible. A better way to do this would be to output a texinfo.dtd conformant document from makeinfo. I think my patch can make at this time a good starting point. I'll try to work on a texinfo.dtd and adapt my patch for makeinfo to output texinfo.dtd conformant docs. If you are also interested to work on this, I can send you the patch for makeinfo. - Philippe Martin
