Index of /~fujiik/mklinux/Packages/dr2.1/shared/latex2html

[ICO]NameLast modifiedSizeDescription

[PARENTDIR]Parent Directory   -  
[   ]latex2html-97.1-1.pp..>1998-01-14 16:30 892K 
[DIR]SPECS/ 1998-01-14 17:41 -  
[   ]latex2html-97.1-2.pp..>1998-01-19 23:10 905K 

MkLinux Installation Notes(English)

Descriptions of the Current Directory

LaTeX2HTML: LaTeX to HTML Converter


[0] News

[1] Origin

http://www-dsed.llnl.gov/files/programs/unix/latex2html/sources/latex2html-97.1.tar.gz

[2] How to Build LaTeX2HTML

LaTeX2HTML requires the PTeX package by Uchiyama, netpbm, and perl. Once these are installed, you can do
# cd /usr/local/share/texmf
# tar -zxvf <somewhere>/latex2html-97.1.tar.gz
# cd latex2html-97.1
# vi latex2html.config
...
$LATEX = "platex"
...
# ./install-test
... hit returns as many times as required.
# ./install-test
... hit returns as many times as required.
g ... to use GIF.
... hit returns as many times as required.
# mv latex2html /usr/local/bin

I have prepared an RPM package using

latex2html.spec
I was lazy and thus no SRPM is available.

[3] How to Install LaTeX2HTML

LaTeX2HTML requires the PTeX package by Uchiyama, netpbm, and perl. See this for installation instructions. Installations of netpbm and perl are much easier:
# rpm -i <somewhere>/perl-5.004_04jp971016-1A.ppc.rpm
# rpm -i <somewhere>/netpbm-1mar1994-15A.ppc.rpm
If your system complains about libpng.so.1 being missing, make sure that you have some version of libpng.so:
# ls -F /usr/lib/libpng*
/usr/lib/libpng.a
/usr/lib/libpng.so@
/usr/lib/libpng.so.0@
/usr/lib/libpng.so.0.96*
then try
# (cd /usr/lib; ln -s libpng.so.0.96 libpng.so.1)
# ls -F /usr/lib/libpng*
/usr/lib/libpng.a
/usr/lib/libpng.so@
/usr/lib/libpng.so.0@
/usr/lib/libpng.so.0.96*
/usr/lib/libpng.so.1@
At this point, you can retry the installation of "netpbm" with "--nodeps" option:
# rpm -i --nodeps <somewhere>/netpbm-1mar1994-15A.ppc.rpm
since "libpng.so.1" now exists but does not belong to any RPM package.
If the symbolic link did not work either, you may need to prepare libpng.so.1 as a wrapper:
# cd /usr/lib
# rm libpng.so.1
# ld -shared -soname libpng.so.1 -o libpng.so.1 libpng.so.0.96

latex2html-97.1-2 is not going to use the Japanese perl. Nevertheless, it is a good idea to update the Japanese perl, since the previous version has a problem with dynamic loading

# rpm -i --nodeps <somewhere>/latex2html-97.1-2.ppc.rpm
where "--nodeps" is required since the static version of perl coming with DR2.1 does not belong to any RPM package.

[4] Usage

To convert a LaTeX file, foobar.tex to HTML, do:
$ latex2html -local_icons foobar.tex
This creates a directory named "foobar" containing html and associate image files.

Try

$ latex2html -h
to get help.

[5] Known Problems


Back to Keisuke Fujii's MkLinux Page
fujiik@jlcuxf.kek.jp Jan. 14, 1998