LATEX Conversion Example

 

To show the effect of using HEVEA, TTH, TeX4ht, LATEX2HTML I have used TEX Converter to convert sample.tex, which was written using Scientific Notebook.

No special style files or settings (which may improve the results) were used, and the results have not been enhanced in any way.

As you will see they do a difficult job well but in different ways. If you use all four then you can cut and paste to take the best of each.

TEX Converter makes these sort of comparisons simple to do.

You may also like to compare these results with IBM's techexplorer Hypermedia Browser on samptci.tex
(samptci.tex is almost the same as sample.tex but without the reference to tcilatex.tex, which would confuse techexplorer)
Here is a screenshot of techexplorer's output in Internet Explorer 5.5

Another example

Dutch medical site. This shows how TeX4ht can be used to produce a series of linked pages with frames, table of contents, graphics and references.

Using Animated Gifs (Carmen Fierro). By adding a little code to Tex4ht, one can automatically convert several plots into an animated gif, which is great for showing convergence/approximation, as in Gráficas Animadas (Hoja 15)  which is the converted file. As the images are not floats, Tex handles them without any problem.
(Requires Mathplayer which can be downloaded here)

The Transcendence of p
A longer example - again the results have not been enhanced

HEVEA

TTH

TeX4ht

LATEX2HTML

Error log

Error log

Log

Log

Scientific Workplace/Notebook version 4 has introduced an Export to HTML option. It is discussed, with examples and comparisons with TeX4ht and HEVEA, at HTML with SWP Version 4.0

Comparisons of Conversion Programs

Home to TEX Converter


HEVEA



Sample LATEX Conversion to HTML

 
Example 1

ó
õ

1

 

0

x4

(

1-x

)

4

 

 

1+x2

dx=

22

7

-p

 
You could define a mathematician to be someone who finds this result delightful.

Example 2

z

(

s

)

=å

1


ns

=Õ

(

1-p-s

)

-1

 
where z is the Greek letter zeta.

Example 3

This is a particularly difficult example to convert to HTML

p


2

=

1


Ö

1


2

Ö

1


2

+

1


2

Ö

1


2

Ö

1


2

+

1


2

Ö

1


2

+

1


2

Ö

1


2

...

 


This document was translated from LATEX by HEVEA.


TTH

Sample LATEX Conversion to HTML

Example 1

ó
õ

1

0 

x4( 1-x) 4


1+x2

dx =

22


7

-p

You could define a mathematician to be someone who finds this result delightful.

Example 2

z( s) =

å

1


ns

=

Õ

( 1-p-s)-1

where z is the Greek letter zeta.

Example 3

This is a particularly difficult example to convert to HTML

p


2

=

1


  æ
 ú
Ö


1


2
 

  æ
 ú
Ö


1


2

+

1


2

Ö


1/2
 
 

  æ
 ú
Ö


1


2

+

1


2

Ö


1/2+ 1/2Ö{ 1/2}
 
 

¼


File translated from TEX by TTH, version 2.25.
On 24 Dec 1999, 11:51.


TeX4ht

Sample LATEX Conversion to HTML

Example 1

 integral  1x4-(1---x4)     22-
 0   1 + x2   dx =  7 -  p

You could define a mathematician to be someone who finds this result delightful.

Example 2

        sum   1     prod  (     -s)-1
z (s) =   --s =     1-  p
          n

where z is the Greek letter zeta.

Example 3

This is a particularly difficult example to convert to HTML

p                      1
--=  --------------------------------------
2     V~  1 1    1 V~  1  1   1   1   1 V~  1
       - V~ --+  -- - V~  --+ - V~  -+  -- --...
       2  2    2  2   2   2   2   2  2


LATEX2HTML

Sample LATEX Conversion to HTML

Example 1

$\displaystyle \int_{0}^{1}$$\displaystyle {\dfrac{x^{4}\left( 1-x^{4}\right) }{1+x^{2}}}$dx = $\displaystyle {\textstyle\dfrac{22}{7}}$ - $\displaystyle \pi$

You could define a mathematician to be someone who finds this result delightful.

Example 2

$\displaystyle \zeta$$\displaystyle \left(\vphantom{ s}\right.$s$\displaystyle \left.\vphantom{ s}\right)$ = $\displaystyle \sum$$\displaystyle {\dfrac{1}{n^{s}}}$ = $\displaystyle \prod$$\displaystyle \left(\vphantom{ 1-p^{-s}}\right.$1 - p-s$\displaystyle \left.\vphantom{ 1-p^{-s}}\right)^{-1}_{}$

where $ \zeta$ is the Greek letter zeta.

Example 3

This is a particularly difficult example to convert to HTML

$\displaystyle {\dfrac{\pi }{2}}$ = $\displaystyle {\dfrac{1}{\sqrt{\dfrac{1}{2}}\sqrt{\dfrac{1}{2}+\dfrac{1}{2}%%
\...
...2}+\dfrac{1}{2}\sqrt{\dfrac{1}{2}+\dfrac{%%
1}{2}\sqrt{\dfrac{1}{2}}}}\ldots }}$


26 December 2001