Bug 53812 - In info:/libc/ Lines starting '- Function:' not displayed
Summary: In info:/libc/ Lines starting '- Function:' not displayed
Status: RESOLVED DUPLICATE of bug 53813
Alias: None
Product: konqueror
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Mandrake RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-01 11:16 UTC by Nigel Rowe
Modified: 2003-02-02 19:09 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nigel Rowe 2003-02-01 11:16:30 UTC
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;
       }
     }
Comment 1 Thiago Macieira 2003-02-02 19:09:36 UTC
Duplicated accidental posting.  

*** This bug has been marked as a duplicate of 53813 ***