HTML-Based Examples

\documentclass{article}  
  \usepackage{makeidx}   \makeindex  
  \title{An Example}  
  \author{Some One}  
\begin{document}  
  \maketitle  
  \section{A Title}       Some \index{content} content.  
  \section{Another Title} Another  
                              \index{content} content.  
     \subsection{More}        \index{Text}    Text.  
     \subsection{Some Math}  
       \[x = \left\{ \begin{array}{ll}  
                 {-b \pm \sqrt{b^2-4ac} \over 2a}  
                 & \mbox{if $b^2 \geq 4ac$} \\  
                 \mbox{undefined} & \mbox{otherwise}  
                \end{array}  
             \right. \]  
  \printindex  
\end{document}  

pdflatex tug-03-ex

PDF


xhlatex tug-03-ex

Flat HTML


xhlatex tug-03-ex "html,3"

Paginated HTML


xhlatex tug-03-ex "html,3,frames"

HTML with frames


htlatex tug-03-ex "html,3,3.2,javahelp"

JavaHelp snapshots: 1, 2, prg

5, next, prev, up