html2latex

Converts HTML to LaTeX files. Comes in a C version (0.9c) and an entirely different Perl version (1.1). More at G.Partosch's site on converters.

Compilation (V0.9c)

Straightforward. It might be necessary to remove the MS-DOS carriage returns from the text files and/or slightly adapt the sources. Adapt src/makefile:
CC = cc
CFLAGS = -O -Ae -DXMOSAIC   # HP-UX 10.20
CFLAGS = -O2 -D_LARGE_FILES # AIX >= 4.2
The original makefile doesn't come with an installation section, thus one may also add (for example):
PREFIX=/tmp/html2latex-0.9c
install: all
	mkdir -p $(PREFIX)/bin; cp -p $(EXETARGET) $(PREFIX)/bin
	mkdir -p $(PREFIX)/lib; cp -p $(LIBTARGET) $(PREFIX)/lib
	mkdir -p $(PREFIX)/doc; cp -p $(DOCTARGET) $(PREFIX)/doc

Then

cd src
make -f makefile clean
make -f makefile 
make -f makefile install

Installation & configuration


Last update: 5-Sep-2011, M.Kraemer