*************** *** 7,16 **** # created 970601 # # version: 2.1 - 971106 # default values of variables $all = 'all.htm'; - $overview = 'overview.htm'; $infos = 'infos.txt'; $logoLink = 'http://www.w3.org/'; $logoFile = '../Icons/w3c_home.gif'; --- 7,22 ---- # created 970601 # # version: 2.1 - 971106 + # + # Hacked by Masayasu Ishikawa - mimasa@w3.org + # 971224 + # # default values of variables $all = 'all.htm'; + $suffix = '.htm'; + $linksuffix = $suffix; + $overview = 'overview'; $infos = 'infos.txt'; $logoLink = 'http://www.w3.org/'; $logoFile = '../Icons/w3c_home.gif'; *************** *** 26,33 **** $author = 'W3C Staff'; $talkTitle = 'W3C Talk'; $cssStandardFiles = '../Tools/w3ctalk-640.css,../Tools/w3ctalk-800.css,../Tools/w3ctalk-1024.css'; - $body = ''; @PARAM = @ARGV; # we keep this for backward compatibility with an old version # of the slidemaker tool --- 32,43 ---- $author = 'W3C Staff'; $talkTitle = 'W3C Talk'; $cssStandardFiles = '../Tools/w3ctalk-640.css,../Tools/w3ctalk-800.css,../Tools/w3ctalk-1024.css'; + $baselang = 'en'; + $charset = 'ISO-8859-1'; + # if you're purist, don't add presentational information in HTML ;-) + # $body = ''; + $body = ''; @PARAM = @ARGV; # we keep this for backward compatibility with an old version # of the slidemaker tool *************** *** 56,64 **** foreach (@PARAM) { split(/ *= */); $cmd="\$$_[0] = \'$_[1]\';"; - if (length $_[1] != 0) { eval($cmd); - } } # fill the css files tables --- 66,75 ---- foreach (@PARAM) { split(/ *= */); $cmd="\$$_[0] = \'$_[1]\';"; + # don't check length to accept null value + # if (length $_[1] != 0) { eval($cmd); + # } } # fill the css files tables *************** *** 70,79 **** # misc initializations if ($authorUrl) { - $author = "$author"; } if ($author2 && $author2Url) { - $author2 = "$author2"; } if ($author2) { $author = $author." & ".$author2; --- 81,90 ---- # misc initializations if ($authorUrl) { + $author = "$author"; } if ($author2 && $author2Url) { + $author2 = "$author2"; } if ($author2) { $author = $author." & ".$author2; *************** *** 95,102 **** print STDOUT "\n--- Processing $total slides ---\n"; - - &openOverview($overview); $slideCount = 1; do { --- 106,113 ---- print STDOUT "\n--- Processing $total slides ---\n"; + $OverView = "$overview$suffix"; + &openOverview($OverView); $slideCount = 1; do { *************** *** 123,146 **** $stylelink = ""; # here is the standard style sheet - $stylelink .= ""; # we overload with the user css if it exists if ($cssUser[$0]) { - $stylelink .= "\n"; } print FOO < - - $talkTitle - Slide list $stylelink - $body -

$talkTitle
- by $author

-
-

Table of contents

-
-
- - - -
\"$logoAlt\"
- - END close(FOO); } else { print FOO < -
- - - -
\"$logoAlt2\" - \"$logoAlt\"
- - END close(FOO); } --- 163,192 ---- { if (length $logoFile2 == 0) { print FOO < + +
+ + + +
$logoAlt
+ + END close(FOO); } else { print FOO < + +
+ + + +
$logoAlt2 + $logoAlt
+ + END close(FOO); } *************** *** 184,190 **** return 1; } print FOO <$_[0] END } --- 199,205 ---- return 1; } print FOO <$_[0] END } *************** *** 209,279 **** $cNumber = $i+1; $cNumber = 0 if ($i == $nbCssStandard-1); - open(SLIDE, ">slide$_[2]-$i.htm"); local($navBar); - $navBar = "\n
\n"; if ($_[2]>1) { - $navBar .= "\"Previous"; } - $navBar = $navBar."\"Table"; if ($_[2] != $total) { - $navBar .= "\"Next"; - $navBar .= "
\"Change
"; } else { - $navBar .= "
\"Change"; } $stylelink = ""; # here is the standard style sheet - $stylelink .= ""; # we overload with the user css if it exists if ($cssUser[$i]) { - $stylelink .= "\n"; } print SLIDE < - - $talkTitle - slide "$_[0]" $stylelink - $body - - - $navBar - -

$_[0]

