[tex4ht] [bug #146] index: div theindex is starting too late
CV Radhakrishnan
puszcza-hackers at gnu.org.ua
Sat Sep 3 12:26:09 CEST 2011
Follow-up Comment #3, bug #146 (project tex4ht):
Dear Akim,
It is perfectly OK to call me, CV or CVR or whatever is convenient to you.
I got your problem precisely. For some reason, the first heading gets out of
the <div class="idx">. We might now employ another configure hook:
We will nullify the first two hooks of \Configure{theindex}
\Configure{theindex}
{}%\Tg<div class="idx">} % before env
{}%\Tg</div>} % after env
{\Tg<p class="idx">} % before item
{\Tg</p>} % after item
{\Tg<p class="subidx">} % before subitem
{\Tg</p>} % after subitem
{\Tg<p class="ssubidx">} % before subsubitem
{\Tg</p>} % after subsubitem
{\Tg<p class="idxsp">\Tg</p>} % at-index space
Instead, we will use:
\ConfigureEnv{theindex}{\Tg<div class="index">}
{\Tg</div>}
{}{}
With the new setup, I got the following result which was what you wanted:
<h3 class="likesectionHead"><a id="x1-1000" name=
"x1-1000"></a>Index</h3>
<div class="index">
<p class="noindent"></p>
<h4 class="likesubsectionHead"><a id="x1-2000" name=
"x1-2000"></a>A</h4>
<p class="idx">AA, <a href="index-headings.html#x1-2">1</a></p>
...
...
<h4 class="likesubsectionHead"><a id="x1-5000" name=
"x1-5000"></a>I</h4>
<p class="idx"><!--l. 18--></p>
<p class="noindent">index-headings.html, <a href=
"index-headings.html#x1-2">7</a>, <a href=
"index-headings.html#x1-4">8</a>, <a href=
"index-headings.html#x1-6">9</a></p>
</div>
Hope, this helps you.
_______________________________________________________
Reply to this item at:
<http://puszcza.gnu.org.ua/bugs/?146>
_______________________________________________
Message sent via/by Puszcza
http://puszcza.gnu.org.ua/
More information about the tex4ht
mailing list