diff options
| author | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2010-03-07 19:35:47 +0000 |
|---|---|---|
| committer | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2010-03-07 19:35:47 +0000 |
| commit | 1bc5fc0117fab9119bcf115495c006e1eff63dae (patch) | |
| tree | 2999d9cc03f469306907b1f140667ce88ae2e572 /tests/writer.context | |
| parent | 53d897788663ab1bb333ac854967b70acf2b20a4 (diff) | |
| download | pandoc-1bc5fc0117fab9119bcf115495c006e1eff63dae.tar.gz | |
Updated context tests.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1869 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'tests/writer.context')
| -rw-r--r-- | tests/writer.context | 31 |
1 files changed, 9 insertions, 22 deletions
diff --git a/tests/writer.context b/tests/writer.context index 017b7ed25..50890730d 100644 --- a/tests/writer.context +++ b/tests/writer.context @@ -14,24 +14,6 @@ \setuphead[subsection][style=\tfb] \setuphead[subsubsection][style=\bf] -% define title block commands -\unprotect -\def\doctitle#1{\gdef\@title{#1}} -\def\author#1{\gdef\@author{#1}} -\def\date#1{\gdef\@date{#1}} -\date{\currentdate} % Default to today unless specified otherwise. -\def\maketitle{% - \startalignment[center] - \blank[2*big] - {\tfd \@title} - \blank[3*medium] - {\tfa \@author} - \blank[2*medium] - {\tfa \@date} - \blank[3*medium] - \stopalignment} -\protect - % define descr (for definition lists) \definedescription[descr][ headstyle=bold,style=normal,align=left,location=hanging, @@ -68,11 +50,16 @@ after={\blank[medium]}, \protect -\doctitle{Pandoc Test Suite} -\author{John MacFarlane\\Anonymous} -\date{July 17, 2006} \starttext -\maketitle +\startalignment[center] + \blank[2*big] + {\tfd Pandoc Test Suite} + \blank[3*medium] + {\tfa John MacFarlane\crlf Anonymous} + \blank[2*medium] + {\tfa July 17, 2006} + \blank[3*medium] +\stopalignment This is a set of tests for pandoc. Most of them are adapted from John Gruber's markdown test suite. |
