<!doctype html public "-//W3C//DTD W3 HTML//EN">
<html><head><style type="text/css"><!--
blockquote, dl, ul, ol, li { padding-top: 0 ; padding-bottom: 0 }
--></style><title>Re: [OS X TeX] LaTeX2html
Basics?</title></head><body>
<div>Thanks for the link to the newer html converter.</div>
<div><br></div>
<div>Unfortunately, I'm still confused. I don't understand
things like "TARGET=opt," "ocamplot" or
"<font face="Courier" color="#000000">Caml
compiler</font>".</div>
<div><br></div>
<div>I've copied the included instructions below. A translation in the
form of: "put file A in location B, etc." would be much
appreciated. (I've unarchived the source file, but don't understand
where to go from there)</div>
<div><br></div>
<div>Many thanks for help.</div>
<div><br></div>
<div>RB</div>
<div><br></div>
<div><br></div>
<div><font face="Courier" color="#000000">INSTALLATION FROM THE SOURCE
DISTRIBUTION<br>
<br>
Download the source distribution<br>
ftp://ftp.inria.fr/INRIA/Projects/para/hevea/hevea-1.10.tar.gz<br>
Or<br>
http://hevea.inria.fr/distri/hevea-1.10.tar.gz<br>
<br>
Unzip,<br>
gunzip hevea-1.10.tar.gz<br>
<br>
Untar,<br>
tar xf hevea-1.10.tar<br>
<br>
Go to the source directory<br>
cd hevea-1.10<br>
<br>
CONFIGURATION<br>
There are a few configuration variables at the
beginning of<br>
the Makefile.<br>
* TARGET<br>
<br>
TARGET=opt makes hevea compile under
ocamlopt, the<br>
Objective Caml compiler that produces
native code. This is<br>
the default.<br>
<br>
TARGET=byte makes hevea compile under
ocamlc, the<br>
Objective Caml compiler that produces
bytecode.<br>
<br>
Using opt, hevea is about three times
as fast than<br>
using byte. However, some Ocaml
installations may only<br>
provide ocamlc.<br>
<br>
* LIBDIR is the library directory of hevea,
that contains<br>
hevea style files. It defaults to
/usr/local/lib/hevea.<br>
<br>
* BINDIR is the directory where to install,
hevea, hacha and<br>
imagen. It defaults to
/usr/local/bin.<br>
<br>
<br>
<br>
<br>
MAKE<br>
Once configuration variables are set, type:<br>
make<br>
<br>
Then, install hevea binary in BINDIR and hevea library
files in LIBDIR <br>
(This might require gaining root privilege)<br>
make install<br>
<br>
<br>
** Note that the hevea.sty file, is simply copied to
LIBDIR.<br>
It remains users responsability to make it
accessible to LaTeX.<br>
Some packagers make additional installation
efforts as regards<br>
this file.<br>
<br>
** hevea build now uses ocamlbuild by default, in case of
trouble,<br>
try: 'make all-make'<br>
<br>
Once hevea is installed, you can remove the sources.<br>
</font></div>
<div><br></div>
<div><br></div>
<div><br></div>
<div><br></div>
<div><br></div>
<blockquote type="cite" cite>Am 23.04.2008 um 07:28 schrieb Richard J
Benish:<br>
<blockquote type="cite" cite>I'd like to convert portions of some
LaTex documents to html and I gather that LaTeX2html is the tool to
use.</blockquote>
</blockquote>
<blockquote type="cite" cite><br>
<br>
You could also start to examine
file:///usr/local/texlive/2007/texmf-dist/doc/generic/tex4ht/index.ht<span
></span>ml. Or: http://pauillac.inria.fr/~maranget/hevea/newdoc/,
available also via Fink. It is quite easily extensible by the user -
which could provide the best HTML code possible!<br>
<br>
TeX Shop provides in
/Applications/TeXShop.app/Contents/Resources/TeXShop/Engines/Inactive<span
></span>/TeX4ht an engine file for TeX4ht.<br>
<br>
--<br>
Greetings<br>
<br>
Pete<br>
<br>
<br>
"Evolution" <span
></span>
o
__o <span
></span> _o
_<br>
°\___o
/0~
-\<, <span
></span> ^\___ /=\\_/-%<br>
oo~_______ /\ /\______/ \_________O/
O_______________o===>-->O--o____<br>
<br>
</blockquote>
<blockquote type="cite" cite><br>
<br>
-------------------------- Helpful Info --------------------------<br>
TeX FAQ: http://www.tex.ac.uk/faq<br>
List Reminders and Etiquette: http://www.esm.psu.edu/mac-tex/list/<br>
List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex<br>
List Archive: http://tug.org/pipermail/macostex-archives/<br>
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/</blockquote>
<div><br></div>
</body>
</html>