diff options
author | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2009-12-31 01:13:08 +0000 |
---|---|---|
committer | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2009-12-31 01:13:08 +0000 |
commit | b7750b705a57720681a3308f2c887ec86f82bf85 (patch) | |
tree | ecef45bc5fd6cc413eec4754e6be500be479742e /templates/context.template | |
parent | 1f580fb70189f91894ec757dd00cd4286d0da8a6 (diff) | |
download | pandoc-b7750b705a57720681a3308f2c887ec86f82bf85.tar.gz |
Implemented templates for context writer.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1701 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'templates/context.template')
-rw-r--r-- | templates/context.template | 44 |
1 files changed, 15 insertions, 29 deletions
diff --git a/templates/context.template b/templates/context.template index a3ca8baf9..f1e15eb95 100644 --- a/templates/context.template +++ b/templates/context.template @@ -1,3 +1,6 @@ +$if(legacy-header)$ +$legacy-header$ +$else$ \enableregime[utf] % use UTF-8 \setupcolors[state=start] @@ -67,43 +70,26 @@ after={\blank[medium]}, ] \protect - +$endif$ $header-includes$ +$if(title)$ \doctitle{$title$} -\author{\$authors\$} -\date{\$date\$} +$endif$ +$if(authors)$ +\author{$authors$} +$endif$ +$if(date)$ +\date{$date$} +$endif$ \starttext \maketitle +$if(toc)$ \placecontent +$endif$ -\subject{section oen} - -\startitemize[n][stopper=.] -\item - one - \startitemize[a][stopper=.] - \item - two - \startitemize[r][start=3,stopper=.,width=2.5em] - \item - three - \stopitemize - \stopitemize -\stopitemize - -\starttyping -hi -\stoptyping - -footnote -\footnote{with code - -\starttyping -code -\stoptyping -} +$body$ \stoptext |