diff options
author | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2009-12-31 01:14:57 +0000 |
---|---|---|
committer | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2009-12-31 01:14:57 +0000 |
commit | d35f34fb44c61b445316997e35c77d8650bf4423 (patch) | |
tree | c27dcc08d2050d6d8f2c222007642b3306c73b1c /templates/rst.template | |
parent | 89952782c354dd578a2428a58b8fff467cb1cb17 (diff) | |
download | pandoc-d35f34fb44c61b445316997e35c77d8650bf4423.tar.gz |
Fixed RST writer to use new templates.
Use stHasMath instead of stIncludes.
This gives the user more control over how the math
directive is defined.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1715 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'templates/rst.template')
-rw-r--r-- | templates/rst.template | 43 |
1 files changed, 9 insertions, 34 deletions
diff --git a/templates/rst.template b/templates/rst.template index a939719ea..38e9691d3 100644 --- a/templates/rst.template +++ b/templates/rst.template @@ -1,39 +1,14 @@ -=============== -:math:`$title$` -=============== - -:Author: $authors$ -:Date: $date$ - -.. contents:: - -$header-includes$ +$if(titleblock)$ +$titleblock$ +$endif$ +$if(math)$ .. role:: math(raw) :format: html latex -section oen -=========== - - -1. one - - a. two - - iii. three - - - -:: - - hi - -footnote [1]_ - -.. [1] - with code - - :: - - code +$endif$ +$if(header-includes)$ +$header-includes$ +$endif$ +$body$ |