nrao nrao
next up previous contents index home.gif
Next: 3.1 LaTeX2HTML Up: TeX, LaTeX and HTML Tools for Windows PC's Previous: 2.2 Other TeX packages for Windows


3 LaTeX to HTML conversion

A basic TEX package such as MiKTeX supports publication of the document on paper, or on the Web as a passive Postscript or PDF file. It is also increasingly attractive to publish technical documents on the Web with active hyperlinks to other material. There is a role for any package that can convert a single .tex master into high-quality printouts, into single-file Postcript or PDF files, or into an easily-navigable HTML file cluster with active hyperlinks, as required.

Documents prepared in LATEX are well suited for automatic conversion into HTML webs. Table 1 illustrates a mapping between document markup tools provided by LATEX and by HTML. Although LATEX offers precise layout control and mathematical markups that cannot yet be used by most web browsers, it is attractive to generate HTML webs automatically from LATEX source files because

  1. any valid LATEX document is structurally robust, and
  2. its basic structure (as opposed to detailed format) can be mapped uniquely into HTML.


Table 1: LaTeX/HTML Equivalencies
LaTeX HTML
\chapter $<$H1$>$
\section $<$H2$>$
\subsection $<$H3$>$
\subsubsection $<$H4$>$
\par $<$P$>$
\begin{description} $<$DL$>$
\begin{enumerate} $<$OL$>$
\begin{itemize} $<$UL$>$
\item $<$LI$>$
\begin{table} $<$TABLE$>$
\begin{figure} $<$IMG$>$
\emph{text} $<$EM$>$text$<$/EM$>$
\textit{text} $<$I$>$text$<$/I$>$
\textbf{text} $<$B$>$text$<$/B$>$
\texttt{text} $<$TT$>$text$<$/TT$>$
\verb|text| $<$PRE$>$text$<$/PRE$>$
\label{text} $<$A NAME="text"$>$
\ref{text} $<$A HREF="#text"$>$



Subsections
next up previous contents index home.gif
Next: 3.1 LaTeX2HTML Up: TeX, LaTeX and HTML Tools for Windows PC's Previous: 2.2 Other TeX packages for Windows


Home | Contact Us | Directories | Site Map | Help | Search


2001-04-18