13.11.2015 Views

my Latex and Tex4ht cheat sheet

my Latex cheat sheet - 12000.org

my Latex cheat sheet - 12000.org

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

3.7 removing the extra TOC on main page<br />

Problem: Running this generates an extra TOC<br />

htlatex foo.tex "htm,2"<br />

%--------------<br />

\documentclass{article}%<br />

\usepackage{ifpdf}<br />

\usepackage{lipsum}<br />

\begin{document}<br />

\title{test toc}<br />

\author{me}<br />

\date{\today}<br />

\maketitle<br />

\tableofcontents<br />

\section{section 1}<br />

\lipsum{1}<br />

\subsection{subsection 1}<br />

text<br />

\section{section 2}<br />

\lipsum{1}<br />

\section{section 3}<br />

\lipsum{1}<br />

\end{document}<br />

One solution is this:<br />

59

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!