Carlos E. R. wrote:
On 2010-04-26 20:43, Per Jessen wrote:
Carlos E. R. wrote:
Man pages are a pain to translate, and many translations are obsolete. Same, or worse, info pages.
One of the problems is that there is no modern tool for doing the job. It is done in plain text with arcane tokens, and the result is "compiled" later. Fine for devs, bad for plain, poor translators.
I think there is a plethora of tools "out there" that will let you write in e.g. SGML, and produce almost any kind of outpout, including a man page.
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 ?). /Per Jessen, Zürich -- To unsubscribe, e-mail: opensuse-project+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-project+help@opensuse.org