<div dir="ltr"><div class="gmail_default" style="color:rgb(51,102,255)">Hi Nasser,</div><div class="gmail_default" style="color:rgb(51,102,255)">You can try any of the following two methods in my.cfg:</div><div class="gmail_default" style="color:rgb(51,102,255)">
<br></div><div class="gmail_default" style="color:rgb(51,102,255)">Method 1:</div><div class="gmail_default" style="color:rgb(51,102,255)"><br></div><div class="gmail_default" style="color:rgb(51,102,255)">1. Change three "<li>" to "<dd>".</div>
<div class="gmail_default" style="color:rgb(51,102,255)">2. Change "<ul>" and "</ul>" to "<dl>" and "</dl>" respectively.</div><div class="gmail_default" style="color:rgb(51,102,255)">
<br></div><div class="gmail_default" style="color:rgb(51,102,255)">Note: <dl> is used for definition list. <ul> is un-ordered list.</div><div class="gmail_default" style="color:rgb(51,102,255)"><br></div><div class="gmail_default" style="color:rgb(51,102,255)">
Method 2:</div><div class="gmail_default" style="color:rgb(51,102,255)"><br></div><div class="gmail_default" style="color:rgb(51,102,255)">You can also correct this by adding css style. For this you need to change '<ul>' to '<ul style="list-style-type:none;">'.</div>
<div class="gmail_default" style="color:rgb(51,102,255)"><br></div><div class="gmail_default" style="color:rgb(51,102,255)">Can you try this.</div><div class="gmail_default" style="color:rgb(51,102,255)"><br></div><div class="gmail_default" style="color:rgb(51,102,255)">
Regards,</div><div class="gmail_default" style="color:rgb(51,102,255)">Jagath</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 24 July 2013 15:22, Nasser M. Abbasi <span dir="ltr"><<a href="mailto:nma@12000.org" target="_blank">nma@12000.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
The toc generated by tex4ht, in HTML, has too small horizontal<br>
indentation between different levels.<br>
<br>
I'd like the next level to be a little more indented away. i.e.<br>
same way as it appears in the toc generated by pdflatex.<br>
<br>
Looking around, I found this<br>
  <a href="http://compgroups.net/comp.text.tex/table-of-contents-format-with-tex4ht/1909545" target="_blank">http://compgroups.net/comp.<u></u>text.tex/table-of-contents-<u></u>format-with-tex4ht/1909545</a><br>
<br>
with a nice solution by Eitan which I used and it works, except it has<br>
bullets added to each entry. (please see screen shot below)<br>
<br>
I tried to understand the code and remove these bullets while keeping<br>
the better indentation now, but I do not understand how the code works.<br>
<br>
To make it clear, here is a screen shot<br>
<br>
<a href="http://12000.org/tmp/072413/tex4ht_toc.png" target="_blank">http://12000.org/tmp/072413/<u></u>tex4ht_toc.png</a><br>
<br>
The top pic shows the default toc. As you can see, the indentation<br>
is too small (between say section and subsection, etc....)<br>
<br>
12. section<br>
--12.1 subsection<br>
<br>
I'd like to see something like<br>
<br>
12. section<br>
----12.1 subsection<br>
<br>
The second pic, is the pdf toc.<br>
<br>
The 3rd is the result of using Eitan code. And again, I'd like<br>
to ask if there is a way to modify his code, or use different way<br>
or option, to make the indentation larger.<br>
<br>
Here is the code btw, just to be clear, it is in the above link also.<br>
<br>
----- my .cfg -----<br>
.....<br>
\begin{document}<br>
  \ConfigureToc{section}<br>
      {\tocNesting{1}\HCode{<li>}}{ }{}{ }<br>
   \ConfigureToc{subsection}<br>
      {\tocNesting{2}\HCode{<li>}}{ }{}{ }<br>
   \ConfigureToc{subsubsection}<br>
      {\tocNesting{3}\HCode{<li>}}{ }{}{ }<br>
   \Configure{tableofcontents}<br>
      {} {\tocNesting{0}} {} {} {}<br>
<br>
   \newcount\c<br>
   \def\tocNesting#1{%<br>
      \expandafter\ifx \csname level#1\endcsname\relax<br>
          \ifnum #1>0 \HCode{<ul>}\fi<br>
          \expandafter\def \csname level#1\endcsname{\HCode{</ul><u></u>}}<br>
      \fi<br>
      \c=#1 \advance\c by 1<br>
      \loop<br>
        \csname level\the\c\endcsname<br>
        \expandafter\let \csname level\the\c\endcsname\relax<br>
        \advance\c by 1<br>
      \ifnum \c<10   \repeat<br>
   }<br>
------------<br>
<br>
Is it possible to modify the above to just remove those black dots and<br>
the white dots that show up in the table of content?<br>
<br>
thanks,<br>
--Nasser<br>
</blockquote></div><br></div>