#!/bin/sh

wjn=/home/jettero/www/jneural/
wjnd=${wjn}/jneural_doc/

if [ -d ${wjnd} ]; then
    rm -rf ${wjnd}
fi

if [ -d ${wjn} ]; then
    make
    latex2html \
        -t Jet\'s\ Neural\ Library \
        -white \
        -split +2 \
        -toc_depth 1 \
        jneural_doc.tex
    mv jneural_doc ${wjn}
fi

#This is LaTeX2HTML Version 98.1p1 release (March 2nd, 1998)
#originally by Nikos Drakos, Computer Based Learning Unit, Univ. of Leeds.
#Usage:
#latex2html
#   [-split num]
#   [-link num]
#   [-toc_depth num]
#   [-short_extn]
#   [-iso_language]
#   [-nolatex]
#   [-no_fork]
#   [-external_images]
#   [-ps_images]
#   [-font_size (10pt | 11pt | 12pt | ...)]
#   [-no_tex_defs]
#   [-ascii_mode]
#   [-t top_page_title]
#   [-dir output_directory]
#   [-no_subdir]
#   [-address author_address]
#   [-long_titles num ]
#   [-custom_titles]
#   [-no_navigation]
#   [-top_navigation]
#   [-bottom_navigation]
#   [-auto_navigation]
#   [-index_in_navigation]
#   [-contents_in_navigation]
#   [-next_page_in_navigation]
#   [-previous_page_in_navigation]
#   [-prefix output_filename_prefix]
#   [-auto_prefix]
#   [-up_url up_url]
#   [-up_title up_title]
#   [-down_url down_url]
#   [-down_title down_title]
#   [-prev_url prev_url]
#   [-prev_title prev_title]
#   [-index index_url]
#   [-biblio biblio_url]
#   [-contents toc_url]
#   [-external_file external.aux_file]
#   [-info string]
#   [-no_auto_link]
#   [-discard]
#   [-reuse reuse_option]
#   [-no_reuse]
#   [-no_images]
#   [-no_math]
#   [-images_only]
#   [-antialias]
#   [-no_antialias]
#   [-antialias_text]
#   [-no_antialias_text]
#   [-white]
#   [-no_white]
#   [-local_icons]
#   [-scalable_fonts]
#   [-show_section_numbers]
#   [-numbered_footnotes]
#   [-no_footnode]
#   [-init_file Perl_file]
#   [-html_version (2.0|3.0|3.2)[,(math|i18n|table)]*]
#   [-short_index]
#   [-unsegment]
#   [-debug]
#   [-ldump]
#   [-tmp]
#   [-timing]
#   [-verbosity num]
