diff --git a/templates/html/Default.html b/templates/html/Default.html new file mode 100644 index 0000000..40cc354 --- /dev/null +++ b/templates/html/Default.html @@ -0,0 +1,164 @@ + + + + + [% title %] + + + + + +[% options.empty_lines = "default" %] + + +
+[% IF navigation.prev %] + [ [% gettext("Prev") %] ] +[% ELSE %] + [ [% gettext("Prev") %] ] +[% END %] + +[% IF links.get("index") %] + [ [% gettext("Index") %] ] +[% ELSE %] + [ [% gettext("Index") %] ] +[% END %] + +[% IF navigation.next %] + [ [% gettext("Next") %] ] +[% ELSE %] + [ [% gettext("Next") %] ] +[% END %] +
+ +
+ + + +
+ +
+

[% page.title %]

+
+ +
+ [% page.body %] +
+ +
+ + + + [% IF not loop.last %]
[% END %] + + +
+ + + + diff --git a/templates/html/Default_with_index.html b/templates/html/Default_with_index.html new file mode 100644 index 0000000..beefc67 --- /dev/null +++ b/templates/html/Default_with_index.html @@ -0,0 +1,178 @@ + + + + + [% title %] + + + + + + +
+[% IF navigation.prev %] + [ [% gettext("Prev") %] ] +[% ELSE %] + [ [% gettext("Prev") %] ] +[% END %] + +[% IF links.get("index") %] + [ [% gettext("Index") %] ] +[% ELSE %] + [ [% gettext("Index") %] ] +[% END %] + +[% IF navigation.next %] + [ [% gettext("Next") %] ] +[% ELSE %] + [ [% gettext("Next") %] ] +[% END %] +
+ +
+ + + +[% options.empty_lines = "default" %] + + + +
+ +
+

[% page.title %]

+
+ +
+ [% page.body %] +
+ +
+ + + + [% IF not loop.last %]
[% END %] + + +
+ + + + diff --git a/templates/html/Presentation.html b/templates/html/Presentation.html new file mode 100644 index 0000000..001ab68 --- /dev/null +++ b/templates/html/Presentation.html @@ -0,0 +1,138 @@ + + + + [% title %] + + + + + +[% options.empty_lines = "default" %] + + + + + + + + + + + + + + + +
+

[% title %]

+
  + +
+ + +[% FOR page IN pages %] +[% page.body %] +[% END %] + + + +
+ +
 
+ [% IF navigation.prev -%] + < + [%- ELSE -%] + < + [%- END %] + + + + + [% IF navigation.next -%] + > + [%- ELSE -%] + > + [%- END %] +
+ + + + diff --git a/templates/html/Print.html b/templates/html/Print.html new file mode 100644 index 0000000..186036c --- /dev/null +++ b/templates/html/Print.html @@ -0,0 +1,107 @@ + + + + + [% title %] + + + + + + +[% options.empty_lines = "default" %] + + + +[% FOR page IN pages %] + [% page.content %] +[% END %] + + + + + + diff --git a/templates/plugins/equationeditor.tex b/templates/plugins/equationeditor.tex new file mode 100644 index 0000000..9767791 --- /dev/null +++ b/templates/plugins/equationeditor.tex @@ -0,0 +1,16 @@ +\documentclass[12pt]{article} +\pagestyle{empty} + +\usepackage{amssymb} +\usepackage{amsmath} +\usepackage[usenames]{color} + +\begin{document} + +% No empty lines allowed in math block ! +\begin{align*} +[% equation -%] +\end{align*} + +\end{document} + diff --git a/templates/wiki/Default.txt b/templates/wiki/Default.txt new file mode 100644 index 0000000..8f47885 --- /dev/null +++ b/templates/wiki/Default.txt @@ -0,0 +1,3 @@ +======= [% page.basename %] ======= +[% gettext("Created") %] [% strftime("%A %d %B %Y") %] + diff --git a/templates/wiki/Journal.txt b/templates/wiki/Journal.txt new file mode 100644 index 0000000..16e44e4 --- /dev/null +++ b/templates/wiki/Journal.txt @@ -0,0 +1,24 @@ +[% IF calendar_plugin.page_type == 'day' -%] +======= [% strftime("%A %d %b %Y", calendar_plugin.date) %] ======= + +[%- ELSIF calendar_plugin.page_type == 'week' -%] +======= [% strfcal("Week %W %Y", calendar_plugin.date) %] ======= +[% strftime("%d %B", calendar_plugin.date) %] to [% strftime("%d %B", calendar_plugin.end_date) %] + +[% FOREACH day IN calendar_plugin.days() %] +=== [% strftime("%A %d %B", day) %] === + +[% END %] + + +[%- ELSIF calendar_plugin.page_type == 'month' -%] +======= [% strftime("%B %Y", calendar_plugin.date) %] ======= + +[%- ELSIF calendar_plugin.page_type == 'year' -%] +======= Year [% strftime("%Y", calendar_plugin.date) %] ======= + +[%- ELSE -%] +======= [% page.basename %] ======= +[% gettext("Created") %] [% strftime("%A %d %B %Y") %] + +[%- END %]