aboutsummaryrefslogtreecommitdiff
path: root/tests/writer.context
diff options
context:
space:
mode:
Diffstat (limited to 'tests/writer.context')
-rw-r--r--tests/writer.context31
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.