[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
remove duplicate anchor generation in texi2html
From: |
Graham Percival |
Subject: |
remove duplicate anchor generation in texi2html |
Date: |
Mon, 28 Dec 2009 22:26:18 +0000 |
The below patch stops texi2html from creating two anchors, making the
webpage navigation much more comfortable. However, it also makes the
TOC navbars disappear. Valentin, could you fix the CSS so they don't
vanish?
Cheers,
- Graham
diff --git a/Documentation/lilypond-texi2html.init b/Documentation/lilypond-texi
index 1ff5d8a..2ca1a67 100644
--- a/Documentation/lilypond-texi2html.init
+++ b/Documentation/lilypond-texi2html.init
@@ -733,7 +733,10 @@ sub lilypond_element_target_name($$$)
# TODO: Once texi2html correctly prints out the target and not the id for
# the sections, change this back to ($id, $target)
$target = lc($target);
- return ($target, $target);
+
+# removes duplicate anchor generation
+ return ($target, "");
+# return ($target, $target);
}
- remove duplicate anchor generation in texi2html,
Graham Percival <=