LaTeX, Hypertext, and XML

  • LaTeX documents are compositions of regions.
  • HTML, MathML, OpenOffice, and DocBook also compose documents from regions.
  • In LaTeX and HTML, the end of regions might be implicitly assumed
  • In MathML, OpenOffice, and DocBook, the end of regions must be explicitly specified
  • XML refers to hypertext markup languages that require explicit markups at the end of the regionsa .
  • XML is widely supported by tools
  • XHTML is a XML variant of HTML. It can be requested in the following equivalent mannersb .
    htlatex filename "html,xml"


    htlatex filename "html,xhtml"


    htlatex filename "xhtml"


    xhlatexfilename
\documentclass{article}  
\begin{document}  
  \begin{itemize}  
    \item First item  
    \item Second item  
  \end{itemize}  
\end{document}  
<html>  
  <head>  
     <title>  
       a list  
     </title>  
  </head>  
  <body>  
     <ul>  
       <li>First  
            item  
       <li>Second  
            item  
<html>  
  <head>  
     <title>  
       a list  
     </title>  
  </head>  
  <body>  
     <ul>  
       <li>First  
            item</li>  
       <li>Second  
            item</li>  
     </ul>  
  </body>  
</html>  

7, next, prev, up, toc