Mercurial > hg > Papers > 2012 > sugi-prosym
changeset 37:47e80dcfe316
fix
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 08 Jan 2013 17:52:41 +0900 |
parents | b7fb46ffac37 |
children | b46ef6dc302a |
files | presen/o2s5 |
diffstat | 1 files changed, 66 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/presen/o2s5 Tue Jan 08 17:37:56 2013 +0900 +++ b/presen/o2s5 Tue Jan 08 17:52:41 2013 +0900 @@ -68,6 +68,10 @@ $theme = "i18n"; } elsif (grep(/-b/,@opt)) { $theme = "blue"; + } elsif (grep(/-g/,@opt)) { + $theme = "google"; + $closing = "</article>"; + $opening = '<article>'; } elsif (grep(/-2/,@opt)) { $closing = "</div>"; $opening = '<div class="slide">'; @@ -197,6 +201,10 @@ RogueRogue + if ($theme eq 'google') { + &init_google(); + return; + } if (grep(/-2/,@opt)) { $closing = "</div>"; $opening = '<div class="slide">'; @@ -205,6 +213,64 @@ &init(); } +sub init_google +{ + $init = <<"RogueRogue"; +<!DOCTYPE html> + +<!-- + Google HTML5 slide template + + Authors: Luke Mahé (code) + Marcin Wichary (code and design) + + Dominic Mazzoni (browser compatibility) + Charles Chen (ChromeVox support) + + URL: http://code.google.com/p/html5slides/ +--> + +<html> + <head> + <title>$title</title> + + <meta charset='utf-8'> + <script + src='ui/google/slides.js'></script> + </head> + + <style> + /* Your individual styles here, or just use inline styles if that’s + what you want. */ + + + </style> + + <body style='display: none'> + + <section class='slides layout-regular template-default'> + + <!-- Your slides (<article>s) go here. Delete or comment out the + slides below. --> + + <article> + <h1> + <font size="6">$title</font> + + </h1> + <p>$author + </p> + 琉球大学 並列信頼研究室 + </article> +RogueRogue + + $closing = <<"RogueRogue"; +</Section> +</body> +</html> +RogueRogue +} + sub o2s5 { my ($arg, $current) = @_; my %content = ();