[Bug 238534] man page HTML invalid

Christopher Yeleighton giecrilj at stegny.2a.pl
Tue May 25 20:35:52 BST 2010


https://bugs.kde.org/show_bug.cgi?id=238534





--- Comment #4 from Christopher Yeleighton <giecrilj stegny 2a pl>  2010-05-25 21:35:51 ---
(In reply to comment #2)
> The kio_man ioslave actually uses code from man2html [1], which is a horrible
> piece of ad-hoc code that tries to replace groff while not being one.
> The output of `man -Thtml` is actually much better, and it is a standard GNU
> tool.  kio_man should rather use just that.
> 


I have to take that back since it turns out that groff output in HTML mode is
not semantic; it uses HTML tags to place characters on the page here and there
according to its internal measurements driven by font metric information. 
However, there is no way to actually know the font metric information for the
displaying browser, and these assumptions are likely to fail.
High-level information contained in document structuring macros is converted to
low-level information on font sizes and character positions.  It is not
possible to generate decent HTML from this intermediate result, and the
high-level information has already been lost.  So I guess man2html must stay
and it must be fixed.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Unassigned-bugs mailing list