On Wed, 9 Jun 2004, Jason Holt wrote: > > Whew. That was a fun hack. Here: > > http://www.lunkwill.org/tmp/warddir.tgz > > is a set of scripts that will take the saved picture directories that lds.org > generates for ward websites and typeset them in LaTeX for printing. > Especially useful for singles wards. Enjoy!
Oh yeah, forgot the requirements. Here's the README: This is an extremely quick and ugly hack which scrapes the picture directory from lds.org and converts it into a .tex file which makes for much nicer printing. If anybody uses it, I might even improve it over time, so you had better email me if you do. Jason Holt <[EMAIL PROTECTED]> Requires: Perl The Image::Magick perl module (debian users: apt-get install perlmagick) ImageMagick's "convert" utility LaTeX Probably some assorted TeX utilities for converting .tex to .pdf A .pdf viewer: xpdf or Acrobat To use: Uncompress into a directory Load lds.org in Mozilla, and go to your ward web site Select "picture directory", then Save as... Web page (complete) Save it as picdir.html in the directory you uncompressed into (Mozilla will create a picdir_files/ with all the images and change all the links in the .html. Neat, eh?) Convert all the .jpg pics to .ps. Takes a long time (and a lot of disk space): Run cd picdir_files ; ../jpg2ps.pl Generate the .tex: Run dir.pl picdir.html Hopefully it'll generate a file called warddir.tex Run latex warddir.tex Run dvipdf warddir.dvi Run xpdf warddir.pdf ____________________ BYU Unix Users Group http://uug.byu.edu/ ___________________________________________________________________ List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list
