[tex4ht] [bug #146] index: div theindex is starting too late

Akim Demaille puszcza-hackers at gnu.org.ua
Thu Sep 1 13:49:05 CEST 2011


URL:
  <http://puszcza.gnu.org.ua/bugs/?146>

                 Summary: index: div theindex is starting too late
                 Project: tex4ht
            Submitted by: akim
            Submitted on: jeudi 01.09.2011 à 11:49
                Category: None
                Priority: 5 - Normal
                Severity: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

Hi!

When generating an index with headings (i.e., a Capital "A" starting the list
of all the entries starting with A, then "B" etc.), the first heading is not
part of the class theindex, which is troublesome to make a nice CSS.

If you run "make" in the following tarball, you'll have an index-heading.html
file which includes the following piece of HTML (edited to be more readable):

{{{
<h3 class="likesectionHead"><a id="x1-1000"></a>Index</h3>
<!--l. 2-->
<p class="noindent"><span class="cmbx-12x-x-120">A</span> </p>
<div class="theindex">
  <span class="index-item">AA, <a href="#x1-2" >1</a> <br /></span>
  <span class="index-item">AB, <a href="#x1-3" >2</a> <br /></span>
  <p class="theindex"><span class="cmbx-12x-x-120">B</span>
    <span class="index-item">BA, <a href="#x1-4" >3</a> <br /></span>
    <span class="index-item">BB, <a href="#x1-5" >4</a> <br /></span>
  </p>
  <p class="theindex"><span class="cmbx-12x-x-120">C</span> 
    <span class="index-item">CA, <a href="#x1-6" >5</a> <br /></span>
    <span class="index-item">CB, <a href="#x1-7" >6</a> <br /></span>
  </p>
</div>
}}}

As you can see, the first heading is handled in a very different way.

Thanks a lot!



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: jeudi 01.09.2011 à 11:49  Name: index-headings.tar.bz2  Size: 773 o  
By: akim

<http://puszcza.gnu.org.ua/bugs/download.php?file_id=109>

    _______________________________________________________

Reply to this item at:

  <http://puszcza.gnu.org.ua/bugs/?146>

_______________________________________________
  Message posté via/par Puszcza
  http://puszcza.gnu.org.ua/



More information about the tex4ht mailing list