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.3.1 theme 1<br />

report class, main TOC shows only chapters. Chapter 2 has TOC <strong>and</strong> all its sections in one web page, but<br />

chapter 1 has TOC but its sections are each on separate web pagebreak<br />

This is compiled using<br />

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

1. HTML output of this theme is HTML<br />

2. PDF output of this theme is PDF<br />

\documentclass{report}<br />

\setcounter{tocdepth}{0}<br />

\setcounter{secnumdepth}{4}<br />

\usepackage{lipsum}<br />

\usepackage{titletoc}<br />

\begin{document}<br />

51

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

Saved successfully!

Ooh no, something went wrong!