From 1bc5fc0117fab9119bcf115495c006e1eff63dae Mon Sep 17 00:00:00 2001 From: fiddlosopher Date: Sun, 7 Mar 2010 19:35:47 +0000 Subject: Updated context tests. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1869 788f1e2b-df1e-0410-8736-df70ead52e1b --- tests/writer.context | 31 +++++++++---------------------- 1 file changed, 9 insertions(+), 22 deletions(-) (limited to 'tests/writer.context') 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. -- cgit v1.2.3