#!/usr/bin/env ruby
#
# 表題: ape お絵描きサムネイル HTML 作成スクリプト
#
# 履歴: 2003/09/28 やまだ由 
#       2004/02/18 やまだ由 ($head 付加)
#
# 注意: 本プログラムは, 
#       dcphoto.pl Ver 1.02 - 写真用 HTML作成スクリプト
#       Mitsuda Chihiro   <totera@ep.sci.hokudai.ac.jp>
#       を ruby で写経し, やまだ由用にカスタマイズしたものである 
#
#
#
#

END{

# rd のみの出力
#apethum_rd 
# html も出力
apethum

}


########################################################
##  ユーザ設定
########################################################


# インデックスファイル  $PWD/../html/${index}.html, $PWD/../html/table_${index}.rd
$index = "misc-test"

# 情報ファイル, $PWD/${infofile}
$infofile = $index + ".txt"

# 拡張子
$base = ".gif"

# 接頭子
$head = ""

# 絵のあるディレクトリ名, $PWD/../${figdir}
$figdir = "misc"

# 横にならべるファイル数

# $figtable_num = 5
# $figtable_num = 3
$figtable_num = 4


#画像ファイルサイズ

# $width  = "160"
# $height = "120"

$width  = "200"
$height = "150"

# $width  = "280"
# $height = "210"

# テーブル, フォントの色
$color_table   = "#ADD8E6" 
$color_font    = "#000080" 
$color_link    = "#269900" 
$color_visited = "#269900" 
$color_hover   = "#99FF33" 

# html ヘッダタイトル
$title  = "wave-CISK spectral model; テストお絵描きのいろいろ"

# サムネイルタイトル
$header1 = $title 
$header2 = "<br>モデル作成中のパラメタ変更メモ (バグが多々あった頃 ??)"

# サムネイルフッタ ;
$footer = "Last update: #{Time.now} <br> 
           Copyright &copy; GFD Dennou Club 2004 (YAMADA Yukiko)"


########################################################
##  include ファイル
########################################################

require 'date'
require '/home/yukiko/lib/ape-thum.rb'
$KCODE = "e"








