On Wed, Oct 24, 2001 at 10:52:52AM +0300, Richard Braakman wrote: > On Wed, Oct 24, 2001 at 10:53:08AM +1000, Iain wrote: > > The upstream developers produce man pages that are in HTML format only. > > I.e. > > they follow the usual style of a man page but in html. I was just wondering > > if there was a non-manual way of converting this to the man page format. > > ftplib had a similar problem. I wrote a little python script for it > (debian/html2man.py) which converts those html pages to manpages. > You might be able to use it for ideas.
You might also convince the upstream developers to use nroff or SGML for the master copies of the man pages, as it is easy to go from nroff/man->html and SGML->man and SGML->HTML but not HTML->nroff/man. -- - mdz