diff options
author | John MacFarlane <jgm@berkeley.edu> | 2011-07-19 16:24:35 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2011-07-19 16:24:35 -0700 |
commit | b43873a9ea07afc698d15559717550f8b46e365c (patch) | |
tree | 50d25c6b1e729ab088b9ee01ac5a0cc5b919ccb6 /templates/context.template | |
parent | 1c28c5308f0991c09af8dcbf4e555ee77fe1dab1 (diff) | |
download | pandoc-b43873a9ea07afc698d15559717550f8b46e365c.tar.gz |
Added templates as a git submodule.
This should make it easier for people to track updates to their
custom templates.
Diffstat (limited to 'templates/context.template')
-rw-r--r-- | templates/context.template | 84 |
1 files changed, 0 insertions, 84 deletions
diff --git a/templates/context.template b/templates/context.template deleted file mode 100644 index 4269d06a1..000000000 --- a/templates/context.template +++ /dev/null @@ -1,84 +0,0 @@ -\enableregime[utf] % use UTF-8 - -\setupcolors[state=start] -\setupinteraction[state=start, color=middleblue] % needed for hyperlinks - -\setuppapersize[letter][letter] % use letter paper -\setuplayout[width=middle, backspace=1.5in, cutspace=1.5in, - height=middle, header=0.75in, footer=0.75in] % page layout -\setuppagenumbering[location={footer,center}] % number pages -\setupbodyfont[11pt] % 11pt font -\setupwhitespace[medium] % inter-paragraph spacing - -\setuphead[section][style=\tfc] -\setuphead[subsection][style=\tfb] -\setuphead[subsubsection][style=\bf] - -% define descr (for definition lists) -\definedescription[descr][ - headstyle=bold,style=normal,align=left,location=hanging, - width=broad,margin=1cm] - -% prevent orphaned list intros -\setupitemize[autointro] - -% define defaults for bulleted lists -\setupitemize[1][symbol=1][indentnext=no] -\setupitemize[2][symbol=2][indentnext=no] -\setupitemize[3][symbol=3][indentnext=no] -\setupitemize[4][symbol=4][indentnext=no] - -\setupthinrules[width=15em] % width of horizontal rules - -% for block quotations -\unprotect - -\startvariables all -blockquote: blockquote -\stopvariables - -\definedelimitedtext -[\v!blockquote][\v!quotation] - -\setupdelimitedtext -[\v!blockquote] -[\c!left=, -\c!right=, -before={\blank[medium]}, -after={\blank[medium]}, -] - -\protect -$for(header-includes)$ -$header-includes$ -$endfor$ - -\starttext -$if(title)$ -\startalignment[center] - \blank[2*big] - {\tfd $title$} -$if(author)$ - \blank[3*medium] - {\tfa $for(author)$$author$$sep$\crlf $endfor$} -$endif$ -$if(date)$ - \blank[2*medium] - {\tfa $date$} -$endif$ - \blank[3*medium] -\stopalignment -$endif$ -$for(include-before)$ -$include-before$ -$endfor$ -$if(toc)$ -\placecontent -$endif$ - -$body$ - -$for(include-after)$ -$include-after$ -$endfor$ -\stoptext |