--- manual/Makefile 2001/11/13 20:23:27 1.5 +++ manual/Makefile 2002/02/28 19:32:19 1.9 @@ -9,10 +9,11 @@ make tex tex: - latex manual + TEXINPUTS=.:::texinputs latex manual bibtex manual - latex manual - latex manual | tee warnings + TEXINPUTS=.:::texinputs latex manual + TEXINPUTS=.:::texinputs latex manual | tee warnings +# TEXINPUTS=.:::texinputs latex manual ps: manual.ps pdf: manual.pdf @@ -22,5 +23,40 @@ manual.pdf: manual.ps ps2pdf -dMaxSubsetPct=100 -dCompatibilityLevel=1.2 -dSubsetFonts=true -dEmbedAllFonts=true manual.ps manual.pdf +# Note - the noantialias option here does not affect the gif images +# that are generated. However, it does make ppmquant to run in +# a way that leaves out the -floyd option. This option +# causes problems with some figures. If you really want +# to use -antialias then you need to turn off the -floyd option. +# To do this either +# 1. edit the pstoimg script that comes with latex2html +# 2. rename /usr/bin/ppmquant to /usr/bin/ppmquant.orig and +# create a shell script that calls /usr/bin/ppmquant.orig +# with just the option -256. +# e.g. +# mv /usr/bin/ppmquant /usr/bin/ppmquant.orig +# cat > /usr/bin/ppmquant <support@mitgcm.org" -local_icons manual + latex2html -image_type gif -split 5 -show_section_numbers -link 2 -address "support@mitgcm.org" -local_icons -noantialias -white manual + cd manual; tar -czf ../mbkup.tz . + cd manual; ../tools/make_mail_subjects.sh + cd manual; ../tools/figsub.sh + cd manual; ../tools/fix_docref_target.sh + cd manual; tar -czf ../manual.tz . + cd /homes/cnh/SEALION_RELEASE/website/online_documents/manual; tar -xzf /homes/cnh/SEALION_RELEASE/manual/HEAD/manual.tz +# tar -czf ol.tz on-line-figs + +html2: + cd manual; tar -xzf ../mbkup.tz . + cd manual; ../tools/make_mail_subjects.sh + cd manual; ../tools/figsub.sh + cd manual; ../tools/fix_docref_target.sh + cd manual; tar -czf ../manual.tz . + cd /homes/cnh/SEALION_RELEASE/website/online_documents/manual; tar -xzf /homes/cnh/SEALION_RELEASE/manual/HEAD/manual.tz +# tar -czf ol.tz on-line-figs +