Version: (using KDE KDE 3.0.99) Installed from: Mandrake RPMs OS: Linux Trying to use Konqueror to display the libc info pages. 1. Lines starting '- Function:' are not displayed past the ':'. eg. - Function: size_t strlen (const char *S) should be displayed, what is displayed is - Function: 2. The index pages are unreadable. all lines are printed over the top of each other. 3. Redundant '#' displayed next to the navigation icons Patch: --- kde-info2html.orig 2003-01-28 12:24:58.000000000 +1100 +++ kde-info2html 2003-01-30 20:46:33.000000000 +1100 @@ -219,7 +219,7 @@ $MenuLinkTag = $4 || 'Top'; $MenuLinkText = ($2 ? ' ' x (length($2)+1) : '') . "$5\n"; } else { - $Line = $5; + $Line = "$5\n"; if ($Line =~ /( *($TAG)?$TE(.*))$/) { $MenuLinkTag = $2; $MenuLinkText = $Line; @@ -438,7 +438,7 @@ #-- print the HTML Text print <<EOF; <a href="info:/$LinkFileEsc/$LinkTag"> -# $LinkTypeText + $LinkTypeText <em>($LinkFile)</em> <strong>$LinkRef</strong> </a> EOF @@ -573,7 +573,8 @@ $prev = $1; } else { $prev = $Line; - $Line =~ s!- (Variable|Function|Macro|Command|Special Form|User Option ):.*$!<em>$1</em>!; + # nkr-the $& in the next line is a fix, the <strong> is my preference + $Line =~ s!- (Variable|Function|Macro|Command|Special Form|User Option |Data Type):.*$!<em><strong>$&</strong></em>!; print $Line; } }
Duplicated accidental posting. *** This bug has been marked as a duplicate of 53813 ***