aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-11-20 14:44:03 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2015-11-20 14:44:03 -0800
commit2f9ba8e7663fd492b46ab219a55b98d720cc9aa8 (patch)
tree4f6d7e9d2bdf58a0ddc8e0df1706690e68f80d12
parentdb3aec1a82d1f4f73e24217db8995ce27c48f7d6 (diff)
parent959c20399bdf5f44e56497352a63917c4db2a5ce (diff)
downloadpandoc-2f9ba8e7663fd492b46ab219a55b98d720cc9aa8.tar.gz
Merge pull request #156 from adunning/patch-1
Revert use of \setuphead for ConTeXt title block.
-rw-r--r--default.context35
1 files changed, 16 insertions, 19 deletions
diff --git a/default.context b/default.context
index c5ad2113f..1feff01b0 100644
--- a/default.context
+++ b/default.context
@@ -93,31 +93,28 @@ $endif$
\setupthinrules[width=15em] % width of horizontal rules
-\setuphead[title][
- style={\tfd\raggedcenter},
- before={\startalignment[middle]},
- after={
-$if(subtitle)$
- \smallskip
- {\tfa $subtitle$}
-$endif$
-$if(author)$
- \smallskip
- {\tfa $for(author)$$author$$sep$\crlf $endfor$}
-$endif$
-$if(date)$
- \smallskip
- {\tfa $date$}
-$endif$
- \bigskip\stopalignment}]
-
$for(header-includes)$
$header-includes$
$endfor$
\starttext
$if(title)$
-\title{$title$}
+\startalignment[middle]
+ {\tfd $title$}
+$if(subtitle)$
+ \smallskip
+ {\tfa $subtitle$}
+$endif$
+$if(author)$
+ \smallskip
+ {\tfa $for(author)$$author$$sep$\crlf $endfor$}
+$endif$
+$if(date)$
+ \smallskip
+ {\tfa $date$}
+$endif$
+ \bigskip
+\stopalignment
$endif$
$if(abstract)$
\midaligned{\it Abstract}