]> git.llucax.com Git - software/mutt-debian.git/blobdiff - doc/gen-map-doc
adding a lintian override for the mutt Exec path in the desktop file
[software/mutt-debian.git] / doc / gen-map-doc
index 1a99cf8f2ffcd034621860de553196a8bceadd28..ad7dd68315bbdee47dd7f0c37e0530aa77733561 100644 (file)
@@ -55,13 +55,15 @@ while (<XML>) {
       warn "map $map undefined";
       next;
     }
       warn "map $map undefined";
       next;
     }
+    my $title = $map;
+    $title =~ s/(.)(.+)/\U$1\E$2/;
     print <<EOT;
 <sect2 id="${map}-map">
 <title>$maptitle Menu</title>
 $DOC{$map}
 
     print <<EOT;
 <sect2 id="${map}-map">
 <title>$maptitle Menu</title>
 $DOC{$map}
 
-<table id="${map}-table">
-<title>Default $map Function Bindings</title>
+<table id="tab-${map}-bindings">
+<title>Default $title Menu Bindings</title>
 <tgroup cols="3">
 <thead>
 <row><entry>Function</entry><entry>Default key</entry><entry>Description</entry></row>
 <tgroup cols="3">
 <thead>
 <row><entry>Function</entry><entry>Default key</entry><entry>Description</entry></row>