Revert use of \setuphead for ConTeXt title block.

Thanks to Rik Kabel on pandoc-discuss.
This commit is contained in:
Andrew Dunning 2015-11-17 20:22:23 -05:00
parent ff9ebaa31a
commit 959c20399b

View file

@ -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}