-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2010-04-27 10:26, Per Jessen wrote:
Carlos E. R. wrote:
In a WYSIWYG, modern, way? Like OpenOffice? With a working example? No, there is none. I have tried a lot of them.
I would have to spend some time googling, but I _know_ I have come across projects which had man pages written in SGML or XML - during the build, output was produced as man-pages, or html or pdf etc. There is no reason why the same could not be written in ooxml (or whatever it is openoffice uses) and be converted in the same way. The formatting elements used in man pages are, like you say, quite simple.
The more I think about this, the more I am convinced someone has already done it - look, an openoffice document is nothing but an XML-document with some extra bits (you just unzip the document). An XML-document is very easily turned into (using an XSL stylesheet) suitably formatted input for producing man-pages (isn't that done with nroff ?).
Actually, I have tried that. I found a process with OOo (I don't remember the details), but I didn't succeed. I should have notes of what I found somewhere.
- -- Cheers / Saludos,
Carlos E. R. (from 11.2 x86_64 "Emerald" GM (Elessar))