#!/usr/bin/env ruby
#
#= dcmodel thumnail generate ruby script
#
#  Editor :: yot
#  Version:: 2009/07/05 13:01:18
#
#== Overview
#
#This file is generate by following ruby script automatically.
#
#      /work02/yot/work/dcmodel/dcpam/tools/draw/dcmodel-thum.rb
#
#Please edit this file according to your purpose.
#
#== Usage
#
#
##################################################

require "/work02/yot/work/dcmodel/dcpam/tools/draw/dcmodel-thum.rb"

######################################################
if $0 == __FILE__ then
  thumb = DCModelThumbnail.new

#  thumb.copyright = "GFD Dennou Club"
  thumb.index     = "../htmlname"
#  thumb.index_ext = ".htm"
  thumb.infofile  = "htmlname.txt"
#  thumb.ext_list.push("bmp")
#  thumb.headlimit = "headlimit_"
#  thumb.figdir    = "../figdir"
#  thumb.css       = "/GFD_Dennou_Club/ftp/arch/dcmodel/htmltools/dcmodel.css"
#  thumb.rd2_path  = "/usr/bin/rd2"
#  thumb.rd2htmlextlib = "/GFD_Dennou_Club/ftp/arch/dcmodel/lib"
#  thumb.img_width  = 200
#  thumb.img_height = 150
#  thumb.figtable_num = 3
#  thumb.html_author  = "yot"
  thumb.title     = "タイトル"
  thumb.message   = Array.new
  thumb.message   << <<-MSG
=begin
[((<地球流体電脳倶楽部|URL:http://www.gfd-dennou.org>))]
[((<dcmodel|URL:http://www.gfd-dennou.org/arch/dcmodel>)) |
((<dcmodel-tools|URL:http://www.gfd-dennou.org/arch/dcmodel/bin>))]

= タイトル

== 目次

=== 中目次

 * リスト
   * 小項目

 * ((<情報ファイルへのリンク|URL:thum/htmlname.txt>))
 * 画像ファイルへのリンク((<URL:figdir>))
=end


  MSG

  thumb.message   << <<-MSG
=begin RT
caption = 表テスト

     , 人間, == , 犬 , ==
 ||  , 男  , 女 ,オス,メス

  x  , 1.0 , 2.0, 1.1, 1.2
  y  , 0.4 , 0.5, 0.3, 0.1

=end

  MSG

  thumb.message   << <<-MSG
    <br>
    実験設定などはここに書き込む.  <br>
    ここに書いた文字はセンタリングされてしまう.  <br>
    ちょっと恰好悪い. <br><br>
    <table BORDER=\"0\" cellspacing=\"10\" align=\"center\">
    <tr><td><small>
    テーブルをさらに作ってその中に書き込む. <br>
    そうするとこんな感じ. 
    </small></td></tr></table>
    <br><br>
    [<a href =\"http://www.gfd-dennou.org/arch/dcmodel\">HOME</a>]
    <hr>

  MSG
  thumb.create
end

