Re: Documentation




> |   Although an updated, shinny new "man" command would be nicer.  We
> |   could just extend man to understand Docbook SGML.
> 
> What do you have in mind how the implementation should look?  To achieve
> acceptable performance "man" should continue to work on nroff files;
> maybe, it will be fast enough to process mormalized SGML files
> on-the-fly.

I am thinking just writting the SGML/Docbook module, and patching the
existing man command to look for SGML files as well as rendering them.

So it would be just an extension on the existing code base.

> I don't think man should contain an SGML parser; linking against expat
> might be possible; but then, a formatter is still missing.

Link with libxml, load, parse, generate nroff on the flight, pipe to
more 

Miguel.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]