aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/docbook.template1
-rw-r--r--templates/html.template29
-rw-r--r--templates/latex.template4
-rw-r--r--templates/s5.template69
-rw-r--r--templates/slidy.template66
5 files changed, 144 insertions, 25 deletions
diff --git a/templates/docbook.template b/templates/docbook.template
index 374a8fbf2..cd9ec59ca 100644
--- a/templates/docbook.template
+++ b/templates/docbook.template
@@ -25,4 +25,3 @@ $for(include-after)$
$include-after$
$endfor$
</article>
-
diff --git a/templates/html.template b/templates/html.template
index 820279939..bd1864ff0 100644
--- a/templates/html.template
+++ b/templates/html.template
@@ -7,27 +7,12 @@
$for(author)$
<meta name="author" content="$author$" />
$endfor$
+$if(date)$
<meta name="date" content="$date$" />
-$if(highlighting)$
+$endif$
+$if(highlighting-css)$
<style type="text/css">
- table.sourceCode, tr.sourceCode, td.lineNumbers, td.sourceCode, table.sourceCode pre { margin: 0; padding: 0; border: 0; vertical-align: baseline; border: none; }
- td.lineNumbers { border-right: 1px solid #AAAAAA; text-align: right; color: #AAAAAA; padding-right: 5px; padding-left: 5px; }
- td.sourceCode { padding-left: 5px; }
- pre.sourceCode { }
- pre.sourceCode span.Normal { }
- pre.sourceCode span.Keyword { color: #007020; font-weight: bold; }
- pre.sourceCode span.DataType { color: #902000; }
- pre.sourceCode span.DecVal { color: #40a070; }
- pre.sourceCode span.BaseN { color: #40a070; }
- pre.sourceCode span.Float { color: #40a070; }
- pre.sourceCode span.Char { color: #4070a0; }
- pre.sourceCode span.String { color: #4070a0; }
- pre.sourceCode span.Comment { color: #60a0b0; font-style: italic; }
- pre.sourceCode span.Others { color: #007020; }
- pre.sourceCode span.Alert { color: red; font-weight: bold; }
- pre.sourceCode span.Function { color: #06287e; }
- pre.sourceCode span.RegionMarker { }
- pre.sourceCode span.Error { color: red; font-weight: bold; }
+$highlighting-css$
</style>
$endif$
$for(css)$
@@ -41,12 +26,12 @@ $for(header-includes)$
$endfor$
</head>
<body>
-$if(title)$
-<h1 class="title">$title$</h1>
-$endif$
$for(include-before)$
$include-before$
$endfor$
+$if(title)$
+<h1 class="title">$title$</h1>
+$endif$
$if(toc)$
$toc$
$endif$
diff --git a/templates/latex.template b/templates/latex.template
index 67ac2dbf5..d44248ffc 100644
--- a/templates/latex.template
+++ b/templates/latex.template
@@ -1,8 +1,8 @@
$if(legacy-header)$
$legacy-header$
$else$
-\documentclass{article}
-\usepackage{amsmath}
+\documentclass$if(fontsize)$[$fontsize$]$endif${article}
+\usepackage{amssymb,amsmath}
$if(xetex)$
\usepackage{ifxetex}
\ifxetex
diff --git a/templates/s5.template b/templates/s5.template
new file mode 100644
index 000000000..480c1e435
--- /dev/null
+++ b/templates/s5.template
@@ -0,0 +1,69 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <title>$if(title-prefix)$$title-prefix$ - $endif$$if(pagetitle)$$pagetitle$$endif$</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+ <meta name="generator" content="pandoc" />
+$for(author)$
+ <meta name="author" content="$author$" />
+$endfor$
+$if(date)$
+ <meta name="date" content="$date$" />
+$endif$
+ <!-- configuration parameters -->
+ <meta name="defaultView" content="slideshow" />
+ <meta name="controlVis" content="hidden" />
+$if(highlighting-css)$
+ <style type="text/css">
+$highlighting-css$
+ </style>
+$endif$
+$for(css)$
+ <link rel="stylesheet" href="$css$" type="text/css" />
+$endfor$
+$if(s5includes)$
+$s5includes$
+$else$
+ <!-- style sheet links -->
+ <link rel="stylesheet" href="ui/default/slides.css" type="text/css" media="projection" id="slideProj" />
+ <link rel="stylesheet" href="ui/default/outline.css" type="text/css" media="screen" id="outlineStyle" />
+ <link rel="stylesheet" href="ui/default/print.css" type="text/css" media="print" id="slidePrint" />
+ <link rel="stylesheet" href="ui/default/opera.css" type="text/css" media="projection" id="operaFix" />
+ <!-- S5 JS -->
+ <script src="ui/default/slides.js" type="text/javascript"></script>
+$endif$
+$if(math)$
+ $math$
+$endif$
+$for(header-includes)$
+ $header-includes$
+$endfor$
+</head>
+<body>
+$for(include-before)$
+$include-before$
+$endfor$
+<div class="layout">
+<div id="controls"></div>
+<div id="currentSlide"></div>
+<div id="header"></div>
+<div id="footer">
+ <h1>$date$</h1>
+ <h2>$title$</h2>
+</div>
+</div>
+<div class="presentation">
+$if(title)$
+<div class="slide">
+ <h1>$title$</h1>
+ <h3>$for(author)$$author$$sep$<br/>$endfor$</h3>
+ <h4>$date$</h4>
+</div>
+$endif$
+$body$
+$for(include-after)$
+$include-after$
+$endfor$
+</div>
+</body>
+</html>
diff --git a/templates/slidy.template b/templates/slidy.template
new file mode 100644
index 000000000..f625c36e2
--- /dev/null
+++ b/templates/slidy.template
@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
+<head>
+ <title>$if(title-prefix)$$title-prefix$ - $endif$$if(pagetitle)$$pagetitle$$endif$</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+ <meta name="generator" content="pandoc" />
+$for(author)$
+ <meta name="author" content="$author$" />
+$endfor$
+$if(date)$
+ <meta name="date" content="$date$" />
+$endif$
+$if(highlighting-css)$
+ <style type="text/css">
+$highlighting-css$
+ </style>
+$endif$
+$for(css)$
+ <link rel="stylesheet" href="$css$" type="text/css" />
+$endfor$
+$if(slidy-css)$
+ <style type="text/css">
+$slidy-css$
+ </style>
+$else$
+ <link rel="stylesheet" type="text/css" media="screen, projection, print"
+ href="http://www.w3.org/Talks/Tools/Slidy/slidy.css" />
+$endif$
+$if(math)$
+ $math$
+$endif$
+$for(header-includes)$
+ $header-includes$
+$endfor$
+$if(slidy-js)$
+ <script type="text/javascript" charset="utf-8">
+$slidy-js$
+ </script>
+$else$
+ <script src="http://www.w3.org/Talks/Tools/Slidy/slidy.js.gz"
+ charset="utf-8" type="text/javascript"></script>
+$endif$
+</head>
+<body>
+$for(include-before)$
+$include-before$
+$endfor$
+$if(title)$
+<div class="slide cover title">
+ <h1 class="title">$title$</h1>
+ <p class="author">
+$for(author)$$author$$sep$<br/>$endfor$
+ </p>
+$if(date)$
+ <p class="date">$date$</p>
+$endif$
+</div>
+$endif$
+$body$
+$for(include-after)$
+$include-after$
+$endfor$
+</body>
+</html>