]> git.donarmstrong.com Git - lilypond.git/commitdiff
texi2html: Fix init file to remove parentheses and backslashes from file names
authorReinhold Kainhofer <reinhold@kainhofer.com>
Tue, 1 Apr 2008 00:25:31 +0000 (02:25 +0200)
committerReinhold Kainhofer <reinhold@kainhofer.com>
Tue, 1 Apr 2008 00:25:31 +0000 (02:25 +0200)
lilypond-texi2html.init

index 005f71223f255177fd901641bb931ff94e3199e2..51bef9a2385a5484a96197755ff47b84112139b8 100644 (file)
@@ -48,7 +48,8 @@ sub split_at_numbered_sections($$$)
     if ($$element{translationof}) {
       $anchor = main::remove_texi($$element{translationof});
     }
-    $anchor =~ tr/\ ?:'/-/d;
+    # FIXME: Use the same file name normalization as makeinfo does!!!
+    $anchor =~ tr/\ ?:'\\\(\)/-/d;
     $$element{id} = $anchor;
     # Numbered sections will get a filename Section_1.1.2, unnumbered sections will use 
     # the file name of the previous numbered section: