SUMMARY: latex2html / netpbm

From: Torsten Mohrbach <mohrbach_at_mpib-berlin.mpg.de>
Date: Fri, 26 Mar 1999 09:12:11 +0100 (MET)

Thanks to the following:

          Richard L Jackson Jr
          Sean O'Connell
          esci
          Richard Bemrose
          Kevin Reardon

The advice I actually followed was that of Richard Jackson
( the main steps were to use the sun makefile, use cc instead of gcc and
to modify pbmplus.h ).

Below are excerpts of the answers and my original question at the end:

############## A N S W E R S ################################

On Wed, 24 Mar 1999, Richard L Jackson Jr wrote:

> Torsten,
>
> >From my notes on 2/2/96 for netpbm and 11/4/98 for latex2html:
>
> - Install Netpbm 1 March 1994
> ftp://ftp.uu.net/systems/window-sys/X/contrib/utilities/netpbm-1mar1994.tar.gz
> PBM=Portable Bitmap
> SEE /usr/local/src/netpbm_1mar1994/FORMATS:
> PBM handles black and white (1 bit).
> PGM handles grayscale.
> PPM handles full-color.
> PNM handles multi-type -- content-independent manipulations on any of the
> three internal formats
> DESCRIPTION:
> -----------------------------
> Netpbm is a toolkit for conversion of images between a variety of
> different formats, as well as to allow a few basic image operations.
> The package is broken up into four parts. First is PBM, for bitmaps (1
> bit per pixel). Then there is PGM, for grayscale images. Next is PPM,
> for full-color images. Last, there is PNM, which does content-independent
> manipulations on any of the three internal formats, and also handles
> external formats that have multiple types.
> The parts are upwards compatible: PGM reads both PGM and PBM files and
> writes PGM; PPM reads all three and writes PPM; and PNM reads all three
> and writes, usually, the same type as it read. Whenever PNM makes an
> exception and "promotes" a file to a higher format, it lets you know.
> -----------------------------
> . cd /usr/local/src/pbmnet_1mar1994
> . cd libtiff
> . cp -p Makefile.sun Makefile
> . modify Makefile (change CFLAGS from -g to -O)
> . cd ..
> . modify Makefile (change cc, add -Olimit 600)
> . modify pbmplus.h (comment out declare of srandom(), random())
> . make >& make.log&
> . mkdir -p /usr/local/netpbm/bin
> . mkdir -p /usr/local/netpbm/man/man1
> . mkdir -p /usr/local/netpbm/man/man3
> . mkdir -p /usr/local/netpbm/man/man5
> . make -n install
> . make install >& make.install
> . catman -w -M /usr/local/netpbm/man
> . make clean
> NOTE:
> . man -P /usr/local/netpbm/man -k gif (for example)
> EVERYTHING INSTALLED INTO /usr/local/netpbm
>
> - install latext2html 96.1
> Official web site
> http://cbl.leeds.ac.uk/nikos/tex2html/doc/latex2html/latex2html.html
> Official ftp site
> ftp://www-dsed.llnl.gov/files/programs/unix/latex2html or
> ftp://ftp.mpn.com/pub/nikos
> Ftp latex2html-98.1.tar.gz, latex2html-98.1p1.tar.gz
> . cd /usr/local/src/latex2html_98.1p1
> . tar xf latex2html-98.1.tar
> . tar xf latex2html-98.1p1.tar
> . chown -R root:system latex2html
> . mv latex2html /usr/local/latex2html_98.1p1
> . cd /usr/local/latex2html_98.1p1
> . cp latex2html latex2html.1
> . modify latex2html.config
> . cp -p icons.gif/* icons.png/* /usr/local/www-ctl/htdocs/latex2html_icons
> Change ICONSERVER in latex2html.config to point to
> http://osf1.gmu.edu/latex2html_icons
> . set path=(/usr/local/netpbm/bin $path)
> . script
> . ./install-test
> . exit
> . mv typescript install-test.log
> STOP HERE: Seems /usr/local/netpbm/bin/* files must be in search path.
> START HERE: 11/6/98
> . mv /usr/local/bin/latex2html /usr/local/bin/latex2html.old
> . cp -p latex2html /usr/local/bin (root.system 755)
> . cp -p latex2html.1 /usr/local/man/man1 (root.system 444)
> NOTES:
> install-test runs configure-pstoimg which builds local.pm which had the
> pathnames.
> TEX NOTES:
> The official web sites for TeX are CTAN, http://tug2.cs.umb.edu/ctan/. CTAN
> stands for Comprehensive TeX Archive Network.
>
>
>

On Wed, 24 Mar 1999, Sean O'Connell wrote:

> I am a big fan of tth (tex to html). The canonical site is
>
> http://hutchinson.belmont.ma.us/tth/
>
>


On Wed, 24 Mar 1999, Richard Bemrose wrote:

> Hi,
>
> The netpbm executable are available from:
> ftp://ftp.europe.digital.com/pub/multimedia/shareware/converters/
>
> Then use GNU's "wget" utility to retrieve files from the WWW.
> (available from http://www.gnu.org/software or a mirror).
>
> I hope this helps.
>
> Regards,
> Rich
>

On Wed, 24 Mar 1999, Kevin Reardon wrote:

>
> Torsten,
>
> Surprisingly enough, I believe the 01 March 1994 version of netpbm is the
> most recent. I have compiled it and it seems to work fine. The installation
> instructions were in the README that came with the distribution. Basically,
> it uses an Imakefile to configure the software. You would run:
> xmkmf ; make Makefiles ; make depend ; make ; make install ; make install.man
>

############## A N S W E R S (END) ############################


############# ORIGINAL QUESTION #############################

dear managers,

does anybody have a running netpbm / latex2html version out there?

I have tried to set up the version 98-1p1 but am stuck with the
compilation of netpbm! The only sources I could find were those dated
Mar 1 1994 and they don't have configure-files nor nearly understandable
makefiles nor ...

there should be a version of netpbm for DU 4.0b out there, shouldn't
there?

Any pointers to such a place would be very welcome!

thanks,
        torsten mohrbach

############# ORIGINAL QUESTION (END) ###########################


-- 
* torsten mohrbach
* mpi for human development ~ center for adaptive behavior and cognition
* lentzeallee 94 ~ 14195 berlin ~ germany
* phone: (+49) 30 82406-351 ~ fax: (+49) 30 82406-394
* net: mohrbach_at_mpib-berlin.mpg.de ~ http://www.mpib-berlin.mpg.de/abc
Received on Fri Mar 26 1999 - 08:14:47 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:39 NZDT