[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Texi2html-bug] All lists get a class="toc" and thus no bullets...
From: |
Reinhold Kainhofer |
Subject: |
[Texi2html-bug] All lists get a class="toc" and thus no bullets... |
Date: |
Sun, 16 Mar 2008 21:56:56 +0100 |
User-agent: |
KMail/1.9.6 |
Hi,
In lilypond's documentation we use some unordered list, but unfortunately,
*all* lists are formatted as <ul class="toc">, which makes them appear
without a bullet. An example is:
@itemize
@item
If no octave changing mark is used on a pitch, its octave is calculated
so that the interval with the previous note is less than a fifth. This
interval is determined without considering accidentals.
...
@end itemize
The sample output can be found at:
http://kainhofer.com/~lilypond/texi2html-out/Writing-pitches.html#Relative-octave-entry
As you can see, the @itemize is converted to
<ul class="toc">
<li>
If no octave changing mark is used on a pitch, its octave is calculated
so that the interval with the previous note is less than a fifth. This
interval is determined without considering accidentals.
...
</ul>
The culprit is:
sub t2h_default_table_list($$$$$$)
{
[...]
if ($format eq 'itemize')
{
return "<ul>\n" . $text . "</ul>\n" if ($command eq 'bullet');
return "<ul$TOC_LIST_ATTRIBUTE>\n" . $text . "</ul>\n";
}
}
So, should this really insert TOC_LIST_ATTRIBUTE? If yes, how can I make
bullets appear in non-TOC lists?
Cheers,
Reinhold
--
------------------------------------------------------------------
Reinhold Kainhofer, Vienna University of Technology, Austria
email: address@hidden, http://reinhold.kainhofer.com/
* Financial and Actuarial Mathematics, TU Wien, http://www.fam.tuwien.ac.at/
* K Desktop Environment, http://www.kde.org, KOrganizer maintainer
* Chorvereinigung "Jung-Wien", http://www.jung-wien.at/
- [Texi2html-bug] All lists get a class="toc" and thus no bullets...,
Reinhold Kainhofer <=