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.

htlatex foo_split.tex "htm,0"<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 />

\ifx\HCode\undefined \else<br />

\CutAt{section} % tell is to cut as if we did "htm,2", make<br />

\fi<br />

% section separate<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 />

another is (thanks to Radhakrishnan) is<br />

60

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

Saved successfully!

Ooh no, something went wrong!