How to extract the picture from The Stanford GraphBase

Install Knuth's CWEB.

mkdir cweb
cd cweb
tar xvzf cweb.tar.gz

Edit the Makefile:

$ diff Makefile.orig Makefile
21c21
< MACROSDIR= /usr/local/texmf/tex/generic
---
> MACROSDIR= /usr/local/share/texmf/tex/generic
31c31
< MANDIR= /usr/man/man$(MANEXT)
---
> MANDIR= /usr/local/man/man$(MANEXT)
37c37
< EMACSDIR= /usr/local/emacs/lisp
---
> EMACSDIR= /usr/local/share/emacs/site-lisp/

Then:

touch *.c
make all
make install

Run mktexlsr or texhash if necessary.

Install Knuth's The Stanford GraphBase.

mkdir sgb
cd sgb
tar xvzf sgb.tar.gz
make tests
make install
make installdemos

Then:

assign_lisa -p >lisa.pgm

Edit lisa.pgm (insert the P2 250 360 255 line on top and delete garbage).


Haruhiko Okumura

Last modified: 2004-05-26 16:41:08