convert html2latex with sed  -e "s/< *h2 *>\([^<]\+\)<\/.*/\\\section{\1}/" -e "s/< *h3 *>\([^<]\+\)<\/.*/\\\subsection{\1}/"  -e "s/< *h4 *>\([^<]\+\)<\/.*/\\\subsubsection{\1}/"  -e "s/< *h5 *>\([^<]\+\)<\/.*/\\\paragraph{\1}/" -e "s/<ul>/\\\begin{itemize}/"  -e "s/<\/ul>/\\\end{itemize}/" -e "s/<li>/\\\item /"  -e "s/<\/li>//" index.html &> index.tex