You are a guest. Restricted access! Read more.
RTextDoc manual

LaTeX to HTML/XML

You can work with LaTeX documents and convert them to HTML/XML pages. This functionality does not require installed LaTeX. Such conversion has its limitations which are described in Snuggletex web page.

Here is a simple example taken directly from Snuggletex web page.

example.tex
\section*{Welcome to SnuggleTeX!}
 
\begin{itemize}
  \item This is an itemized list.
 
  \item This is some inline maths: $x^2+ y^2 = 1$
 
  \item Some block maths:
        \[ \sum_{n=1}^\infty \frac{1}{n^2} = \frac{\pi^2}{6} \]
        (\textbf{Note}: This currently doesn't display nicely in Firefox 3. Boo\ldots)
 
  \item A $2\times 2$ matrix created via a user-defined command:
        \newcommand{\mat}[4]{\left( \begin{array}{cc} #1 & #2 \\ #3 & #4 \end{array} \right)}
        \[ A = \mat{\alpha}{\beta}{\gamma}{\delta} \]
 
\end{itemize}
 
Here is an example of a SnuggleTeX error message.
You can set it up to display the messages inline (as we have here) or report them in various other ways:

Create a file “test.tex” with these lines, open in RTextDoc and convert to HTML (the menu “Convert→LaTeX to HTML”). You will see a new HTML file in the editor, which is also opened in a Browser.

These examples are taken from Snuggletex project.

latex2html.txt · Last modified: 2013/11/23 18:54 by admin
CC Attribution-Noncommercial 3.0 Unported
Powered by PHP Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0 Valid HTML5