-
-
$_[1] -
-
- - END if (length $logoFile2 == 0) { print SLIDE <\"W3C\" END } else { print SLIDE <\"$logoAlt2\" - \"$logoAlt\" END } print SLIDE < -

$author

- - END close(SLIDE); --- 224,298 ---- $cNumber = $i+1; $cNumber = 0 if ($i == $nbCssStandard-1); + open(SLIDE, ">slide$_[2]-$i$suffix"); local($navBar); + $navBar = "\n
\n"; if ($_[2]>1) { + $navBar .= "\"Previous"; } + $navBar = $navBar."\"Table"; if ($_[2] != $total) { + $navBar .= "\"Next"; + $navBar .= "
\"Change\n
"; } else { + $navBar .= "
\"Change\n"; } $stylelink = ""; # here is the standard style sheet + $stylelink .= ""; # we overload with the user css if it exists if ($cssUser[$i]) { + $stylelink .= "\n"; } print SLIDE < + + + + $talkTitle - slide "$_[0]" $stylelink + $body + + + $navBar + +

$_[0]

+
+
$_[1] +
+
+ + END if (length $logoFile2 == 0) { print SLIDE <W3C END } else { print SLIDE <$logoAlt2 + $logoAlt END } print SLIDE < +

$author

+ + END close(SLIDE); + ++ Tools/w3ctalk-1024.css Thu Dec 4 17:58:08 1997 *************** *** 41,54 **** margin-bottom: 0em; } - BLOCKQUOTE { font-style: italic; margin-left: 5%; margin-right: 5%; color: #eeffee; } - BLOCKQUOTE SPAN.attribution { font-style: normal; font-weight: bold; } --- 41,55 ---- margin-bottom: 0em; } + BLOCKQUOTE, DIV.toc { font-style: italic; margin-left: 5%; margin-right: 5%; color: #eeffee; } + DIV.toc SPAN.attribution, BLOCKQUOTE SPAN.attribution { font-style: normal; font-weight: bold; } + ++ Tools/w3ctalk-640.css Thu Dec 4 17:43:40 1997 *************** *** 2,8 **** margin-left: 2%; margin-right: 2%; color: #ffffff; - background: #000060; font-size: 24px; font-family: arial, helvetica, sans-serif; } --- 2,9 ---- margin-left: 2%; margin-right: 2%; color: #ffffff; + /* background: #000060; */ + background: url(../9712London-UI/w3c_la3.gif) 50% 50% no-repeat fixed #002b62; font-size: 24px; font-family: arial, helvetica, sans-serif; } *************** *** 41,54 **** margin-bottom: 0em; } - BLOCKQUOTE { font-style: italic; margin-left: 5%; margin-right: 5%; color: #eeffee; } - BLOCKQUOTE SPAN.attribution { font-style: normal; font-weight: bold; } --- 42,55 ---- margin-bottom: 0em; } + BLOCKQUOTE, DIV.toc { font-style: italic; margin-left: 5%; margin-right: 5%; color: #eeffee; } + DIV.toc SPAN.attribution, BLOCKQUOTE SPAN.attribution { font-style: normal; font-weight: bold; } *************** *** 88,94 **** HR.top { margin-bottom: 0.4em; } - HR.bottom { margin-top: 0.4em; } --- 89,95 ---- HR.top { margin-bottom: 0.4em; } HR.bottom { margin-top: 0.4em; } + ++ Tools/w3ctalk-800.css Thu Dec 4 17:50:43 1997 *************** *** 41,54 **** margin-bottom: 0em; } - BLOCKQUOTE { font-style: italic; margin-left: 5%; margin-right: 5%; color: #eeffee; } - BLOCKQUOTE SPAN.attribution { font-style: normal; font-weight: bold; } --- 41,55 ---- margin-bottom: 0em; } + BLOCKQUOTE, DIV.toc { font-style: italic; margin-left: 5%; margin-right: 5%; color: #eeffee; } + DIV.toc SPAN.attribution, BLOCKQUOTE SPAN.attribution { font-style: normal; font-weight: bold; } + ++ Tools/w3ctalk-summary.css Mon Dec 1 07:04:51 1997 *************** *** 41,54 **** margin-top: 20px; } - BLOCKQUOTE { font-style: italic; margin-left: 5%; margin-right: 5%; color: #black; } - BLOCKQUOTE SPAN.attribution { font-style: normal; font-weight: bold; } --- 41,54 ---- margin-top: 20px; } + BLOCKQUOTE, DIV.toc { font-style: italic; margin-left: 5%; margin-right: 5%; color: #black; } + DIV.toc SPAN.attribution, BLOCKQUOTE SPAN.attribution { font-style: normal; font-weight: bold; }