cbf13ad57a
Bump version number. Also update to a faster method of loading MathJax (thanks to Davide Cervone for assistance).
49 lines
2 KiB
Plaintext
49 lines
2 KiB
Plaintext
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0 plus SVG 1.1//EN" "http://www.w3.org/2002/04/xhtml-math-svg/xhtml-math-svg-flat.dtd" >
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
|
|
<head>
|
|
<title><%=@page.plain_name%></title>
|
|
<!-- metadata -->
|
|
<meta name="generator" content="Instiki" />
|
|
<meta name="version" content="<%= "#{Instiki::VERSION::STRING}" %>" />
|
|
<meta name="author" content="<%=@page.author%>" />
|
|
<meta name="company" content="" />
|
|
<!-- configuration parameters -->
|
|
<meta name="defaultView" content="slideshow" />
|
|
<meta name="controlVis" content="hidden" />
|
|
<!-- style sheet links -->
|
|
<%= stylesheet_link_tag "/stylesheets/syntax.css", :media => 'all', :id => 'syntaxStyle' %>
|
|
<%= stylesheet_link_tag "/s5/ui/core/outline.css", :media => 'screen', :id => 'outlineStyle' %>
|
|
<%= stylesheet_link_tag "/s5/ui/core/print.css", :media => 'print', :id => 'slidePrint' %>
|
|
<%= stylesheet_link_tag "/s5/ui/core/opera.css", :media => 'projection', :id => 'operaFix' %>
|
|
<%= stylesheet_link_tag "/s5/ui/core/math.css", :media => 'all', :id => 'mathStyle' %>
|
|
<%= stylesheet_link_tag "/s5/themes/#{@s5_theme}/slides.css", :media => 'projection', :id => 'slideProj' %>
|
|
|
|
<!-- S5 JS -->
|
|
<%= javascript_include_tag 'prototype' %>
|
|
<%- if @web.markup == :markdownMML -%>
|
|
<script type="text/x-mathjax-config">
|
|
MathJax.Hub.Config({
|
|
MathML: { useMathMLspacing: true },
|
|
"HTML-CSS": { scale: 90 }
|
|
});
|
|
if (window._onload_fired_) MathJax.Hub.Startup.onload();
|
|
</script>
|
|
<script type="text/javascript">
|
|
if (!(Prototype.Browser.Gecko || navigator.userAgent.match(/MathPlayer/))) {
|
|
var s = document.createElement('script');
|
|
s.src = "<%= compute_public_path('MathJax.js', 'MathJax').split('?')[0] %>?config=MML_HTMLorMML";
|
|
document.querySelector('head').appendChild(s);
|
|
window.addEventListener("load", function(){window._onload_fired_ = true} , false);
|
|
};
|
|
</script>
|
|
<%- end -%>
|
|
<%= javascript_include_tag "/s5/ui/core/slides.js" %>
|
|
</head>
|
|
<body>
|
|
|
|
<%= @s5_content %>
|
|
|
|
</body>
|
|
</html>
|