summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2009-12-31 01:12:59 +0000
committerfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2009-12-31 01:12:59 +0000
commit1f580fb70189f91894ec757dd00cd4286d0da8a6 (patch)
tree04f6a64233bca673b1e749599e14ad4ab9a60acf /templates
parent3ec8772daff7d76097d7435c4e8da1df5ee4cc6a (diff)
Restored writerIncludeBefore, writerIncludeAfter.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1700 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'templates')
-rw-r--r--templates/context.template3
-rw-r--r--templates/docbook.template4
-rw-r--r--templates/html.template4
-rw-r--r--templates/latex.template10
-rw-r--r--templates/man.template4
-rw-r--r--templates/markdown.template8
-rw-r--r--templates/mediawiki.template4
-rw-r--r--templates/opendocument.template4
-rw-r--r--templates/rst.template5
-rw-r--r--templates/rtf.template2
-rw-r--r--templates/s5.template4
-rw-r--r--templates/texinfo.template2
12 files changed, 12 insertions, 42 deletions
diff --git a/templates/context.template b/templates/context.template
index abd56a0c7..a3ca8baf9 100644
--- a/templates/context.template
+++ b/templates/context.template
@@ -78,8 +78,6 @@ $header-includes$
\placecontent
-$before$
-
\subject{section oen}
\startitemize[n][stopper=.]
@@ -106,7 +104,6 @@ footnote
code
\stoptyping
}
-$after$
\stoptext
diff --git a/templates/docbook.template b/templates/docbook.template
index 4e5f464f3..993115ab9 100644
--- a/templates/docbook.template
+++ b/templates/docbook.template
@@ -10,7 +10,7 @@
/>$header-includes$
</head
><body
- >$before$
+ >
<h1 class="title"
><span class="math"
><em
@@ -68,7 +68,7 @@
> <a href="#fnref1" class="footnoteBackLink" title="Jump back to footnote 1">&#8617;</a></li
></ol
></div
- >$after$
+ >
</body
></html
>
diff --git a/templates/html.template b/templates/html.template
index 4e5f464f3..993115ab9 100644
--- a/templates/html.template
+++ b/templates/html.template
@@ -10,7 +10,7 @@
/>$header-includes$
</head
><body
- >$before$
+ >
<h1 class="title"
><span class="math"
><em
@@ -68,7 +68,7 @@
> <a href="#fnref1" class="footnoteBackLink" title="Jump back to footnote 1">&#8617;</a></li
></ol
></div
- >$after$
+ >
</body
></html
>
diff --git a/templates/latex.template b/templates/latex.template
index 6af0a59cc..d9dc8e5ff 100644
--- a/templates/latex.template
+++ b/templates/latex.template
@@ -1,4 +1,3 @@
-$if(standalone)$
$if(legacy-header)$
$legacy-header$
$else$
@@ -49,17 +48,8 @@ $endif$
\begin{document}
\maketitle
-$endif$
$if(toc)$
\tableofcontents
$endif$
-$if(before)$
-$before$
-$endif$
$body$
-$if(after)$
-$after$
-$endif$
-$if(standalone)$
\end{document}
-$endif$
diff --git a/templates/man.template b/templates/man.template
index 4e5f464f3..993115ab9 100644
--- a/templates/man.template
+++ b/templates/man.template
@@ -10,7 +10,7 @@
/>$header-includes$
</head
><body
- >$before$
+ >
<h1 class="title"
><span class="math"
><em
@@ -68,7 +68,7 @@
> <a href="#fnref1" class="footnoteBackLink" title="Jump back to footnote 1">&#8617;</a></li
></ol
></div
- >$after$
+ >
</body
></html
>
diff --git a/templates/markdown.template b/templates/markdown.template
index 5c8a27674..bd373d95f 100644
--- a/templates/markdown.template
+++ b/templates/markdown.template
@@ -1,18 +1,10 @@
-$if(standalone)$
$if(titleblock)$
$titleblock$
$endif$
$if(header-includes)$
$header-includes$
$endif$
-$endif$
-$if(before)$
-$before$
-$endif$
$if(toc)$
$toc$
$endif$
$body$
-$if(after)$
-$after$
-$endif$
diff --git a/templates/mediawiki.template b/templates/mediawiki.template
index 4e5f464f3..993115ab9 100644
--- a/templates/mediawiki.template
+++ b/templates/mediawiki.template
@@ -10,7 +10,7 @@
/>$header-includes$
</head
><body
- >$before$
+ >
<h1 class="title"
><span class="math"
><em
@@ -68,7 +68,7 @@
> <a href="#fnref1" class="footnoteBackLink" title="Jump back to footnote 1">&#8617;</a></li
></ol
></div
- >$after$
+ >
</body
></html
>
diff --git a/templates/opendocument.template b/templates/opendocument.template
index 4e5f464f3..993115ab9 100644
--- a/templates/opendocument.template
+++ b/templates/opendocument.template
@@ -10,7 +10,7 @@
/>$header-includes$
</head
><body
- >$before$
+ >
<h1 class="title"
><span class="math"
><em
@@ -68,7 +68,7 @@
> <a href="#fnref1" class="footnoteBackLink" title="Jump back to footnote 1">&#8617;</a></li
></ol
></div
- >$after$
+ >
</body
></html
>
diff --git a/templates/rst.template b/templates/rst.template
index 6c4bfd0d4..a939719ea 100644
--- a/templates/rst.template
+++ b/templates/rst.template
@@ -9,8 +9,6 @@
$header-includes$
-$before$
-
.. role:: math(raw)
:format: html latex
@@ -39,6 +37,3 @@ footnote [1]_
code
-
-$after$
-
diff --git a/templates/rtf.template b/templates/rtf.template
index 8f4322783..b0d7cb1a6 100644
--- a/templates/rtf.template
+++ b/templates/rtf.template
@@ -9,7 +9,6 @@ $header-includes$
{\pard \ql \f0 \sa180 \li0 \fi0 \par}
{\pard \ql \f0 \sa180 \li0 \fi0 \b \fs36 Contents\par}
{\pard \ql \f0 \sa0 \li360 \fi-360 \bullet \tx360\tab section oen\sa180\par}
-$before$
{\pard \ql \f0 \sa180 \li0 \fi0 \b \fs36 section oen\par}
{\pard \ql \f0 \sa0 \li360 \fi-360 1.\tx360\tab one\par}
{\pard \ql \f0 \sa0 \li720 \fi-360 a.\tx360\tab two\par}
@@ -18,7 +17,6 @@ $before$
{\pard \ql \f0 \sa180 \li0 \fi0 footnote{\super\chftn}{\*\footnote\chftn\~\plain\pard {\pard \ql \f0 \sa180 \li0 \fi0 with code\par}
{\pard \ql \f0 \sa180 \li0 \fi0 \f1 code\par}
}\par}
-$after$
}
diff --git a/templates/s5.template b/templates/s5.template
index e33cf912b..19aaa2be9 100644
--- a/templates/s5.template
+++ b/templates/s5.template
@@ -271,7 +271,7 @@ window.onload=startup;window.onresize=function(){setTimeout('fontScale()',50);}
$header-includes$
</head
><body
- >$before$
+ >
<div class="layout">
<div id="controls"></div>
<div id="currentSlide"></div>
@@ -343,7 +343,7 @@ $header-includes$
> <a href="#fnref1" class="footnoteBackLink" title="Jump back to footnote 1">&#8617;</a></li
></ol
></div
- >$after$
+ >
</body
></html
>
diff --git a/templates/texinfo.template b/templates/texinfo.template
index 968b43340..553395a3b 100644
--- a/templates/texinfo.template
+++ b/templates/texinfo.template
@@ -12,7 +12,6 @@ $header-includes$
$date$
@end titlepage
@contents
-$before$
@node Top
@top @math{title}
@@ -48,6 +47,5 @@ code
@end verbatim
}
-$after$
@bye