<div dir="ltr"><div dir="ltr"><div>Hi Nasser,</div><br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
> When I am at a top page, say index.htm and then when I click on<br>
> link to another page on same site also produced by tex4ht<br>
> such as<br>
> <br>
>       indexpart2.htm<br>
> <br>
> The new page opens not at the very top showing the navigation<br>
> bars that tex4ht adds automatically, but opens the new page at<br>
> little lower level, now showing the navigation bars, ending up<br>
> at something like<br>
> <br>
>             indexpart2.htm#x4829-4828000II<br></blockquote><div><br></div><div>Toc links always point directly to the section titles. As there are usually  multiple sections on each page, you couldn't link to individual sections otherwise. <br></div><div><br></div><div>If you have TOC that links only to chapters that are alway on a separate page, you can try this configuration:</div><div><br></div><div>%%%%%%%%%%%%%%%%%%%%%%%%%<br></div><div>\Preamble{xhtml}<br><br>\Configure{TocLink}{\Link[\LikeRef{cutfile \LikeRef{fileidcut #1}(L }]{}{#3} #4\EndLink}<br><br>\begin{document}<br>\EndPreamble</div><div>%%%%%%%%%%%%%%%%%%%%%%%%%</div><div><br></div><div>Best regards,</div><div>Michal<br></div></div></div>