Tell me more ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

When I run Latex2html on latex file, the table of content generated in the HTML file, has bullets to the left of each section.

Like this:

o  this_is_section_one
o  this_is_section_two

If I use the option -show_section_numbers then the bullets remain and next to them I see the section numbers, like this

o  1. this_is_section_one
o  2. this_is_section_two

What I want the table of contents to look like, is just with section numbers. No Bullets, like this

1. this_is_section_one
2. this_is_section_two

I do not know how to get rid of the bullets.

The commands I tried are

latex2html -split 4 KERNEL.tex 
latex2html -split 4 -show_section_numbers KERNEL.tex 

In the latex file itself, I tried with \tableofcontents and without \tableofcontents. I still get the bullets.

question is: How to get rid of the bullets? I hope there is an option or a flag for this, but looking at the man page for Latex2html, I do not see it. Will keep trying, but thought to ask here in case someone knows.

thanks

share|improve this question

1 Answer

up vote 2 down vote accepted

The problem is that the list-items have bullets by default in HTML files - expanding the LaTeX list-items bulleting/numbering.

To get rid of that default bullets from all of the lists, you need to modify the CSS file which was generated by LaTeX2HTML. Add the following code snippet to this file:

ul {
    list-style-type: none;
}

(I have not used LaTeX2HTML, but come up against the same problem while working with TeX4ht.)

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.